Skip to main content
Glama

Egg Prices and Grocery Prices MCP

Grocery price history

grocery_price_history
Read-onlyIdempotent

Monthly BLS average prices of one item between two months (most items go back to 1980): every month, the first and last price and the change, the high and low with their months, and yearly averages. Default the last 24 published months.

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": {
      "item": "<item>"
    },
    "name": "grocery_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast month, YYYY-MM or a year. Default the latest published month.
fromNoFirst month, YYYY-MM or a year. Default 23 months before to.
itemYesItem: eggs, milk, butter, cheddar_cheese, ice_cream, ground_beef, sirloin_steak, round_steak, chicken_whole, chicken_breast, bacon, pork_chops, bread, flour, rice, cookies, coffee, orange_juice, beer, sugar, bananas, oranges, lemons, tomatoes, potatoes, lettuce, gasoline, gasoline_premium, diesel, electricity, natural_gas. Plain words such as "egg prices", "beef" or "gas" also work.
regionNous (default, U.S. city average), northeast, midwest, south, west, or a US state (mapped to its census region; BLS has no state averages). grocery_price also takes "all".

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 declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds real behavioral value beyond that: it discloses the exact return contents per month (first/last price and change, high/low with months, yearly averages), the data source (BLS), and the historical depth. It does not discuss result volume or truncation for long ranges, which keeps 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?

Two sentences, front-loaded with the purpose and data source, then a compact enumeration of return fields, then the default. No filler or redundancy; every clause carries information an agent would otherwise have to infer.

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 correctly spends its budget explaining the returned structure, and the input schema fully covers all four parameters, so an agent has what it needs to call the tool. The remaining gap is routing guidance relative to the three sibling tools, which is thin.

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, but the description adds meaning by resolving the schema's confusing default pairing into 'the last 24 published months' and by noting that most items go back to 1980, which informs what values of from are valid. It does not clarify region behavior (state-to-census-region mapping) beyond the schema, so it stops short of 5.

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?

States a specific verb+resource: 'Monthly BLS average prices of one item between two months,' plus data provenance and coverage depth (back to 1980). It implicitly distinguishes itself from grocery_price by emphasizing a range between two months, but it never names a sibling or states explicitly how it differs from grocery_price or grocery_prices_compare.

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 only usage guidance is the default window ('Default the last 24 published months'), which implies this is the tool for historical/multi-month lookups. There is no explicit when-to-use vs grocery_price or grocery_prices_compare, and no exclusions; an agent must infer the routing from the word 'history' in the name and the range phrasing.

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.