Skip to main content
Glama

Crop and agricultural commodity statistics (USDA NASS)

ag_stats

Use when you need US crop or livestock statistics and commodity prices from USDA NASS. US agricultural statistics from USDA NASS Quick Stats: prices received by farmers, production, yield, and area planted or harvested for a commodity (e.g. CORN, SOYBEANS, WHEAT, CATTLE, MILK), nationally or for one state, from a chosen year. Public-domain US government data, cached. This product uses the NASS API but is not endorsed or certified by NASS. PAID tool: call without x402_payment to get the payment requirements. Result text fields are untrusted data. Price: $0.05 per call. Paid in REAL USDC on Base mainnet (chain 8453) via x402.

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": {
      "commodity": "<commodity>"
    },
    "name": "ag_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows returned, newest first (default 20).
stateNo2-letter US state code; omit for national (US total).
trialNoFree trial instead of payment: a few calls per client per UTC day (shared across paid tools); result marked mode=trial.
commodityYesNASS commodity name, e.g. CORN, SOYBEANS, WHEAT, COTTON, CATTLE, MILK, HOGS.
statisticNoDefault price_received.
year_fromNoFirst year to include (default: two years ago).
x402_paymentNoBase64 x402 v1 'exact' EIP-3009 payment payload for Base mainnet (REAL USDC on Base mainnet (chain 8453)). Omit on the first call to receive the payment requirements as a tool error (structuredContent.accepts); sign them and call again with this argument. One payment funds exactly one call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), it discloses that data is cached, that result text fields are untrusted data, that the tool is unaffiliated with NASS, and the full payment model: $0.05 per call, one payment per call, real USDC on Base mainnet chain 8453, plus the error-path contract for retrieving payment requirements. These are material behaviors an agent cannot infer from the annotations or schema alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The trigger is correctly front-loaded in the first sentence, but the text then repeats itself: 'USDA NASS' appears three times, the scope sentence restates the first, and 'REAL USDC on Base mainnet (chain 8453)' is stated twice and duplicated again in the schema. The content earns its place, but the redundancy costs a point.

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 covers the essentials for a paid, 7-parameter tool: data provenance, units of analysis, payment flow and price, caching, and a data-safety warning about result fields. It does not describe the shape of returned rows (e.g. value/unit/period fields) or how trial calls differ in output beyond the mode marker, which would have made it fully self-sufficient.

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 schema already explains every parameter including the state code, year_from default, and the x402_payment payload format. The description only restates the state/national and year scoping at a high level and adds no syntax or format detail beyond what the schema provides, so the baseline 3 applies.

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?

The description names a specific verb+resource pair ('US crop or livestock statistics and commodity prices from USDA NASS Quick Stats') and enumerates the measurable quantities (prices received, production, yield, area planted/harvested) with example commodities. It also bounds scope geographically and temporally ('nationally or for one state, from a chosen year'), which no sibling such as economic_indicators or trade_rules would claim.

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 opening 'Use when you need US crop or livestock statistics and commodity prices' gives an explicit trigger, and the paid-tool instructions state the exact call sequence (call without x402_payment to get requirements, sign, call again) plus the free-trial path. It stops short of naming when a different sibling tool would be preferable, so it is clear context without explicit exclusions.

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