Skip to main content
Glama

vokse

Product price history

receipt_item_price_history
Read-only

How the unit price of a product moved over time, from receipt photos: per month (default) or week, quantity-weighted average plus min/max per base unit (kg, l, unit) and the merchants. Answers "how much has the price of apples gone up this year". Compare the first and last buckets and say the unit; if there are fewer than two buckets say there is not enough history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesProduct to follow, e.g. "apples".
bucketNomonth (default) or week.
dateToNoPurchases on or before this day, YYYY-MM-DD.
dateFromNoPurchases on or after this day, YYYY-MM-DD.
merchantNoOnly shops whose name contains this text.
householdIdNoHousehold ULID to act on. Call list_households for the covered households; may be omitted only when the connection covers exactly one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / bucket / description
      Added value: +"month (default) or week."
    • addedInput schema / properties / dateFrom / description
      Added value: +"Purchases on or after this day, YYYY-MM-DD."
    • addedInput schema / properties / dateTo / description
      Added value: +"Purchases on or before this day, YYYY-MM-DD."
    • addedInput schema / properties / merchant / description
      Added value: +"Only shops whose name contains this text."
    • addedInput schema / properties / q / description
      Added value: +"Product to follow, e.g. \"apples\"."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark this as read-only and non-destructive. The description adds meaningful behavior context: quantity-weighted averaging, min/max per base unit, merchant inclusion, bucket comparison, and the insufficient-history fallback. No contradiction with 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 three sentences with the core purpose front-loaded)Skip. Every sentence adds distinct value: the behavior summary, the example question, and the output-handling instruction. There is no filler or duplication of schema content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 return semantics, and it does so well: average/min/max per base unit, merchants, bucket comparisons, and the few-buckets fallback. Combined with complete schema parameter notes, an agent has enough to call and interpret the tool correctly.

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?

The input schema covers all six parameters with descriptions, so the baseline is 3. The description repeats the month/week default and gives a product example, but does not materially clarify date, merchant, or householdId semantics beyond what the schema already states.

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 clearly states what the tool does: it shows how a product's unit price moved over time from receipt photos, with aggregation details. It specifies the resource (product price history) and distinguishes it from sibling receipt/search tools even without naming them.

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 description gives a concrete question the tool answers ('how much has the price of apples gone up this year') and explains the bucket comparison behaviorhare. It does not explicitly contrast it with alternatives like search_receipt_items or summarize_receipt_items, so it falls short of full exclusion guidance.

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