Skip to main content
Glama

Magpie — USDA Ag Markets: Grain, Fertilizer, WASDE & Export Sales

get_fertilizer_history

Read-onlyIdempotent

Price history for one fertilizer product across report periods, from the same twice-monthly USDA MARS production cost reports behind get_fertilizer_price. Use for input-cost trends; use get_fertilizer_price instead when only the latest quote matters. Read-only lookup of stored reports; no API key. Returns up to periods most recent reports, oldest first (default 12, max 52 — roughly two years of twice-monthly reports).

Input Schema

NameRequiredDescriptionDefault
periodsNoNumber of most recent report periods to return (default 12, max 52)
productYesProduct slug (e.g. anhydrous_ammonia, urea, dap)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / periods / description
      Previous value: -"Number of periods (max 52)"New value: +"Number of most recent report periods to return (default 12, max 52)"
    • addedInput schema / properties / product / description
      Added value: +"Product slug (e.g. anhydrous_ammonia, urea, dap)"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new context: provenance (twice-monthly USDA MARS production cost reports), 'no API key', and result ordering ('oldest first'), which the annotations do not convey. Rate limits or per-report field detail are absent, keeping it short of a 5.

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 ordered purpose → usage/alternative → behavior, each carrying distinct information. No filler, and the purpose is front-loaded.

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 still tells the agent what comes back (a sequence of report periods, oldest first, bounded by `periods`) and where the data originates. It stops short of describing the per-report fields, which is the main remaining unknown for a history tool.

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 nonetheless adds meaning the schema lacks, notably the 'oldest first' ordering of the returned periods and the 'roughly two years' framing of max 52. It repeats default/max from the schema rather than extending it further.

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 verb and resource ('Price history for one fertilizer product across report periods') and immediately identifies the data source. It explicitly distinguishes itself from the sibling get_fertilizer_price, so an agent can route correctly without opening either schema.

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?

Gives both directions explicitly: 'Use for input-cost trends' and 'use get_fertilizer_price instead when only the latest quote matters.' The alternative and the condition that selects it are named, leaving nothing 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.

Resources