Skip to main content
Glama

CropHist

compare_years

Compare what was growing on a field between two specific years. Provide either a field_id or lat/lng coordinates, plus two years to compare.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year_a": "<year_a>",
      "year_b": "<year_b>"
    },
    "name": "compare_years"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (optional if field_id provided)
lngNoLongitude (optional if field_id provided)
year_aYesFirst year to compare (2008-2024)
year_bYesSecond year to compare (2008-2024)
field_idNoCropHist field ID (optional if lat/lng provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description bears the full disclosure burden, and it says nothing about what the comparison returns (crop names per year, deltas, classifications), whether either year may lack data, or how ambiguity between field_id and coordinates is resolved. Only the location-input requirement is disclosed; permissions, failure modes, and response shape are absent.

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?

Two sentences, no filler, with the core purpose front-loaded before the input requirement. Every clause carries actionable information.

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?

With no annotations and no output schema, the description should compensate by sketching what the comparison produces and how missing or ambiguous inputs behave. It covers the input side adequately but leaves the return value and edge cases entirely unspecified, which is a meaningful gap for a comparison tool.

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%, with each parameter documenting its role and the year range 2008-2024, so the schema does the heavy lifting and a 3 is the baseline. The description only restates the either/or requirement for field_id versus lat/lng, adding no format, precedence, or validation detail beyond the schema.

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 names a specific verb ('Compare') and resource ('what was growing on a field') with an explicit two-year scope, which is clear and actionable. It does not contrast itself against plausible siblings such as crop_stats or analyze_polygon, so an agent must infer the difference from their names alone.

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?

It states the input precondition that either a field_id or lat/lng must be supplied alongside two years, which is real usage guidance. However, there is no statement of when to prefer this over crop_stats or analyze_polygon, nor any exclusion or error condition, leaving the choice between siblings implied.

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.

Resources