Plan Topic Query
plan_topic_queryTransforms topical questions about metrics into an indicator-first SDMX workflow, ranking indicator candidates and identifying required dimensions before dataflow queries.
Instructions
Plan a topical user question into an indicator-first SDMX workflow.
Use this as the first tool for questions about a phenomenon or metric such as stunting, wasting, mortality, literacy, vaccination, or similar subject-matter topics. This tool reads the configured query-dimension policy, highlights the highest-priority required dimension, and returns ranked indicator candidates before any flow-level query. Do not start with search_dataflows for topical questions unless the user explicitly asks for a dataset or dataflow by name.
For a one-country question, pass refArea; if no candidate has data the response says so.
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": {
"question": "<question>"
},
"name": "plan_topic_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refArea | No | ||
| question | Yes | ||
| flowLimit | No | ||
| flowQuery | No | ||
| indicatorLimit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||