Skip to main content
Glama
c-cf

IMF Data MCP Server

by c-cf

fetch_dot_data

Retrieve time series data from the IMF's DOT database by specifying frequency, countries, indicators, and date range for economic analysis.

Instructions

Retrieves compact format time series data from the DOT database based on the input parameters.

Args:
    freq (str): Frequency (e.g., "A" for annual).
    country (str): Country code, multiple country codes can be connected with "+".
    indicator (str): Indicator code.
    counterpart (str): Counterpart country code.
    start (str | int): Start year.
    end (str | int): End year.

Returns:
    str: Description of the queried data. Do not perform further analysis or retry if the query fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
freqYes
countryYes
indicatorYes
counterpartYes
startYes
endYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool retrieves data (implying read-only) and explicitly warns not to retry on failure, which adds useful context about error handling. However, it lacks details on rate limits, authentication needs, data freshness, pagination, or what constitutes a 'failure' (e.g., invalid parameters vs. server errors). The description doesn't contradict annotations since none exist.

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 description is well-structured and appropriately sized. It starts with a clear purpose statement, followed by an 'Args' section detailing parameters with helpful examples, and ends with return behavior. Every sentence adds value, though the return statement could be integrated more smoothly. No wasted words or redundancy.

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?

Given 6 required parameters, 0% schema coverage, no annotations, and no output schema, the description does a decent job but has gaps. It explains parameter meanings well and gives behavioral hints (no retry on failure), but lacks context on sibling tools, error types, data format details, or usage scenarios. For a data retrieval tool with complex inputs, more guidance would improve completeness.

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?

Schema description coverage is 0%, so the description must compensate. It provides clear semantics for all 6 parameters: freq (frequency with example 'A' for annual), country (country code with multi-code syntax using '+'), indicator (indicator code), counterpart (counterpart country code), and start/end (years). This adds significant value beyond the bare schema, though it could benefit from examples for indicator/counterpart codes or format details for start/end.

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: 'Retrieves compact format time series data from the DOT database based on the input parameters.' It specifies the verb ('Retrieves'), resource ('time series data from the DOT database'), and format ('compact format'). However, it doesn't explicitly differentiate from sibling tools like fetch_bop_data or fetch_ifs_data, which likely retrieve different datasets from similar databases.

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 doesn't mention sibling tools, explain what distinguishes DOT data from other datasets (e.g., BOP, CPI), or specify prerequisites like required permissions or database access. The only contextual hint is the return statement about not retrying on failure, but this doesn't help with tool selection.

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