Skip to main content
Glama

geo_country_batch

Read-only

Country facts (batch) — Facts for up to 15 countries in one call (World Bank): ISO codes, capital, region, income level, latest population, GDP and GDP per capita per country, plus rankings by population, GDP and GDP per capita, combined totals and region/income-level rollups. countries = comma-separated names or ISO 2/3-letter codes. Price: $0.015 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": {
      "countries": "<countries>"
    },
    "name": "geo_country_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
countriesYese.g. JP,DE,BR,Nigeria

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior: a hard batch cap of 15 and a paid invocation ($0.015 USDC on Base via x402), which the agent must know before calling. It omits failure behavior for invalid or unknown country names.

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 purpose and batch scope, and every clause carries useful selection or invocation information. The long field enumeration and the parameter-format note are packed into one dense block rather than separated, which slightly hurts scanability.

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 carries the return-value burden and does so thoroughly by listing every returned metric, including derived rankings and rollups. The paid-invocation requirement is disclosed, though currency/units and the reference year for 'latest population' and GDP are unspecified.

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 schema example 'JP,DE,BR,Nigeria' already conveys both accepted formats, so baseline is 3. The description restates the format as 'comma-separated names or ISO 2/3-letter codes', adding only mild disambiguation; it does not say what happens with unmatched entries.

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 resource ('Country facts') and enumerates the returned fields: ISO codes, capital, region, income level, latest population, GDP, GDP per capita, plus rankings, totals and rollups. The '(batch)' qualifier and 'up to 15 countries in one call' clearly separate it from the singular geo_country sibling.

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?

Gives clear context for when this tool is appropriate: multiple countries (up to 15) in a single call, with a stated data source (World Bank) and a stated price. It does not explicitly route the agent away from geo_country for a single-country lookup, so no exclusions are stated.

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