Skip to main content
Glama

IMF Global Macro DataMapper MCP

List IMF DataMapper country codes

list_countries
Read-onlyIdempotent

List or search official ISO-3 country codes and IMF economic group identifiers supported by the IMF DataMapper API.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_countries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum countries to return (1 to 300). Default 50.
queryNoOptional search string matching country code or name (e.g. "Germany", "USA", "Japan").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 covered. The description adds only that the codes come from the IMF DataMapper API; it says nothing about default result size, truncation behavior, or whether group identifiers come back in the same list as countries.

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 zero waste; the scope (ISO-3 plus IMF group identifiers) and the search capability both appear immediately.

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?

For a two-parameter read-only lookup with full schema coverage, rich annotations, and no output schema, the description covers the essentials. Its only shortfall is not clarifying how country codes and group identifiers are distinguished in the returned list, which no other field explains either.

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%: both `limit` (1–300, default 50) and `query` (with concrete examples like "Germany", "USA") are fully documented in the schema. The description adds no additional meaning about matching semantics beyond restating that search is by code or name, so 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?

States a specific verb (list or search) and a specific resource (ISO-3 country codes and IMF economic group identifiers), scoped to the IMF DataMapper API. An agent can distinguish this lookup tool from siblings like get_indicator_data or compare_countries, though the description never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'list or search' phrasing implies a discovery/lookup use case, but there is no explicit guidance on when to call this instead of siblings, nor any prerequisite or sequencing information (e.g., call this first to resolve codes before get_indicator_data).

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.