Skip to main content
Glama

Macro economic data: GDP, inflation, unemployment and population by country

econ_snapshot
Read-only

Macro economic data for any country in one call: GDP in current US dollars, consumer-price inflation %, unemployment % of the labour force and total population, each with 1-10 years of history, newest first. Country by ISO code (SE, SWE) or English name. Read from a committed World Bank Open Data snapshot (CC BY 4.0), so every call answers quickly; the snapshot date is in the answer. Use for country briefs, market sizing and economic indicators. Example: country=SE. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": "econ_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoYears of history to return, 1-10 (default 5)
countryYesISO 3166 code (SE, SWE) or English country name (Sweden)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses the data provenance (World Bank Open Data snapshot, CC BY 4.0), that responses are cached/fast, that a snapshot date is embedded in the answer, and the full pricing/billing model including free failures. It also resolves the otherwise puzzling idempotentHint=false by explaining that repeat calls are re-charged. This is materially more than a safe-read disclosure.

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 returned metrics and units, then scope, then logistics. The billing sentences are somewhat dense and could be trimmed, but each carries decision-relevant information for an agent weighing cost. 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 does the work of describing outputs: units for each indicator, history window, newest-first ordering, and presence of a snapshot date. What remains unstated is the envelope of the response (field names/keys, error behavior for unknown country codes). Sufficiently complete to call correctly, slightly short of exhaustive.

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%, and both parameters (country as ISO code or English name, years 1-10 with default 5) are already fully documented in the schema. The description restates the country formats and the 1-10 year history window without adding syntax or edge-case guidance beyond that. Baseline 3 is appropriate since the schema does the heavy lifting.

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 names the exact resource (macro economic data by country) and enumerates the four returned indicators with their units, plus the country input formats. The phrase 'in one call' implicitly distinguishes it from the sibling tools that fetch a single series (econ_gdp, econ_inflation, econ_population, econ_unemployment). An agent can pick this over the single-indicator siblings without opening a schema.

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 gives concrete use cases ('country briefs, market sizing and economic indicators') and a worked example (country=SE), which is enough context to select it. It also notes cost implications that affect tool choice ('first 10 free', 'failed calls free'). It stops short of explicitly stating when to prefer a single-indicator sibling, but the 'one call' framing plus the listed use cases make the selection clear.

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