Skip to main content
Glama

IMF Global Macro DataMapper MCP

Get IMF country macro snapshot

get_country_macro_snapshot
Read-onlyIdempotent

Fetch a five-indicator IMF World Economic Outlook macro dashboard (Real GDP growth, CPI inflation, unemployment rate, government gross debt % GDP, and current account balance % GDP) for one economy.

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

Input Schema

NameRequiredDescriptionDefault
countryYesISO-3 country code (e.g. "USA", "GBR", "IND", "BRA", "DEU").
end_yearNoEnd year (inclusive). Default 2028.
start_yearNoStart year (inclusive). Default 2022.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds the data source (IMF World Economic Outlook) and the exact indicator set, which is genuinely useful, but says nothing about data vintage/lag, missing-indicator behavior, or coverage limits for the open-world dependency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the only length comes from enumerating the five indicators, which is load-bearing information given there is no output schema.

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 indicator enumeration is the only description of what comes back, and it covers that well, including units for debt and current account. It is slightly thin on temporal coverage of the WEO dataset and how gaps are reported, but otherwise complete for a three-parameter read-only lookup.

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 ISO-3 format and the start_year/end_year ranges and defaults all documented in the schema. The description adds no parameter-level meaning beyond that, so the 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?

Specific verb (fetch) plus a precisely scoped resource: a five-indicator IMF WEO macro dashboard for one economy, with all five indicators named. The phrase 'for one economy' implicitly separates it from a multi-country comparison tool, but no sibling is named explicitly, so differentiation is inferred 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?

Usage is only implied: 'one economy' suggests single-country lookup as opposed to compare_countries, but the description never states when to prefer this tool, when to use get_indicator_data or compare_countries instead, or any prerequisite about country code format (left to the schema).

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.