Skip to main content
Glama

geo_country

Read-only

Country facts — Country facts by name or ISO code: ISO codes, capital, region, income level, coordinates, latest population, GDP and GDP per capita (World Bank). Pass ?q=. Price: $0.003 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": {
      "q": "<q>"
    },
    "name": "geo_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYescountry name or ISO 2/3-letter code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful facts beyond that: the upstream data source (World Bank) and the per-call price ($0.003 USDC on Base via x402), which affect whether an agent should call it freely. It stops short of explaining failure modes such as unrecognized names or multi-match resolutions.

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

Conciseness3/5

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

The definition is short and front-loads the returned fields, which is the right ordering. However, 'Country facts — Country facts by name or ISO code' repeats itself verbatim, and the '?q=' query-string notation is out of place for a JSON-schema tool whose parameter is already named q; both are wasted tokens that could mislead an agent about the calling convention.

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 one-parameter read-only lookup with no output schema, the description does the necessary work: it enumerates what comes back, names the data provider, and discloses the cost per call. What remains missing is only the edge-case behavior for ambiguous or unmatched country inputs, which is a modest gap given the tool's simplicity.

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 coverage is 100% and the single parameter 'q' is already documented as accepting a country name or ISO 2/3-letter code. The description's 'by name or ISO code' and 'Pass ?q=' merely restate the schema. With one fully documented parameter and no output schema, baseline 3 is appropriate.

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?

States a specific resource (country) and a broad, enumerated verb-less function: returns ISO codes, capital, region, income level, coordinates, population, GDP and GDP per capita. The enumerated field list makes the tool's scope unmistakable. It does not, however, differentiate itself from the overlapping sibling econ_country_snapshot, so an agent must guess which to call for GDP/population data.

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

Usage Guidelines2/5

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

The only guidance is 'Pass ?q=', which is call syntax rather than when-to-use guidance. Nothing says when this should be preferred over econ_country_snapshot, or what happens with ambiguous or unknown country names. The agent is left to infer selection criteria from the field list alone.

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