Skip to main content
Glama

Sidetrip Countries

get_indicator

Read-onlyIdempotent

Fetch a World Bank indicator for one or more countries and a year range. Aliases: gdp, gdp_per_capita, gdp_growth, population, inflation, unemployment, life_expectancy, exports. A raw id such as NY.GDP.MKTP.CD also works. Call list_common_indicators to see ids and units. Missing years are omitted. World Bank figures often lag by a year or more.

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

Input Schema

NameRequiredDescriptionDefault
end_yearNoLast year. Defaults to the current year, or to start_year when only the start is set.
countriesYesCountry names or ISO codes, from 1 to 8.
indicatorYesAlias such as gdp or inflation, or a World Bank indicator id.
start_yearNoFirst year. Defaults to ten years before the current year, or to end_year when only the end is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely new behavioral facts: missing years are silently omitted from results and World Bank figures typically lag a year or more, which matters for interpreting an empty or short series.

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

Conciseness5/5

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

Five short sentences: purpose first, accepted inputs second, discovery pointer third, then two caveats. Every sentence carries information an agent would otherwise have to guess, and none repeats the schema.

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 read-only tool with a fully documented schema and no output schema, this covers what is needed to call it correctly, including data caveats. A brief note on result shape (e.g. per-country, per-year series) would close the last gap.

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%, so the baseline is 3, but the description goes beyond it by enumerating concrete alias values (gdp, inflation, life_expectancy, exports) and confirming that a raw id such as NY.GDP.MKTP.CD is equally valid. That directly resolves the main ambiguity of the indicator parameter.

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?

The description opens with a specific verb and resource — 'Fetch a World Bank indicator' — and states the scope precisely: one or more countries plus a year range. An agent can immediately tell this is a data-retrieval tool rather than a country lookup or FX tool.

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?

It explicitly routes the agent to list_common_indicators to discover ids and units, and lowers the barrier by naming accepted aliases so a lookup call is often unnecessary. It does not say when to prefer compare_countries over repeated calls here, which is the one gap.

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