Skip to main content
Glama

get_indicator_data

Retrieve health indicator observations from WHO Global Health Observatory by indicator code, with optional filters for country, year, sex, and dimensions.

Instructions

Fetch observations for one indicator with optional filters.

Args: indicator_code: e.g. "WHOSIS_000001" (life expectancy at birth). country: ISO3 code, country name, region code (AFR/AMR/SEAR/EUR/EMR/WPR), "GLOBAL", or income-group code (WB_HI/WB_UMI/WB_LMI/WB_LI). region_code: Deprecated alias for country. Use country instead. Cannot be combined with country — pass only one. year_start: Inclusive lower bound on TimeDim (year). year_end: Inclusive upper bound on TimeDim (year). sex: Accepts "BTSX"/"both", "MLE"/"male", "FMLE"/"female" or the raw "SEX_BTSX"/"SEX_MLE"/"SEX_FMLE" codes. dim_filters: Extra dimension filters as {field: value}, e.g. {"Dim1": "AGEGROUP_YEARS15-49"} or {"Dim2": "RESIDENCEAREATYPE_RUR"}. Each pair becomes an OData equality filter. Use describe_indicator_dimensions first to see the available Dim1/Dim2 types and values for an indicator. Cannot include "Dim1" if sex is also passed. top: Max rows returned, default 100, capped at 1000.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indicator_codeYes
countryNo
region_codeNo
year_startNo
year_endNo
sexNo
dim_filtersNo
topNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden. It discloses the 'top' parameter cap at 1000, default 100, and constraints like dim_filters vs sex conflict. However, it omits details like rate limits, data freshness, or pagination behavior, making it adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a well-organized docstring with clear bullet points and sections. It is somewhat long but each part adds value. Minor redundancy could be trimmed, but overall it is appropriately sized and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (8 parameters, no schema descriptions), the description covers all parameters, constraints, and cross-references (e.g., describe_indicator_dimensions). With an output schema present, return values are not needed. The description is complete for a data-fetching tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must add meaning. It does this excellently for all 8 parameters, providing valid values, examples, units, and constraints (e.g., region_code deprecated, dim_filters interaction). This fully compensates for the missing schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Fetch observations for one indicator with optional filters,' providing a specific verb and resource. However, it does not differentiate from sibling tools like get_indicator_data_raw, so purpose clarity is not perfect.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus siblings. While parameters are explained, the description lacks context like 'when to use get_indicator_data vs get_indicator_data_raw' or 'use describe_indicator_dimensions first,' which limits usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Decilion/gho-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server