Skip to main content
Glama

OECD Dataflow Structure

oecd-data.reference.structure
Read-onlyIdempotent

Get the dimensions and valid codes for an OECD dataflow (agency_id + dataflow_id from oecd-data.dataflows, e.g. "OECD.SDD.STES" + "DSD_STES@DF_CLI" for composite leading indicators) — reference area, frequency, measure, and breakdown dimensions each with their code list. Use this to interpret the dimension labels returned by oecd-data.data, or to build a narrower key filter. Data: sdmx.oecd.org (OECD SDMX public REST API), no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoDataflow version, from oecd-data.dataflows (e.g. "4.1"). Omit to use the latest version.
agency_idYesOECD directorate agency id, from oecd-data.dataflows (e.g. "OECD.SDD.STES").
dataflow_idYesOECD dataflow id, from oecd-data.dataflows (e.g. "DSD_STES@DF_CLI" for composite leading indicators). Returns the dimension list (e.g. REF_AREA, FREQ, MEASURE) with each dimension's valid codes — needed to interpret oecd-data.data results.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds valuable context beyond the annotations: it notes that data comes from the OECD SDMX public REST API with no authentication required. This helps the agent understand prerequisites and expected behavior.

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 concise and well-structured: it front-loads the purpose, provides a concrete example, explains the use case, and closes with source and authentication info. Every sentence earns its place without redundancy.

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?

Given the presence of an output schema and annotations that cover safety, the description is complete. It covers the what, why, when-to-use, source, and authentication requirements. An agent has all the information needed to select and correctly invoke this tool.

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 100%, so the baseline is 3. The description adds meaning beyond the schema by explaining that the returned codes cover 'reference area, frequency, measure, and breakdown dimensions' and that the parameters should come from oecd-data.dataflows. This enriches the agent's mental model of the parameters and their relationship to the output.

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 states a specific verb ('Get') and resource ('dimensions and valid codes for an OECD dataflow'), and provides a concrete example with both required parameters. It clearly distinguishes this structure tool from the data-retrieval tool by explaining its role in interpreting dimension labels.

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?

The description explicitly explains when to use this tool: to interpret dimension labels returned by oecd-data.data or to build a narrower key filter. It does not explicitly name alternative tools or state when not to use it, but the provided usage context is sufficient for an agent to disambiguate.

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.