Skip to main content
Glama

vokse

Search receipt items

search_receipt_items
Read-only

Line items read from receipt photos, newest purchase first: description, canonical product name, brand, quantity + unit, unit price, line total, and the unit price per base unit (kg, l, unit). q matches product names ("manzana", "papel higiénico"); merchant narrows to one shop; dateFrom/dateTo bound the purchase day. Use it to answer "what did I pay for X on that receipt" or to list what was bought somewhere.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoProduct words; every word must match.
sortNodate (default, newest first), unitPrice or total, highest first.
limitNoPage size. Defaults to 20.
cursorNonextCursor from the previous page (date sort only).
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.
receiptIdNoOnly the lines of this receipt, from list_receipts.
householdIdNoHousehold ULID to act on. Call list_households for the covered households; may be omitted only when the connection covers exactly one.
transactionIdNoOnly the receipts linked to this transaction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"nextCursor from the previous page (date sort only)."
    • 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 / limit / description
      Added value: +"Page size. Defaults to 20."
    • addedInput schema / properties / merchant / description
      Added value: +"Only shops whose name contains this text."
    • addedInput schema / properties / q / description
      Added value: +"Product words; every word must match."
    • addedInput schema / properties / receiptId / description
      Added value: +"Only the lines of this receipt, from list_receipts."
    • addedInput schema / properties / sort / description
      Added value: +"date (default, newest first), unitPrice or total, highest first."
    • addedInput schema / properties / transactionId / description
      Added value: +"Only the receipts linked to this transaction."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds value on top by describing that results are newest-first by default, what fields come back, and how q/merchant/date filters narrow the search. It doesn't contradict any annotation and gives behavioral detail beyond the schema.

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?

The description is compact, front-loaded with the object type and output fields, then the filters, then the use case. It lists several output fields, but since no output schema exists, that enumeration earns its place. It is dense but not bloated.

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?

Given 10 parameters, no output schema, and only read-only annotations, the description covers the core return shape and filter semantics. It doesn't explain cursor/pagination bounds in prose, but the schema already handles those descriptions, and the remaining context is adequate for 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?

With 100% schema description coverage, the baseline is 3. The description adds extra semantics: q examples ('manzana', 'papel higiénico'), the meaning of merchant as narrowing to one shop, and the date bounds for purchase day. This enriches the parameter descriptions rather than merely repeating them.

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 states a specific verb and resource: search receipt line items, and it lists exactly what kind of data is returned (description, product name, brand, quantity, prices). It distinguishes itself from sibling tools like list_receipts or summarize_receipt_items by focusing on line-item search and filtering, and the use-case quote clarifies its place.

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?

It explicitly gives usage context: answer 'what did I pay for X on that receipt' or list what was bought somewhere. It does not name specific alternatives to avoid or provide a when-not clause, but the intended triggers are clear enough for an agent to select it appropriately.

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