Skip to main content
Glama

Imf List Databases

imf_list_databases
Read-onlyIdempotent

List IMF SDMX dataflows available on the portal. Entry point for every query: imf_get_database and imf_query_dataset both require a dataflow id obtained here. Vintage (historical snapshot) dataflows such as WEO_2025_OCT_VINTAGE are excluded by default; set include_vintages=true to include them. Results are paged — 50 per call by default, adjustable with limit and offset — and total_count reports how many dataflows matched. Descriptions are shortened here; imf_get_database returns the full text for a single dataflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum dataflows to return in this call. Default 50, ceiling 200; total_count reports how many matched, so a partial page is always recognizable as one.
filterNoOptional name, ID, or description substring to filter results. Case-insensitive. Example: "exchange rate" returns ER and related dataflows.
offsetNoNumber of matching dataflows to skip before this page. Combine with limit to page through a broad or unfiltered catalog.
include_vintagesNoInclude vintage (historical snapshot) dataflows such as WEO_2025_OCT_VINTAGE. Default false — vintages are excluded to keep the discovery surface clean.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
capNoThe limit that bounded this page.
errorNoPresent when the call failed. Absent on success.
shownNoDataflows returned in this page.
noticeNoPopulated when the filter matches nothing, or when matches remain beyond this page — explains why and names the next offset to request.
offsetNoNumber of matching dataflows skipped before this page.
dataflowsNoThis page of matching dataflows; pass the id to imf_get_database to resolve dimension codelists.
truncatedNoTrue when matching dataflows remain beyond this page.
total_countNoDataflows matching filter and include_vintages, before limit and offset are applied. Exceeds returned_count when more pages remain.
returned_countNoDataflows in this page — the length of dataflows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `dataflow_list_unavailable`: The IMF SDMX structure endpoint that backs the dataflow catalog did not return a usable response Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `dataflow_list_unavailable`: The IMF SDMX structure endpoint that backs the dataflow catalog did not return a usable response. Other values are possible when a failure originates below the handler."
  2. Changed1 schema field changed
    • addedInput schema / properties / filter / minLength
      Added value: +1
  3. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "dataflows",
      +      "total_count",
      +      "returned_count",
      +      "offset"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `dataflow_list_unavailable`: The IMF SDMX structure endpoint that backs the dataflow catalog did not return a usable response Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "dataflow_list_unavailable"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "dataflows",
      -  "total_count",
      -  "returned_count",
      -  "offset"
      -]
  4. Changed12 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 50,
      +  "description": "Maximum dataflows to return in this call. Default 50, ceiling 200; total_count reports how many matched, so a partial page is always recognizable as one.",
      +  "maximum": 200,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Number of matching dataflows to skip before this page. Combine with limit to page through a broad or unfiltered catalog.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / cap
      Added value: +{
      +  "description": "The limit that bounded this page.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / dataflows / description
      Previous value: -"Matching dataflows; pass the id to imf_get_database to resolve dimension codelists."New value: +"This page of matching dataflows; pass the id to imf_get_database to resolve dimension codelists."
    • changedOutput schema / properties / dataflows / items / properties / description / description
      Previous value: -"Extended description of the dataflow, if available."New value: +"Short description, cut to 200 characters and ended with … when longer. imf_get_database and the imf://database/{dataflow_id} resource return the full text."
    • changedOutput schema / properties / notice / description
      Previous value: -"Populated when the filter matches nothing — explains why and suggests next steps."New value: +"Populated when the filter matches nothing, or when matches remain beyond this page — explains why and names the next offset to request."
    • addedOutput schema / properties / offset
      Added value: +{
      +  "description": "Number of matching dataflows skipped before this page.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / returned_count
      Added value: +{
      +  "description": "Dataflows in this page — the length of dataflows.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / shown
      Added value: +{
      +  "description": "Dataflows returned in this page.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / total_count / description
      Previous value: -"Total number of matching dataflows returned."New value: +"Dataflows matching filter and include_vintages, before limit and offset are applied. Exceeds returned_count when more pages remain."
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when matching dataflows remain beyond this page.",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "dataflows",
      -  "total_count"
      -]New value: +[
      +  "dataflows",
      +  "total_count",
      +  "returned_count",
      +  "offset"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / filter / description
      Previous value: -"Optional name or ID substring to filter results. Case-insensitive. Example: \"exchange rate\" returns ER and related dataflows."New value: +"Optional name, ID, or description substring to filter results. Case-insensitive. Example: \"exchange rate\" returns ER and related dataflows."
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses default vintage exclusion, the include_vintages escape hatch, paging behavior with default page size, and that descriptions are intentionally shortened. This is substantial behavioral context not visible in the schema or annotations.

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?

Five sentences, all information-dense and front-loaded: purpose, entry-point role, default exclusion behavior, paging, and the distinction from imf_get_database. No filler or repetition of schema details.

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

Completeness5/5

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

With an output schema present and annotations covering safety, the description still adds the essential operational context: how to obtain IDs for dependent tools, the vintage default, pagination semantics, and total_count availability. Nothing an agent needs to correctly call or interpret this tool is missing.

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%, and each parameter already has a descriptive schema entry. The description adds some cross-parameter context around paging and total_count, but it does not materially extend the meaning of filter or include_vintages beyond what the schema already provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'List IMF SDMX dataflows available on the portal.' It also differentiates itself from siblings by stating that imf_get_database and imf_query_dataset both require a dataflow id obtained here, and that imf_get_database returns full descriptions while this tool returns shortened ones.

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

Usage Guidelines5/5

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

It explicitly positions the tool as the entry point for every query and names the sibling tools that depend on its output. It also explains when to use the include_vintages parameter and notes that imf_get_database is the alternative for full text, giving clear routing guidance.

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.