Skip to main content
Glama
c-cf

IMF Data MCP Server

by c-cf

list_countries

Retrieve available countries for a specific IMF dataset to filter and access relevant economic data for analysis.

Instructions

Returns a list of available countries for the specified dataset, read from the corresponding .json file in the local areas directory.

Args:
    dataset_id (str): Dataset ID, such as "IFS", "DOT", "BOP", etc.

Returns:
    list: List of countries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataset_idYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the data source ('.json file in the local areas directory') which adds useful context, but doesn't cover important aspects like whether this is a read-only operation, potential rate limits, error conditions, or what happens if the dataset_id doesn't exist.

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?

The description is perfectly structured and concise. It begins with the core purpose, then provides clear Args and Returns sections. Every sentence earns its place, with no redundant information or wasted words.

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?

For a single-parameter read operation with no output schema, the description is adequate but has gaps. It explains what the tool does and the parameter meaning well, but lacks information about return format details, error handling, or how it relates to sibling tools. The absence of annotations means more behavioral context would be helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides excellent parameter semantics despite 0% schema description coverage. It explains that dataset_id represents 'Dataset ID, such as "IFS", "DOT", "BOP", etc.' and connects it to the sibling tool names, giving concrete examples that the schema lacks. This fully compensates for the schema coverage gap.

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 clearly states the tool's purpose: 'Returns a list of available countries for the specified dataset'. It specifies the verb ('returns'), resource ('list of available countries'), and scope ('for the specified dataset'), though it doesn't explicitly differentiate from sibling tools like 'list_indicators'.

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 description provides no guidance on when to use this tool versus alternatives. It mentions reading from '.json file in the local areas directory', but doesn't specify prerequisites, when-not-to-use scenarios, or compare it to sibling tools like 'fetch_*' tools that might also involve country data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/c-cf/imf-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server