ins_tempo_query
Retrieve official Romanian statistics from an INS Tempo-Online matrix. Specify the matrix code and one option ID per dimension to get numeric values for each row.
Instructions
Pull actual official statistics data from one INS Tempo-Online
matrix. selections must be one option ID per dimension, in the
same order as ins_tempo_matrix_dimensions()'s dimensions list —
always call that first to get valid IDs for the matrix you want.
Keep selections narrow: INS rejects queries whose selected options
multiply out to more than ~30,000 cells, so prefer several narrow
calls (e.g. one per year) over one very wide one. Returns each
result row as a dict of dimension labels to their chosen values,
plus the numeric "Valoare" (value).
Note: INS's terms restrict reproducing/redistributing this data without written authorization, though quoting with attribution is explicitly allowed — keep that in mind before using results in anything published.
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": {
"matrix_code": "<matrix_code>",
"selections": "<selections>"
},
"name": "ins_tempo_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selections | Yes | ||
| matrix_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |