Skip to main content
Glama

Crypto & Web Data API for Agents

Country details by ISO code via the World Bank

world_country
Read-only

Country details by ISO code via the World Bank. Returns name, ISO codes, capital, region, income and lending level, and coordinates for a country. Use for country reference data. Price $0.005 per call (x402: USDC on Base or Solana).

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

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
codeYesISO 3166-1 alpha-2 or alpha-3 country code

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 readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuinely new behavioral context by disclosing the cost model ($0.005 per call, payable via x402 in USDC on Base or Solana), which an agent needs before calling. It still omits error behavior for invalid codes and any rate limits, keeping 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.

Conciseness4/5

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

Front-loaded with purpose, then outputs, then cost — a sensible order with no wasted sentences. The opening clause largely restates the title, which is a minor redundancy.

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?

For a read-only two-parameter lookup with no output schema, the description covers purpose, returned fields, and payment requirements well. Only the absence of failure-mode guidance (invalid or unknown country code) leaves a small gap.

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%, with the code parameter already documented as ISO 3166-1 alpha-2 or alpha-3 and the tx parameter described as an alternative to the X-Payment-Tx header. The description adds nothing beyond that (e.g., no note on alpha-2 vs alpha-3 preference or casing), so it sits at the baseline.

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-plus-resource ('Country details by ISO code'), names the upstream source (World Bank), and enumerates the returned fields (name, ISO codes, capital, region, income/lending level, coordinates). An agent can distinguish this reference-lookup from siblings like world_entity or world_indicator without opening the schema.

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?

Provides an implied usage cue ('Use for country reference data') but no when-not conditions, no prerequisites, and no named alternatives among the many world_* siblings. The agent must infer that this is the right tool for country lookups rather than being told.

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