Skip to main content
Glama

ScorpTech x402 Tools

Macro Indicators

macro_indicators
Read-onlyIdempotent

Macro indicators by country and year: GDP, real GDP growth, GDP per capita, inflation, unemployment, population, government debt and current account, side by side from the World Bank (WDI actuals) and the IMF World Economic Outlook (DataMapper, incl. projections). Up to 10 countries (ISO2/ISO3) and 8 indicators per call. Returns JSON with: countries, from, to. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/macro-indicators

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

Input Schema

NameRequiredDescriptionDefault
toNoLast year (default current year; IMF projections up to +5)
fromNoFirst year (default to-5)
sourceNoboth (default), worldbank or imf
countryYesISO 3166 alpha-2 or alpha-3 codes, comma-separated (max 10), e.g. US,DEU,JP
indicatorsNoComma list from: gdp, gdp_growth, gdp_per_capita, inflation, unemployment, population, government_debt, current_account (default gdp,gdp_growth,inflation,unemployment)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the bar is lower, yet the description still adds real context: a metered price ($0.01 USDC per successful call via x402 on Base or Solana), that IMF figures include projections up to +5 years, and hard fan-out caps. It stops short of stating failure/partial-billing behavior or latency, which is why it is not a 5.

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 purpose, then limits, then return shape, then price, then the HTTPS alternative — a logical order with no filler sentences. The one weak line is 'Returns JSON with: countries, from, to', which is terse to the point of being cryptic about the actual payload.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Annotations and a fully documented schema cover the call contract, and pricing/transport are spelled out. However, with no output schema, the description's return-value line ('countries, from, to') does not explain how indicator values and the two sources are actually laid out in the response, leaving a gap 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 coverage is 100%, so every parameter already carries its own description and the baseline is 3. The description adds the 8-indicators-per-call cap and the side-by-side actuals-plus-projections framing, but otherwise restates the enumerated indicators and source list that the schema already documents.

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 gives a precise resource (macro indicators by country and year), enumerates the eight indicators and names both data sources (World Bank WDI actuals, IMF WEO via DataMapper), so an agent knows exactly what data comes back. It never names a sibling such as us_macro, so the global-vs-US distinction is only implied by the country parameter rather than stated.

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?

Useful operational guidance is embedded: max 10 countries and 8 indicators per call, ISO2/ISO3 codes, defaults for source and years, and the HTTPS mirror URL as an alternative transport. What is missing is when-to-use routing — nothing says to pick this over us_macro for single-country US queries or when to prefer source=worldbank vs imf beyond the enum default.

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