Find Indicator Candidates
find_indicator_candidatesRank indicator codes by matching query text against codelist labels to resolve the subject dimension before choosing dataflows, returning units and data availability per area.
Instructions
Rank indicator codes by matching query text against codelist labels/descriptions. If flowRef is omitted, scan scoped flows and return indicator candidates with matching dataflows.
This is the preferred first step for topical user questions where the subject/metric is not already resolved. For requests such as "stunting in Latin America" or "vaccination coverage in West Africa", call this before search_dataflows so the subject dimension is resolved before flow selection.
Each candidate carries 'unit' (and 'unitMultiplier' where the registry sets one) when it can be resolved. Use it to choose between siblings whose labels are close: a mortality rate reads 'Deaths per 1,000 live births' while the matching count reads 'Number of deaths'. Pass includeUnits=false to skip the lookup.
For a one-country question, pass refArea to mark candidates with hasDataForArea.
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": {
"query": "<query>"
},
"name": "find_indicator_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| flowRef | No | ||
| refArea | No | ||
| flowLimit | No | ||
| flowQuery | No | ||
| includeUnits | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |