Skip to main content
Glama

Faostat Data

faostat_data
Read-onlyIdempotent

Observations from a FAOSTAT domain — the actual numbers, with units, year and data-quality flag. AUTHORITATIVE for "how much did produce in ", world agricultural trade flows, fertiliser and pesticide use, agricultural emissions and food-balance data. Pass codes from faostat_dimensions: area (country), element (what is measured) and item (the commodity) are all numeric domain-specific codes, not names. Example: domain "QCL", area "231" (United States of America), element "5510" (production quantity), item "15" (wheat), years "2020,2021,2022".

Input Schema

NameRequiredDescriptionDefault
areaNoOne or more FAOSTAT area codes, comma-separated, e.g. "231" or "231,68,100". From faostat_dimensions dimension "area".
itemNoOne or more item codes, comma-separated, e.g. "15" (wheat). From faostat_dimensions dimension "item".
yearNoOne or more years, comma-separated, e.g. "2022" or "2018,2019,2020,2021,2022". Omit for every year the domain holds.
limitNoMax observations to return (default 100, max 2000).
elementNoOne or more element codes, comma-separated, e.g. "5510" (production quantity). From faostat_dimensions dimension "element".
domain_codeYesFAOSTAT domain code, e.g. "QCL". From faostat_domains.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description still adds real behavioral context: what the payload contains (units, year, data-quality flag) and the critical caveat that identifiers are numeric domain-specific codes, not names.

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?

Purpose and authority are front-loaded in the first two sentences, followed by the code caveat and a compact example. The middle sentence is list-dense, but every clause identifies a supported query class rather than padding.

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 no output schema, the description carries the return-value burden and does so (numbers with units, year, quality flag). It also documents the domain-code dependency and gives an end-to-end example, so an agent has everything needed for a 6-parameter call.

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

Parameters4/5

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

Schema coverage is 100%, so 3 is the floor. The description goes further by stressing that area/element/item are numeric domain-specific codes rather than names, and provides a fully worked example mapping codes (QCL/231/5510/15) to meanings, which reduces mis-invocation risk.

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?

States a specific resource ('Observations from a FAOSTAT domain — the actual numbers') and what they carry (units, year, data-quality flag), then names the exact question classes it is authoritative for. It is clearly distinguished from faostat_dimensions and faostat_domains, which supply codes rather than numbers.

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?

Gives clear context for when to use it ('how much <crop> did <country> produce in <year>', trade flows, fertiliser/pesticide, emissions, food balance) and a prerequisite routing rule: pass codes obtained from faostat_dimensions. It stops short of stating when not to use it or naming a competing sibling tool to avoid.

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.