Sipri Expenditure
military__sipri-expenditureQuery global military expenditure data from SIPRI via World Bank by country and year range (1960-present). Returns spending figures with quality scores and source citations for defense analysis.
Instructions
[Military & Defense Agent] Query SIPRI Military Expenditure Database for global defense spending data by country and year range. Data sourced via World Bank (SIPRI indicator MS.MIL.XPND.CD). Annual data available from 1960 to present. Source: Stockholm International Peace Research Institute (via World Bank) (CC BY-4.0), updates annual. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ISO3 country code (e.g. USA, GBR, CHN) or 'all' for all countries | USA |
| from | No | Start year (data from 1960) | |
| to | No | End year (SIPRI data lags ~2 years) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |