Skip to main content
Glama

Oecd Get Dataset Info

oecd_get_dataset_info
Read-onlyIdempotent

Fetch a dataflow's metadata (name, full description, linked resources), dimensions, their order, and how to construct a query key. Returns per-dimension names, codelist references, and position in the dot-delimited key. Required before calling oecd_query_dataset to understand key structure.

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": {
      "flow_ref": "<flow_ref>"
    },
    "name": "oecd_get_dataset_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoPublished dataflow edition, for example 1.1. Omit to use the latest edition.
flow_refYesFull flow reference, either {agencyID},{dsd_id}@{df_id} — e.g. "OECD.SDD.NAD,DSD_NAAG@DF_NAAG_I" — or the bare {agencyID},{df_id} form OECD uses for the few dataflows published without a datastructure prefix. Obtain from oecd_search_datasets.

Output Schema

NameRequiredDescriptionDefault
nameNoHuman-readable dataflow name. Omitted when the upstream response carries no dataflow entry.
errorNoPresent when the call failed. Absent on success.
sourceNoData source attribution — always "OECD".
versionNoResolved dataflow edition.
flow_refNoThe resolved flow reference.
resourcesNoExternal resources from the dataflow EXT_RESOURCE annotations. Omitted when none are present.
dimensionsNoDimensions in ascending position order.
descriptionNoFull dataflow abstract with valid HTTP, HTTPS, and mailto links preserved as Markdown [label](url). Omitted when OECD publishes no description.
key_exampleNoExample dot-delimited key with wildcards — each dot corresponds to one dimension in position order. Empty segments are wildcards. Replace with actual codes from oecd_get_dimension_values.
time_dimensionNoTime dimension — used for start_period/end_period filtering in oecd_query_dataset.
published_versionsNoPublished editions when the OECD edition catalog could be read.
concept_lookup_failed_forNoDimensions affected by a failed concept-name lookup, including time when affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / version
      Added value: +{
      +  "description": "Published dataflow edition, for example 1.1. Omit to use the latest edition.",
      +  "pattern": "^\\d+(?:\\.\\d+)*$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / concept_lookup_failed_for
      Added value: +{
      +  "description": "Dimensions affected by a failed concept-name lookup, including time when affected.",
      +  "items": {
      +    "description": "Dimension ID whose concept scheme could not be read.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / dimensions / items / properties / name / description
      Previous value: -"Concept name for the dimension — e.g. \"Reference area\" for REF_AREA. Repeats the id when OECD publishes no concept for it."New value: +"Concept name for the dimension — e.g. \"Reference area\" for REF_AREA. Repeats the id when no concept name was resolved."
    • addedOutput schema / properties / published_versions
      Added value: +{
      +  "description": "Published editions when the OECD edition catalog could be read.",
      +  "items": {
      +    "description": "Published dataflow edition.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / time_dimension / properties / name / description
      Previous value: -"Concept name for the time dimension, repeating the id when none is published."New value: +"Concept name for the time dimension, repeating the id when no name was resolved."
    • addedOutput schema / properties / version
      Added value: +{
      +  "description": "Resolved dataflow edition.",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / properties / description
      Added value: +{
      +  "description": "Full dataflow abstract with valid HTTP, HTTPS, and mailto links preserved as Markdown [label](url). Omitted when OECD publishes no description.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / name
      Added value: +{
      +  "description": "Human-readable dataflow name. Omitted when the upstream response carries no dataflow entry.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / resources
      Added value: +{
      +  "description": "External resources from the dataflow EXT_RESOURCE annotations. Omitted when none are present.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "An external resource published on the dataflow (methodology document, boundary file, or bulk download).",
      +    "properties": {
      +      "label": {
      +        "description": "Human-readable resource label.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Target http or https URL for the linked resource.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed5 schema fields changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "flow_ref",
      -      "dimensions",
      -      "key_example",
      -      "non_production",
      -      "source"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "flow_ref",
      +      "dimensions",
      +      "key_example",
      +      "source"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_flow_ref`: The flow_ref parameter matches neither the {agencyID},{dsd_id}@{df_id} nor the {agencyID},{df_id} format. `dataflow_not_found`: No datastructure was found for the provided flow_ref. `rate_limited`: OECD throttled the request rate and was still refusing after the retries. `upstream_timeout`: OECD did not finish responding before OECD_TIMEOUT_MS elapsed. `upstream_unavailable`: OECD returned a server fault or was unreachable once the retries ran out. `upstream_redirect`: The configured OECD host answered with a redirect, which this server never follows. `upstream_error`: OECD refused the request with a status this server does not model — an authorization challenge, a rejection from something sitting in front of the API, or a request read as malformed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_flow_ref`: The flow_ref parameter matches neither the {agencyID},{dsd_id}@{df_id} nor the {agencyID},{df_id} format. `dataflow_not_found`: OECD publishes no dataflow under the provided flow_ref, or the dataflow resolves to no datastructure. `rate_limited`: OECD throttled the request rate and was still refusing after the retries, or asked for a wait longer than the call's upstream budget had left. `upstream_timeout`: An OECD request ran past OECD_TIMEOUT_MS, or the call's requests and retries together ran past its upstream budget — 50 seconds, or OECD_TIMEOUT_MS when that is longer. `upstream_unavailable`: OECD returned a server fault or was unreachable once the retries ran out. `upstream_redirect`: The configured OECD host answered with a redirect, which this server never follows. `upstream_error`: OECD refused the request with a status this server does not model — an authorization challenge, a rejection from something sitting in front of the API, a request read as malformed or unprocessable (HTTP 400 or 422), or a method it does not implement (HTTP 501). `upstream_unreadable`: OECD answered with a body this server could not read — not JSON, or JSON whose fields do not have the shape SDMX gives them. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "invalid_flow_ref",
      -  "dataflow_not_found",
      -  "rate_limited",
      -  "upstream_timeout",
      -  "upstream_unavailable",
      -  "upstream_redirect",
      -  "upstream_error"
      -]New value: +[
      +  "invalid_flow_ref",
      +  "dataflow_not_found",
      +  "rate_limited",
      +  "upstream_timeout",
      +  "upstream_unavailable",
      +  "upstream_redirect",
      +  "upstream_error",
      +  "upstream_unreadable"
      +]
    • removedOutput schema / properties / non_production
      Removed value: -{
      -  "description": "True if OECD flagged this dataflow as experimental or deprecated.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / time_dimension / description
      Previous value: -"Time dimension — used for startPeriod/endPeriod filtering in oecd_query_dataset."New value: +"Time dimension — used for start_period/end_period filtering in oecd_query_dataset."
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds useful behavioral context about what metadata is returned and the prerequisite relationship to oecd_query_dataset, though it does not discuss auth or rate limits.

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?

Two dense sentences front-load the core purpose and then the return shape and prerequisite. Every clause carries useful information with no filler.

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 only two well-documented parameters, annotations covering safety, and an output schema, the description is sufficiently complete. It covers purpose, returned information, and the dependency on oecd_query_dataset.

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%, so the schema already documents flow_ref and version, including flow reference formats and omission behavior. The description adds no parameter-level meaning beyond that baseline.

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?

States a specific verb and resource: fetches a dataflow's metadata, dimensions, their order, and query-key construction. It clearly distinguishes this discovery/metadata role from oecd_query_dataset, which consumes the key structure.

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?

Explicitly says it is required before calling oecd_query_dataset to understand key structure, giving a concrete usage condition and downstream dependency. This routes the agent correctly without needing to open other definitions.

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.