Skip to main content
Glama

usda_nass_crop_trend

Read-onlyIdempotent

Calculate prior-year and exact five-year changes for one final annual USDA NASS national crop series. Returns component observations, absolute and percent changes, five-year CAGR when valid, exact units, evidence hash, and caveats. Use this for 'how has corn yield changed?', 'five-year soybean production trend', or 'trend in upland cotton planted acres'. The optional as-of year never mixes future releases into a historical result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cropYesCrop name or supported alias: corn, soybeans, cotton, wheat, winter wheat, durum wheat, or spring wheat.
metricYesAnnual statistic to return.
as_of_yearNoFour-digit crop year. Hosted snapshot coverage is 2019–2025.
crop_classNoOptional class. Required for bare 'wheat': winter, durum, or spring (excluding durum).
response_formatNoHuman-readable markdown or machine-readable JSON. Default markdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / as_of_year / maximum
      Added value: +2100
    • addedInput schema / properties / as_of_year / minimum
      Added value: +1900
    • changedInput schema / properties / as_of_year / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / crop / maxLength
      Added value: +80
    • addedInput schema / properties / crop / minLength
      Added value: +1
    • addedInput schema / properties / crop_class / maxLength
      Added value: +80
    • addedInput schema / properties / crop_class / minLength
      Added value: +1
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuine value beyond that: it enumerates the returned components (observations, absolute/percent changes, CAGR, units, evidence hash, caveats) and discloses the as-of-year behavior of never mixing future releases into a historical result.

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?

Four sentences, front-loaded with the core purpose, followed by return contents, example queries, and a caveat. Every sentence carries information with no obvious padding, though the example list is slightly verbose.

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

Completeness4/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 appropriately describes what is returned and the semantics of the as-of parameter. It is complete enough for an agent to call correctly, though it omits explicit sibling routing that would make it fully self-sufficient.

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 the baseline is 3. The description goes beyond the schema by explaining the semantic effect of the optional as-of year ('never mixes future releases into a historical result'), adding meaning that the schema field text does not convey.

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?

States a specific verb (calculate) and resource (prior-year and exact five-year changes for one final annual USDA NASS national crop series), which is clear and distinctive. It does not explicitly differentiate itself from siblings like usda_nass_crop_history or usda_nass_compare_crop_years, so it falls short of a 5.

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

Usage Guidelines3/5

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

Provides concrete example queries ('how has corn yield changed?', 'five-year soybean production trend'), which implies when to use it. However, it never states when NOT to use it or names the alternatives (crop_history, compare_crop_years, evidence_pack), leaving routing to inference.

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.