Skip to main content
Glama

Oecd Fetch Dataset

oecd_fetch_dataset
Read-onlyIdempotent

Fetch tidy rows from any OECD dataflow. flow_ref examples: "OECD.SDD.NAD,DSD_NAMAIN1@DF_QNA_EXPENDITURE_GROWTH_OECD,1.1". The key string is a dot-separated dimension filter, one position per dimension (e.g., "Q..USA.........." for that flow), leave empty to fetch everything). Use start/end periods like "2020-Q1" or "2020". Returns labeled rows; OECD enforces a result-size limit and may truncate broad queries, narrow with key dimensions or shorter time ranges.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "Q..USA..........",
      "flow_ref": "OECD.SDD.NAD,DSD_NAMAIN1@DF_QNA_EXPENDITURE_GROWTH_OECD,1.1",
      "end_period": "2024-Q4",
      "start_period": "2023-Q1"
    },
    "name": "oecd_fetch_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoDot-separated dimension key (or empty for all)
limitNoCap rows returned (default 5000)
flow_refYesSDMX dataflow reference
end_periodNoInclusive end period
start_periodNoe.g., "2020", "2020-Q1", "2020-01"

Output Schema

NameRequiredDescriptionDefault
rowsYesData rows with column names as keys
countYesNumber of data rows returned
columnsYesCSV column headers
flow_refYesThe requested SDMX dataflow reference
truncatedYesTrue if result was limited by row cap
source_urlYesURL to OECD data explorer for this flow

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the safety profile is covered. The description adds genuinely new behavioral context: results come back as labeled rows, and OECD enforces a result-size limit that may truncate broad queries, which tells the agent to expect partial results and how to avoid them.

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 a single dense paragraph with the core action and the flow_ref example front-loaded, then the key syntax, then periods, then the truncation caveat. Nested quoting and the stray parenthesis around the key example cost a little readability, but almost every sentence carries information.

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

Completeness4/5

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

With an output schema present, return-value explanation is unnecessary, and the description covers the reference format, key syntax, period formats, and size limits. The remaining gap is how to obtain a valid flow_ref, which is left to sibling tools without being referenced.

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 coverage is 100%, which sets the baseline at 3, but the description goes further by explaining the positional, dot-separated structure of key ("Q..USA..........", one position per dimension, empty to fetch everything) and the accepted period formats "2020-Q1" or "2020". That is meaning the schema's short field descriptions do not convey.

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: "Fetch tidy rows from any OECD dataflow." That is clearly distinct from searching or listing dataflows, so an agent can tell it apart from oecd_search_dataflows and oecd_list_curated_flows, but the description never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the required flow_ref and the example reference suggest that a flow must be identified first, presumably via oecd_search_dataflows or oecd_list_curated_flows, but no when-to-use or when-not-to-use guidance is given. The narrowing advice ("narrow with key dimensions or shorter time ranges") is the closest thing to operational 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.