Skip to main content
Glama
SDMX MCP

SDMX MCP

by unicef-drp

Guided Discover

guided_discover

Run a guided SDMX discovery flow from a subject, location, or time entry point, then construct and execute the appropriate registry query without chaining multiple tools.

Instructions

Execute a guided SDMX discovery flow from one of three user-facing entry modes: subject, location, or time.

This tool is intended to be called after attaching one of the discovery resources. The selected discovery mode is the visible user entry path, but backend query construction still follows the configured query-dimension policy order. For cost control, prefer this single tool over chaining search_dataflows, expand_ref_area_group, list_codes, and resolve_and_query_data after a discovery resource has been attached.

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": {
      "question": "<question>",
      "discoveryMode": "<discoveryMode>"
    },
    "name": "guided_discover"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelsNoname
questionYes
flowLimitNo
flowQueryNo
resultShapeNotopline_summary
discoveryModeYes
indicatorLimitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioural burden. It does disclose the prerequisite attachment step, the cost-control rationale, and the non-obvious fact that backend query construction follows the configured query-dimension policy order rather than the visible mode. It does not disclose failure behaviour, whether the flow is read-only, or what the flow does if the attachment is missing.

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?

Three short paragraphs, front-loaded with the action and the entry modes, with no filler sentences. The cost-control sentence is arguably peripheral to invocation correctness but still earns its place by steering tool selection.

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?

An output schema exists, so return-value explanation is not required, and the description is adequate on the conceptual flow and its place among siblings. However, for a 7-parameter tool with zero schema description coverage and no annotations, the definition leaves an agent unable to populate most arguments with confidence.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, so the description has to compensate and largely does not. Only 'discoveryMode' gets partial treatment via the three named modes, and even there the accepted string values are never enumerated; question, labels, flowLimit, flowQuery, resultShape, and indicatorLimit receive no explanation at all.

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 and resource ('Execute a guided SDMX discovery flow') and scopes it to three named entry modes (subject, location, time). It also distinguishes itself from a chain of sibling tools, so an agent can recognise it as the orchestration front-end rather than a primitive lookup.

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

Usage Guidelines4/5

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

Gives a clear precondition ('called after attaching one of the discovery resources') and an explicit alternative: prefer this tool over chaining search_dataflows, expand_ref_area_group, list_codes, and resolve_and_query_data. It stops short of stating when NOT to use it (e.g. no discovery resource attached), which keeps it from a 5.

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