Skip to main content
Glama

econ_worldbank_batch

Read-only

World Bank indicator across countries — One World Bank indicator for up to 30 countries in one call, ranked: each country's latest value and year, 5-year and 10-year change, 10-year compound growth and the last 11 years of data, plus max, min and median. indicator= a World Bank code (e.g. NY.GDP.PCAP.CD) or a short name: gdp, gdp_per_capita, gdp_growth, population, inflation, unemployment, life_expectancy, exports, imports, debt, fdi, internet, urban, co2_per_capita, gini, poverty, fertility, electricity_access, military, rnd. countries= ISO codes separated by commas. Source: World Bank Open Data (CC BY 4.0). Price: $0.006 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": {
      "indicator": "<indicator>",
      "countries": "<countries>"
    },
    "name": "econ_worldbank_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
countriesYese.g. US,CN,JP,DE,IN
indicatorYese.g. NY.GDP.PCAP.CD

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 cover the safety profile (readOnly, non-destructive, open-world), and the description adds real context beyond them: the exact return payload (latest value and year, 5y/10y change, 10y CAGR, 11 years of series, max/min/median), the upstream source and licence, and the $0.006 USDC x402 price. It stops short of describing failure behavior when an indicator code or country is invalid, which keeps it at 4 rather than 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 the core action and scope, then the return contents, then parameter rules, then provenance and price. The statistics enumeration is long but each item is a distinct output field, so it earns its space; only minor tightening is possible.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does so field by field. Combined with the parameter rules, data source, cost, and the 30-country cap, an agent has everything needed to call this correctly without opening other tools.

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

Parameters5/5

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

Schema coverage is already 100%, so baseline is 3, but the description materially enriches both parameters: it lists 20 accepted short-name aliases for indicator (gdp, inflation, co2_per_capita, gini, etc.) beyond the schema's single code example, and clarifies that countries is comma-separated ISO codes capped at 30. That alias list is information an agent could not obtain from the schema and directly prevents wrong calls.

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?

The description states a specific verb and resource: fetch one World Bank indicator across up to 30 countries in a single call, returning ranked per-country values plus derived statistics. It clearly conveys the batch/ranking nature, which partly distinguishes it from siblings like econ_worldbank or econ_country_rank, but it never names an alternative so an agent must infer the split from sibling names alone.

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 rather than stated: 'up to 30 countries in one call' signals this is the multi-country batch path, and the enumeration of short names implies the single-indicator scope. There is no explicit when-to-use / when-not-to-use guidance and no pointer to econ_worldbank for a single country or econ_indicator_history for deeper time series.

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