REFERENCE DATA FOR AGENTS
Normalize language labels
A content agent labels a language code clearly when preparing multilingual content for review.
When this fits
English display labels; no translation or language detection. A language label does not identify or translate the language of a document.
Check the current release
Read the live schema, readiness, and MCP tools/list before using cldr-languages-en. These instructions describe approved scope, not a promise that a particular deployment is available. Check pricing and attribution. A promotional window may permit a free request; do not infer permission from payments_enabled: false alone.
Make one bounded request
These commands send no wallet signature or payment proof and do not retry. A 402 response means stop and inspect the quote; it does not authorize spending. Check availability and terms first.
curl --fail-with-body --get 'https://api.agentmasterdata.com/v1/reference-data/cldr-languages-en' \
--data-urlencode 'codes=en' \
--data-urlencode 'include_inactive=true' \
--data-urlencode 'limit=1'The equivalent MCP call uses the same arguments:
curl --fail-with-body 'https://api.agentmasterdata.com/mcp' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2026-07-28' \
-H 'Mcp-Method: tools/call' \
-H 'Mcp-Name: get_reference_data' \
--data '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_reference_data","arguments":{"domain":"cldr-languages-en","codes":["en"],"include_inactive":true,"limit":1}}}'Accept only supported results
Check ok, the returned domain and exact requested code. Keep the result envelope’s meta.data_version, source identifiers, licences, public-use terms and warnings. For MCP, inspect structuredContent and isError. Do not substitute a different domain or treat an empty result as a match.
include_inactive: true permits unknown-validity values. Preserve active: null and reference_value_validity_unknown; they do not establish that the value is currently active. Use include_inactive: false when the task requires known-active values.
Handle an unavailable service
Stop on a challenge page, unavailable domain, unresolved terms, or payment refusal. For 429, respect Retry-After within a bounded caller policy. The website records no execution or paid-service proof. Read the complete connection guide.