get_macro_economics
Retrieve annual macroeconomic indicators by country and year—GDP, inflation, unemployment, interest rates, trade, and government finances—to compare economies and support forecasts.
Instructions
Returns annual macroeconomic indicators by country (50+ countries, 1970 to current year; current-year values are forecasts): GDP, inflation, unemployment, interest rates, trade, government finances, consumption. One record per country per year with 38 indicators. Updated quarterly. Filter by country_iso3 and year. Source: OECD Data Explorer; use and redistribution are subject to the OECD Terms and Conditions, including source attribution.
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": "get_macro_economics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | User-defined request identifier (max 255 characters). Returned in the response; does not affect processing. | |
| limit | No | Maximum number of matched items returned. Default: 100, maximum: 1000. | |
| offset | No | Pagination offset (0-based). | |
| filters | No | Optional filter expressions. Each filter condition is defined as [field, operator, value]. Conditions can be combined using the logical operators and, or, and not. Supported operators: Any field type (numbers, strings, booleans, dates): = (equals), <> (not equal) Numbers and dates: > (greater than), >= (greater than or equal), < (less than), <= (less than or equal) List of values: in (matches any value in the list, e.g. ["field", "in", ["value_1", "value_2"]]) Strings: like (pattern match, requires % as a wildcard), not_like (pattern does not match), contains (value exists in string), not_contains (value does not exist in string), startswith, endswith % usage examples: %abc% - contains "abc"; abc% - starts with "abc"; %abc - ends with "abc". String operators are case-sensitive. Dates are compared as text, so pass date values in the same format as the field returns them. Fields that contain arrays cannot be filtered. Example: "filters": ["country_iso3", "=", "CHE"] Filterable fields include country_iso3 (ISO 3166-1 alpha-3) and year. | |
| sort_by | No | Optional sorting configuration. Each sorting setup is an object {selector, desc}; multiple setups can be combined in the array. |