Skip to main content
Glama

econ_indicator_history

Read-only

World Bank indicator history and trend — Full time series of any World Bank World Development Indicator for 1-8 countries, with analysis: first and latest value, absolute and % change, CAGR, mean, standard deviation, max/min years, linear trend (rising/falling/flat) with slope and R-squared, the last 10 year-over-year changes and a ranking by latest value. indicator= takes a code (e.g. NY.GDP.MKTP.CD, find codes with /v1/econ/indicators) or an alias: gdp, gdp_per_capita, gdp_growth, population, inflation, unemployment, life_expectancy, debt, exports, imports, fdi, current_account, reserves, internet, urban, poverty, gini, fertility, lending_rate, real_interest_rate. country= ISO2/ISO3 codes, comma separated. Optional start= and end= years (default last 25 years). Source: World Bank (CC BY 4.0). JSON. Price: $0.004 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": {
      "country": "<country>",
      "indicator": "<indicator>"
    },
    "name": "econ_indicator_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYese.g. US,CN,DE
indicatorYese.g. gdp

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the World Bank source and CC BY 4.0 license, JSON response format, and the $0.004 USDC x402 payment requirement — the payment detail is important and non-obvious. A 3 is appropriate because the baseline is lowered by annotations, but payment and licensing add real value; error behavior and rate limits remain undisclosed.

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?

Information-dense and front-loaded: the core purpose and analysis list come first, then parameter syntax, then source and price. The long enumeration of statistical outputs is verbose but each item is genuinely returned data, and no sentence is pure filler.

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 the computed fields, the source, and the format. The main completeness gap is the mismatch between the described start/end parameters and the two-parameter schema, plus no mention of behavior for invalid indicator or country codes.

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

Parameters4/5

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

Schema coverage is 100% with only two parameters, so the baseline is 3, but the description goes further by enumerating the 20 accepted aliases (gdp, gini, lending_rate, etc.), specifying ISO2/ISO3 comma-separated country codes and the 1-8 country bound. However, it describes optional start= and end= parameters (default last 25 years) that do not appear in the input schema, which could cause an agent to pass parameters that are not accepted.

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 and resource — the full time-series history of any World Bank World Development Indicator for 1-8 countries — and immediately enumerates the derived analysis (CAGR, trend slope, R-squared, ranking) that separates it from a simple snapshot or comparison call. An agent can tell this apart from econ_country_snapshot or econ_compare_countries from the description alone.

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?

Clearly frames the use case (multi-country time series plus statistical analysis) and even routes the agent to econ_indicators for discovering indicator codes. It does not explicitly say when to prefer this over a snapshot or ranking sibling, and the 1-8 country limit is stated as a fact rather than as a routing rule, so guidance is clear but not fully exclusionary.

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