Skip to main content
Glama

country_economic_indicators

Read-only

$0.09 via x402: live macro/economic indicators for any of 200+ countries in one call — GDP, GDP growth %, inflation (CPI), unemployment %, GDP per capita, population, with the year of each. Official public-domain World Bank data. For macro, finance, research and trading agents.

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

Input Schema

NameRequiredDescriptionDefault
countryYesISO2 or ISO3 country code, e.g. USA, DE, JPN, CN, GBR, IND, BRA
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds genuinely non-obvious behavior: a concrete price ($0.09), the x402 payment protocol, and the provenance of the data (official public-domain World Bank data), which signals freshness/authority expectations. It does not explain the 402-style first-call-to-get-terms flow in the description itself (that lives in the x_payment schema field), nor the data vintage/update cadence, so it is strong but not complete.

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 price and capability, then the field list and provenance, which is the right order for a caller deciding whether to pay. The trailing audience sentence ('For macro, finance, research and trading agents') is soft marketing and does little work, keeping this just below a 5.

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 burden of telling the caller what comes back, and it does so by enumerating the indicator set and noting each value includes its year. Remaining gaps — units/currency basis, how many years or which year is returned, and update frequency — are modest but real for a data-retrieval tool.

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%, with country documented as ISO2/ISO3 with examples and x_payment documented as the signed X-PAYMENT header with omit-to-get-price semantics, so the schema already carries the parameter meaning. The description adds only the breadth of coverage ('200+ countries'), not format or edge-case detail, so the baseline of 3 applies.

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 ('live macro/economic indicators for any of 200+ countries'), then enumerates the exact indicators returned (GDP, GDP growth %, CPI, unemployment, GDP per capita, population) plus the year of each. This is far more specific than the unrelated chain_*/agent_* siblings and lets an agent know instantly whether this tool answers a macro-data question.

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?

Useful context is given implicitly: it is a one-call, multi-indicator lookup for any country, and the '$0.09 via x402' framing tells the caller a payment step is involved. The audience line ('for macro, finance, research and trading agents') frames the use case but stops short of explicit when-to-use/when-not guidance or named alternatives, and the payment handshake is only spelled out in the schema rather than in the description.

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.