Skip to main content
Glama

Egg Prices and Grocery Prices MCP

Compare grocery prices

grocery_prices_compare
Read-onlyIdempotent

Several items side by side from BLS average price data: the latest monthly price and unit, the change from last month and from a year ago, the biggest 12-month increases and decreases, and any item at a record high. Without items it uses an everyday basket (eggs, milk, bread, ground beef, chicken breast, bacon, coffee, butter, cheddar, bananas, sugar, rice).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "grocery_prices_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoOrder: basket (as given, default), change (largest 12-month increase first), price or name.
itemsNoItems to compare (ids or plain words). Default the everyday basket.
regionNous (default), northeast, midwest, south, west, or a state (its census region).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), and the description adds real value on top: data provenance (BLS average price data), the exact computed metrics returned (month/month and year/year change, biggest gainers and decliners, record-high flags). It stops short of noting data freshness lag, coverage limits of BLS items, or how regional figures are derived, which would push this to 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.

Conciseness4/5

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

Two sentences, front-loaded with the core capability before the default fallback. The parenthetical basket list is long but earns its place by making the zero-argument default predictable; nothing else is padding. Slightly dense phrasing keeps it from a 5.

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 carries the burden of explaining returns and does so well, listing every headline figure a caller gets back. Combined with 100% schema coverage on the three optional parameters, an agent can invoke this confidently; only minor gaps remain (data lag, item id format) that do not block correct invocation.

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, and the description genuinely adds beyond it by enumerating the concrete contents of the default 'everyday basket' (eggs, milk, bread, ground beef, chicken breast, bacon, coffee, butter, cheddar, bananas, sugar, rice), which the schema only names abstractly. It says nothing extra about sort or region semantics, but those are already documented in 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 states a specific verb and resource — several grocery items compared side by side from BLS average price data — and enumerates the outputs (latest price and unit, month-over-month and year-over-year change, biggest 12-month movers, record highs). The phrase 'several items side by side' implicitly distinguishes it from the single-item siblings (grocery_price, grocery_price_history), but no sibling is named, so an agent must infer the boundary.

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?

Usage is only implied by the description's emphasis on multiple items and the default basket behavior; there is no explicit 'use this when comparing multiple items, use grocery_price for one item' routing. The default-basket note gives the agent a viable zero-argument path, which is useful, but there is no when-not guidance or mention of alternatives.

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.