Skip to main content
Glama

Country economic indicators (x402)

country_economic_indicators

Read-onlyIdempotent

$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_paymentNox402 payment payload (base64) to settle this call; omit to receive the payment terms first

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and open-world, so the safety profile is covered. The description adds genuinely useful context beyond them: the $0.09 x402 price, the World Bank public-domain provenance, and 'live' data with per-indicator year labels — all material to whether and how an agent should call it.

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?

The coverage, price and indicator list are front-loaded in one dense sentence, followed by provenance and audience. The audience clause ('For macro, finance, research and trading agents') is the weakest sentence and contributes little actionable information.

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?

No output schema exists, so the description usefully enumerates the return fields and notes that each indicator carries its year. Payment mechanics live in the schema's x_payment description, so the definition is largely self-sufficient for a two-parameter read 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 the country parameter documented as ISO2/ISO3 and examples given, so the schema carries parameter semantics. The description adds nothing about the country code format or the x_payment payload; baseline 3 applies.

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 names a specific verb and resource ('live macro/economic indicators for any of 200+ countries') and enumerates the exact fields returned (GDP, GDP growth %, CPI, unemployment %, GDP per capita, population, with year). Scope ('any of 200+ countries') implicitly separates it from the US-focused us_macro_regime sibling, but no sibling is named explicitly.

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?

Usage guidance is limited to audience targeting ('For macro, finance, research and trading agents'), which implies context but does not state when to pick this over alternatives such as us_macro_regime or fx_rates. There are no exclusions or prerequisites for the paid call flow stated in the description itself.

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