Skip to main content
Glama

Agent Data Hub

Country reference data

ref_country
Read-onlyIdempotent

Look up a country by ISO 3166 alpha-2, alpha-3, numeric code or name. Returns ISO codes, official name, capital, region and sub-region, continent, currency (ISO 4217), international calling code, internet TLD, languages and flag emoji. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.

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": {
      "country": "<country>"
    },
    "name": "ref_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesISO code (AE, ARE, 784) or country name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so safety is covered; the description adds genuinely new operational context by disclosing the $0.001 per-call price, the x402/USDC-on-Base payment channel, and the 10 free calls per day. It does not describe behavior for invalid or unmatched country inputs, which keeps it short of 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.

Conciseness5/5

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

Two sentences: the first front-loads capability and output shape, the second front-loads the cost constraint. Every clause carries information an agent needs, with no filler.

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

Completeness5/5

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

For a one-parameter lookup with no output schema, the description compensates by enumerating the returned fields (codes, capital, region, currency, calling code, TLD, languages, flag) and disclosing the payment model. Nothing needed to call it correctly is missing.

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?

Schema description coverage is 100% and the schema text ('ISO code (AE, ARE, 784) or country name') already conveys the accepted forms, so the description largely restates it. The baseline of 3 applies since the schema does the parameter work.

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

Purpose5/5

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

The description opens with a specific verb and resource ('Look up a country') and then enumerates the accepted key formats (ISO 3166 alpha-2, alpha-3, numeric, name) and the returned fields, so an agent knows precisely what it gets. It is clearly distinct from unrelated siblings like chain_* or company_* without needing to name them.

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

Usage Guidelines3/5

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

Usage is only implied: the accepted identifier formats tell an agent when it can call, but there is no explicit when-to-use/when-not guidance or steering to an alternative. For a single-purpose reference lookup that is a minor gap, but nothing is stated about handling ambiguous or unknown inputs.

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