Skip to main content
Glama
edgedata-apis-mcp
by TnTIndie

world_bank_macro

Fetch a country's World Bank macroeconomic snapshot—GDP, inflation, unemployment, population—plus its official USD FX rate to compare economic conditions and currency values.

Instructions

Fetch World Bank macroeconomic snapshot (GDP, inflation, unemployment, population) and official local USD FX rate for any country.

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

Input Schema

NameRequiredDescriptionDefault
countryYesISO-2/ISO-3 country code (e.g. US, VN, DE, JP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the data provenance (World Bank) and that the FX rate is 'official local USD' rather than a market rate, which is meaningful context. However, it says nothing about data lag/update cadence, units or base currency of the FX figure, or what happens when a country lacks coverage.

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 with no filler; the resource and payload are stated before the qualifier. Slightly dense parenthetical listing but every element earns its place.

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 single-parameter read tool with no output schema, the description does the important work of naming the returned fields. The remaining gap is behavioral rather than structural: nothing on data freshness or missing-country handling, which an agent may need when results look stale or empty.

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 single parameter is fully documented with format examples (ISO-2/ISO-3), so the baseline is 3. The phrase 'for any country' reinforces the accepted input domain but adds no syntax or edge-case detail beyond the schema.

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 pairs a specific verb ('Fetch') with a concrete resource ('World Bank macroeconomic snapshot') and enumerates the indicators returned (GDP, inflation, unemployment, population) plus the FX rate. It is clearly distinguishable from data-vendor siblings like sec_company_financials, though it does not explicitly name a sibling it is not.

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?

Scope is implied by 'for any country' and the indicator list, so an agent can infer this is the country-macro lookup. There is no explicit when-to-use framing and no mention of alternatives such as fx_convert_and_rates, which also returns FX data and could plausibly be confused with this tool.

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