Skip to main content
Glama
SDMX MCP

SDMX MCP

by unicef-drp

Search Dataflows

search_dataflows

Search SDMX dataflows by id, name, or description to get a flowRef for use in other tools. Use it when you already know the dataset, domain, or flow you need.

Instructions

Search SDMX dataflows by id/name/description. Returns lightweight matches with a flowRef you can pass to other tools.

Prefer find_indicator_candidates or plan_topic_query for topical metric questions such as stunting, wasting, mortality, immunization, literacy, or similar phenomena. Use search_dataflows when the user is asking for a known dataset, domain, or flow, not when the main problem is to identify the right indicator first. If a discovery resource is attached or guided_discover is available, calling this first is usually redundant and increases cost. Avoid it for topic-first questions unless guided_discover returned unresolved.

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": {
      "query": "<query>"
    },
    "name": "search_dataflows"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose real behavior: results are lightweight, they carry a flowRef for chaining, and calling it alongside a discovery resource is redundant and increases cost. It omits matching semantics (case sensitivity, fuzzy vs exact) and no-match behavior, which are meaningful for a search tool.

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 lead sentence front-loads purpose and the return shape, and the routing rules follow in a logical order. There is mild redundancy between 'prefer X for topical questions' and the later 'avoid it for topic-first questions unless guided_discover returned unresolved,' which restates the same rule from the negative side.

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?

An output schema exists, so return values need not be described; the description still adds the useful nugget that matches are lightweight and include flowRef. Combined with thorough routing guidance, an agent has enough to decide when to call this and how to chain its output.

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 0%, so the description must compensate. It usefully explains what 'query' is matched against (id/name/description), but says nothing about 'limit' – default 10, max value, or how it interacts with result ranking – so half the parameters remain undocumented.

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 names a specific verb (search) and resource (SDMX dataflows), specifies the matched fields (id/name/description), and states what comes back (lightweight matches with a flowRef usable downstream). That output framing alone differentiates it from siblings like search_indicators or list_dataflows_grouped.

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 gives explicit routing: prefer find_indicator_candidates or plan_topic_query for topical metric questions with concrete examples (stunting, wasting, mortality), and use this tool when the user already names a known dataset, domain, or flow. It also adds a when-not condition and defers to guided_discover when that is available and unresolved.

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