Skip to main content
Glama

Country economic indicators

economic_data
Read-only

Fetch official World Bank indicators for any country, such as GDP, inflation, or population, for up to 60 recent years to support economic analysis and comparisons.

Instructions

Official World Bank figures for any country, the latest N years (up to 60): GDP, growth, GDP per capita, population, inflation, unemployment, life expectancy, government debt, exports, internet use and CO2, or any World Bank indicator code. Costs $0.001 per call.

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>",
      "indicator": "<indicator>"
    },
    "name": "economic_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoMost recent N years with data. Default 10.
countryYesISO country code, e.g. "US", "DE", "BRA", or "WLD" for the world.
indicatorYesOne of: gdp, gdp_growth, gdp_per_capita, population, inflation, unemployment, life_expectancy, debt_to_gdp, exports, internet_users, co2_per_capita; or a World Bank code like "NY.GDP.MKTP.CD".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest and does add real context: data provenance (official World Bank), the 60-year cap, the 'most recent N with data' semantics, and a per-call price of $0.001, which matters for cost-aware agents. It omits what happens when an indicator has no data for a country and says nothing about units (percent vs USD), which are the remaining behavioral gaps.

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?

One front-loaded sentence leads with source and resource, then the years window, then the payload. The long indicator enumeration is dense but functional; only the '$0.001 per call' tail could be trimmed or moved, and it earns its place as cost information.

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 a fully documented three-parameter schema and no output schema, the description supplies what an agent needs to invoke it: source, scope, indicator vocabulary, and cost. Missing return-value shape and measurement units are acceptable gaps given there is no output schema to build on, though units would help interpretation.

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%, so country, indicator, and years are already fully documented in structured fields with enums and bounds. The description restates the indicator list and the 60-year maximum without adding format or unit details, so the baseline 3 applies.

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?

Names the source (World Bank), the resource (economic indicators per country), and enumerates the concrete indicators returned, so an agent knows exactly what data comes back. It stops short of naming its sibling country_info, which is the one tool a caller might confuse it with, so differentiation is implied by the World Bank framing rather than stated.

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?

The description implies usage through 'for any country, the latest N years' and the escape hatch 'or any World Bank indicator code', which tells an agent it can pass raw codes beyond the friendly list. It gives no explicit when-to-use vs country_info guidance and no prerequisites or failure conditions, leaving selection to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.