Skip to main content
Glama

FAO Water Stress (SDG 6.4.2)

faostat.environment.water_stress
Read-onlyIdempotent

Retrieve freshwater withdrawal as a percentage of available freshwater resources for a country. High values (>40%) indicate severe water stress. Data from FAO FAOSTAT — UN SDG Indicator 6.4.2. Covers 211 countries. Accepts ISO alpha-2 (e.g. "IN"), alpha-3, or ISO numeric country codes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_yearNoEnd year for the time series (default: latest available)
start_yearNoStart year for the time series (default: 2015, earliest available: 1961)
country_codeYesCountry code: ISO 3166-1 alpha-2 (e.g. "IN", "US", "ET"), alpha-3 (e.g. "IND"), or ISO numeric (e.g. "356")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, and the description adds meaningful context beyond that: the metric's definition, the >40% severe-stress threshold, source provenance, and coverage of 211 countries. No contradiction with annotations.

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?

Three sentences with no wasted words: the first states the core action, the second adds the interpretation threshold, and the third covers source, coverage, and accepted code formats. Information is front-loaded and every sentence earns its place.

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?

With an output schema present and rich annotations, the description covers purpose, metric definition, threshold, provenance, country coverage, and accepted code formats. Nothing essential for selecting and invoking the tool is missing.

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?

Schema description coverage is 100%, so the baseline is 3. The description reiterates the accepted country code formats (alpha-2, alpha-3, numeric) that are already documented in the schema, and adds no new parameter-level semantics for start_year or end_year.

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?

Specific verb 'Retrieve' plus a clearly defined resource: 'freshwater withdrawal as a percentage of available freshwater resources for a country'. It is tied to SDG Indicator 6.4.2 and FAOSTAT, making it distinct from sibling faostat tools like food_insecurity or forest_area without any ambiguity.

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

Usage Guidelines4/5

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

The description clearly frames the use context: country-level water stress data from FAO FAOSTAT covering 211 countries, with a threshold interpretation for severe stress. It does not explicitly name alternatives or exclusions, so it stops short of a 5, but the context is unmistakable.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.