Skip to main content
Glama

Lookup Kit

country_info

Read-only

Country information API: capital, currency, languages, calling code, flag. Facts about a country from its name or ISO code (2 or 3 letters): official name, capital, region, area, languages, currencies, calling code, internet domain, neighbouring countries, flag emoji, coordinates, landlocked and UN membership. Data: mledoze/countries (ODbL). Price: $0.002 per call (x402, USDC on Base).

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": "country_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYes

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 cover the read-only, closed-world profile, and the description adds genuinely new behavioral context: a per-call price ($0.002 via x402, USDC on Base) and the upstream data source/license (mledoze/countries, ODbL). It does not state what happens on an unrecognized country name or whether partial matches are resolved, which is the main remaining gap.

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?

Front-loaded with the value proposition and input format, with zero filler. The field list is partially duplicated across the first and second sentences (capital, currency, languages, calling code, flag appear twice), which is the only waste, but the pricing/source trailer earns its place.

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 compensates by enumerating return fields, and it covers input format, data provenance, and cost. For a single-parameter read-only lookup this is close to complete; only error/fallback behavior for invalid country input is unaddressed.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the burden and does so well: it specifies that the single `country` parameter accepts either a country name or an ISO code of 2 or 3 letters. It stops short of naming precedence or example values, but the format guidance is the key missing piece the schema lacks.

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?

States a specific verb+resource (country facts lookup) and enumerates the exact fields returned: capital, region, area, languages, currencies, calling code, domain, neighbours, flag emoji, coordinates, landlocked, UN membership. It also distinguishes the input forms (name or ISO 2/3-letter code), so an agent can identify this apart from siblings like currency_convert or ip_location.

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 implied by the nature of the tool (call it when you need facts about a country), but there is no explicit when-to-use/when-not guidance or reference to alternatives such as currency_convert for exchange rates or ip_location for geolocation. Nothing is misleading, but the agent must infer scope boundaries.

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