Skip to main content
Glama
lpicci96

unesco-mcp

by lpicci96

get_latest_value

Retrieve a UNESCO UIS indicator value for a country or region. Provide the indicator code and optional year to obtain a single data point.

Instructions

Get the value of a UNESCO UIS indicator for a specific country or region.

Returns a single data point — either the most recent available value, or the value for a specific year. Use this for answering questions like: "What is the literacy rate in Kenya?" or "What was the completion rate in Sub-Saharan Africa in 2015?"

GEOGRAPHY RULES:

  • For countries: pass the ISO3 code directly (e.g. "KEN", "FRA").

  • For regions: ALWAYS call search_geo_units first — it will ask the user which grouping system to use. Regional names map to multiple codes with different country compositions; using the wrong one gives silently wrong data.

  • If omitted, the tool will interactively ask the user for the geography.

To find indicator codes, use search_indicators. Always show the user the year alongside the value, since data is not always available for the most recent years.

Args: indicator_code: The indicator code (e.g. "CR.1", "LR.AG15T99"). geo_unit_code: ISO3 code for countries, or a confirmed code from search_geo_units for regions. Omit to trigger interactive geography lookup. year: Optional. The specific year to retrieve. If omitted, returns the most recent available value. If no data exists for the requested year, returns the nearest available year instead, with a note.

Returns: A dictionary with: - "indicator_code": The indicator code. - "indicator_name": Full name of the indicator. - "geo_unit_code": The geo unit code. - "geo_unit_name": Human-readable geography name. - "year": The year of the returned value. - "value": The numeric data value. - "qualifier": Data quality flag if present (e.g. "<", "~"), else null. - "note": Context about the data point (e.g. year range, year substitution).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indicator_codeYes
geo_unit_codeNo
yearNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

No annotations are provided, so the description carries the full burden. It discloses key behaviors: returns a single data point, interactively asks for geography if geo_unit_code is omitted, handles missing years by returning the nearest available year with a note, and includes data quality flags. This provides full transparency about what the tool does beyond the schema.

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 moderately long but well-structured with clear sections (GEOGRAPHY RULES, Args, Returns). Every sentence adds value, though the example questions and some prose could be slightly trimmed without losing clarity. Overall, it is efficient and front-loaded with the core purpose.

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 tool has 3 parameters (one required) and a detailed output schema, the description is extremely complete. It explains return values in a human-readable way (e.g., note about year substitution), covers all behaviors, and provides contextual rules. The output schema already defines the return structure, so the description enhances rather than repeats it.

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 coverage is 0%, so the description must compensate. It does so excellently: it explains indicator_code (e.g., 'CR.1'), geo_unit_code with geography rules (ISO3 for countries, confirmed code for regions, or omit for interactive lookup), and year with default behavior (most recent if omitted, nearest year if no data). This adds critical meaning not in the raw schema.

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

Purpose5/5

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

The description clearly states the tool's purpose: 'Get the value of a UNESCO UIS indicator for a specific country or region.' It uses a specific verb (Get) and resource (value of indicator for geography), and distinguishes from siblings like get_time_series (multiple data points) and search_indicators (finding codes).

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

Usage Guidelines5/5

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

The description provides explicit when-to-use guidance with example questions ('What is the literacy rate in Kenya?'). It also gives when-not-to-use by specifying geography rules (for regions, use search_geo_units first) and references sibling tools like search_indicators for finding codes. It even tells the agent to always show the year alongside the value.

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/lpicci96/unesco-mcp'

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