Skip to main content
Glama

reference_language

Read-only

Language facts and codes — Facts about a human language by code= (ISO 639-1 like fr, ISO 639-3 like fra, or an IETF tag) or name= (e.g. Swahili): English and native names, ISO 639-1/2/3, IETF and Wikimedia codes, language family, writing systems, native speakers with year, regulating body, countries where it is official (count and list), and where it is indigenous. Source Wikidata (CC0). For localization, i18n routing, translation pipelines and content targeting. Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "reference_language"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesfr

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare read-only, non-destructive, open-world lookup. The description goes beyond them with two traits an agent actually needs: the data provenance/license (Wikidata, CC0) and, critically, that calls are paid at $0.002 USDC on Base via x402 — a cost/payment constraint not visible in any structured field. It omits failure behavior for an unresolvable code, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the opening clause, then identifiers, then returned fields, then audience, then source and price — a sensible ordering. The field enumeration is long but justified because there is no output schema. A slightly tighter list would read better, but nothing is clearly disposable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly compensates by enumerating the returned facts, and it adds source, license, and pricing so an agent can judge trustworthiness and cost. The main gap is the mismatch between the documented name= input and the one-parameter schema, plus no note on what happens for an unknown code.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

It adds real meaning beyond the schema's uninformative '"description": "fr"' example by specifying accepted identifier forms: ISO 639-1 (fr), ISO 639-3 (fra), or an IETF tag. However, it also advertises a name= argument (e.g. Swahili) that does not exist in the input schema, which only defines a required 'code'. That phantom parameter can lead an agent into an invalid call, offsetting the value added.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (facts and codes about a human language) and enumerates exactly what is retrievable: English/native names, ISO 639-1/2/3, IETF and Wikimedia codes, family, scripts, speaker counts, regulator, official countries. That is far more concrete than a restated title. It does not explicitly distinguish itself from adjacent tools such as reference_dictionary or ai_detect_language, so it stops short of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It supplies concrete use contexts: localization, i18n routing, translation pipelines, content targeting. This tells an agent the right situations to reach for it. There are no exclusions or named alternatives (e.g. when to prefer ai_detect_language for identifying a language from text), so it is context-clear but not routing-complete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources