Oecd Search Datasets
oecd_search_datasetsSearch OECD dataflows by keyword or theme, or omit query to list every dataflow in catalog order (optionally scoped to one agency_id). When query is supplied, each whitespace-separated token must match at the start of a word in dataflow names or descriptions, with name matches ranked first. Returns flow_ref identifiers, names, and agency IDs for use with oecd_get_dataset_info.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "oecd_search_datasets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. Default 20; a larger value returns at most 2,000 and says so. | |
| query | No | Optional keyword or phrase to search for in dataflow names and descriptions — e.g. "GDP", "house prices", "TiVA". Omit or leave blank to list every dataflow in catalog order (all agencies, or only agency_id when set). Every whitespace-separated token must start a word in the name or description, ignoring case: "price" matches "Prices" and "tiva" matches "(TiVA)", but "tiva" does not match "activation". A word starts after any character that is not a letter or digit, or at a lowercase-to-uppercase step ("markers" matches "RioMarkers"). A token that opens on such a character, like "&" or "-oecd", matches anywhere it occurs: "&" finds "R&D". | |
| offset | No | Zero-based index of the first dataflow to return within the ranked match list (or catalog order when query is omitted or blank), applied before limit. Page through results past the limit by advancing it; an offset at or past total_matches returns an empty list. | |
| agency_id | No | Optional agency identifier to restrict the search or listing scope — e.g. "OECD.SDD.NAD". Omit query with agency_id to list every dataflow published by that agency. Obtain valid agency IDs from oecd_list_agencies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Present when a requested limit was above the per-call maximum, naming the limit requested and the one served. | |
| offset | No | Zero-based index of the first returned result within the ranked match list (or catalog order when query is omitted or blank). | |
| source | No | Data source attribution — always "OECD". | |
| dataflows | No | Dataflows for the requested page, up to the requested limit. When query has search tokens, ranked in three tiers: the name carries every token; the tokens are split across name and description; the description alone carries every token (catalog order within each tier). When query is omitted or blank, returned in catalog order. | |
| totalCount | No | Total dataflows available for the search or listing, disclosed when results remain beyond the returned page. | |
| result_count | No | Number of results returned (may be less than total_matches). | |
| total_matches | No | Total dataflows matching the query — or total dataflows in the catalog or agency when query is omitted or blank — before applying offset and limit. |