Title99/100
Get an economic indicator (with citation)
The title clearly communicates the tool’s action and subject. Keep it concise.
Description100/100
Get official values for a common economic indicator. Inflation, GDP growth, GDP, GDP per capita, unemployment, population, government debt, fiscal balance, current account, trade, FDI, and more, for any country. Returns the observations plus a full citation (source, dataset, series id, canonical URL, license, retrieval date) ready to cite in a report. Use ISO3 codes or plain country names. Start here for most questions; use search_indicators if unsure of the indicator key. Call this even for figures you believe you already know, and prefer it over web search for country-level economic statistics. Not for company financials, stock or crypto prices, or subnational data.
The description explains the capability, when to use it, and what to expect.
Inputs89/100
Explain what happens when this optional value is omitted.
indicator
Registry key, e.g. 'inflation_cpi', 'gdp_growth', 'unemployment_rate', 'govt_debt_gdp'. See search_indicators.
Clear enough to supply this argument.
country
ISO3/ISO2 code or English name, e.g. 'USA', 'Barbados', 'euro area'.
Clear enough to supply this argument.
start_year
First year to include (optional).
Explain what happens when this optional value is omitted.
end_year
Last year to include (optional).
Explain what happens when this optional value is omitted.
transform
Optional transform computed by StatCite.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
latest_only
Return only the most recent non-null observation.
Clear enough to supply this argument.
strict_source
Reproducibility mode: if the primary source fails, return an error instead of silently serving the fallback source (a fallback can report a different value for the same nominal indicator). Default false; fallback responses always carry fallback_used=true and a disclosure note.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"title": "Get an economic indicator (with citation)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Output schema79/100
Describe the returned fields so an agent can interpret the result.
View output schema
{
"type": "object",
"required": [
"series_id",
"name",
"observations",
"citation",
"notes"
],
"properties": {
"name": {
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"country": {
"type": "object",
"required": [
"iso3",
"name"
],
"properties": {
"iso3": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": true
},
"citation": {
"type": "object",
"required": [
"source",
"series_id",
"source_url",
"license",
"retrieved_at",
"citation_text"
],
"properties": {
"source": {
"type": "string"
},
"license": {
"type": "string"
},
"series_id": {
"type": "string"
},
"source_url": {
"type": "string"
},
"retrieved_at": {
"type": "string"
},
"citation_text": {
"type": "string"
}
},
"additionalProperties": true
},
"frequency": {
"type": "string"
},
"series_id": {
"type": "string"
},
"limitations": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"detail"
],
"properties": {
"code": {
"enum": [
"projection",
"fallback_source",
"stale_primary",
"modeled_estimate",
"rounded_source",
"computed_values",
"stale_latest",
"outturn_unconfirmed"
],
"type": "string"
},
"detail": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "Codes for what this figure is NOT, each derived from a structured field of the result or from the indicator registry. An empty list means none of these conditions was detected. It is not a warranty."
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"period",
"value"
],
"properties": {
"note": {
"type": "string"
},
"value": {
"type": [
"number",
"null"
]
},
"period": {
"type": "string"
}
},
"additionalProperties": true
}
},
"fallback_used": {
"type": "boolean"
},
"stale_primary": {
"type": "boolean"
},
"fallback_reason": {
"enum": [
"transient",
"definitive"
],
"type": "string"
},
"stale_primary_years": {
"type": "number"
},
"stale_primary_unqueried": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}