Skip to main content
Glama

Search USDA Agricultural Market Reports by Commodity

usdamars.reports.search
Read-onlyIdempotent

Search USDA AMS market news reports by commodity or topic keyword within the title. Filter by terms like "cattle", "dairy", "pork", "lamb", "poultry", "egg", "fruit", "vegetable", "grain", "cotton", "boxed beef", or region names. Returns up to 50 matching reports from the last N days sorted by publication date. Source: USDA AMS MyMarketNews — marsapi.ams.usda.gov, public domain, no auth.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of past days to search within (1–30). Default 7.
keywordNoCommodity or topic keyword to filter report titles (case-insensitive). Examples: "cattle", "dairy", "fruit", "grain", "lamb", "poultry", "cotton", "boxed beef", "egg".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate read-only and non-destructive behavior. The description adds valuable context beyond annotations: it discloses a 50-report cap, the last N days window, sorting by publication date, and that no authentication is required. This goes beyond the safety profile provided by annotations.

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?

The description is compact and front-loaded with the core purpose, followed by concrete filtering examples, behavior limits, and source/auth context. Every sentence earns its place; no redundant or filler content.

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 an output schema present and read-only annotations, the description covers the essential behaviors: purpose, parameter examples, limits, sorting, and auth. It does not discuss pagination or explicitly route to sibling tools, but for a simple two-parameter search tool this is nearly complete.

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%, giving a baseline of 3. The description adds meaning by clarifying that keyword searches are applied to the title only and includes additional examples like region names and the 'last N days' time window, enriching parameter understanding beyond the schema itself.

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 clearly states the tool searches USDA AMS market news reports by commodity or topic keyword within the title, with a specific verb and resource. It is distinguishable from siblings like get/list by the 'within the title' scope, though it does not explicitly name sibling alternatives.

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?

The description provides useful context such as example keywords, result limit, time window, and sorting, implying when the tool should be used. However, it does not explicitly contrast with usdamars.reports.list or usdamars.reports.get, leaving the selection decision largely inferred.

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.