Skip to main content
Glama

Get latest health observation

get_latest_observation
Read-only

Obtain the current observation for a specified indicator, including its definition, unit, and provenance. Optional filters for sex, geography, and rate type refine the query.

Instructions

Return the latest observation with definition and full provenance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sexNoOptional sex filter: female, male, or all.
unitNoOptional canonical unit filter.
queryNoIndicator query used when indicator_id is omitted.
sourceNoOptional source identifier.
geographyNoOptional published geography.
rate_typeNoExplicit epidemiological rate definition. Omission produces an ambiguity error when several definitions are valid.
indicator_idNoExact identifier returned by search_indicators.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
indicatorYes
observationYes
Behavior3/5

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

The description adds that the result includes definition and full provenance, but it does not mention error conditions, how 'latest' is determined, or what happens when no observation exists. The readOnlyHint=true annotation covers safety, so the description doesn't need to restate that, but more behavioral detail would be helpful.

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

Conciseness5/5

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

The description is a single sentence that efficiently states the action, resource, and key added value ('definition and full provenance'). No fluff or unnecessary details are present.

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

Completeness3/5

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

The presence of an output schema and fully described parameters covers the return value and argument semantics. However, the description lacks usage context and does not differentiate from sibling tools, which is a notable gap for a tool with this many optional filters.

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

Parameters3/5

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

The input schema covers 100% of parameters with descriptive text, so the baseline is 3. The description itself does not add parameter-level meaning, but the schema already provides clarity, including important warnings like rate_type's ambiguity error.

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 uses a specific verb ('Return') and resource ('latest observation'), and adds 'with definition and full provenance' to clarify scope. It distinguishes from siblings by focusing on the singular latest result, though it doesn't explicitly contrast with get_observations.

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?

The description provides no guidance on when to use this tool versus get_observations or search_indicators. It does not mention scenarios like retrieving a single most recent record versus a full time series, leaving the agent to infer the intended use from context.

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/heidihelena/sourcevahti'

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