OECD SDMX data query
oecd_dataQuery OECD economic data via SDMX. Specify dataflow and dimension key to retrieve time series, optionally bounded by date range.
Instructions
Query OECD data via SDMX. dataflow is 'AGENCY,DATAFLOW_ID,VERSION' (e.g. 'OECD.SDD.TPS,DSD_PRICES@DF_PRICES_ALL,1.0'). key is dot-delimited dimension values; leave a position empty for a wildcard (e.g. 'USA.M.N.CPI.IX._T.N.GY'). Returns SDMX-JSON. For big series, bound with startPeriod+endPeriod or cap with lastNObservations to keep responses small.
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": {
"dataflow": "<dataflow>"
},
"name": "oecd_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Dot-delimited dimension key, or 'all' | all |
| dataflow | Yes | AGENCY,DATAFLOW_ID,VERSION | |
| endPeriod | No | e.g. 2024 or 2024-12 | |
| startPeriod | No | e.g. 2020 or 2020-01 | |
| lastNObservations | No | Return only the most recent N observations per series (caps size) | |
| firstNObservations | No |