Skip to main content
Glama

Moneda

list_receipts

Read-only

List the user's transaction receipts (PDFs, images, structured invoices), newest first. Each entry carries extracted summary fields (merchant, total, date, currency) plus the linked transactionId when attached. Use transactionHash (from get_transactions) to scope to one transaction, needsReview=true to find rows flagged for manual review, and status to filter by lifecycle state. Default page 20, max 100.

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": "list_receipts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 20, max 100).
offsetNoNumber of receipts to skip for pagination.
statusNoFilter by lifecycle status. Default: everything except DELETED.
needsReviewNoIf true, only return rows the extractor flagged for manual review.
transactionHashNoRestrict to receipts linked to a single transaction (on-chain hash from get_transactions).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds real context beyond that: newest-first ordering, the default page size of 20 with a max of 100, and the extracted summary fields each entry carries. It does not mention auth requirements or whether a total count is returned, which keeps it below 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?

Four tight sentences with no filler: purpose and ordering first, then return shape, then the three filter knobs, then pagination defaults. Slightly dense but every clause earns its place.

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?

There is no output schema, so the description's disclosure of the returned summary fields (merchant, total, date, currency, transactionId) is essential and present. Pagination defaults, ordering, and the implicit exclusion of DELETED rows from the default status filter are all covered, leaving nothing an agent needs to call it 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?

Schema coverage is 100% and every parameter already carries a description, so the schema does the heavy lifting. The description restates transactionHash's provenance and default page sizing, which largely duplicates the schema text rather than adding new semantics. Baseline 3 applies.

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?

States a specific verb and resource ('List the user's transaction receipts'), enumerates the artifact types covered (PDFs, images, structured invoices), and specifies ordering ('newest first'). An agent can distinguish this listing tool from get_receipt or search_receipt_line_items without opening a schema.

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?

Gives concrete selection guidance for three parameters: transactionHash to scope to one transaction (and points to get_transactions as its source), needsReview for manually flagged rows, and status for lifecycle filtering. It does not state when to prefer get_receipt for a single receipt or when search_receipt_line_items is the better tool, so it stops short of full alternative routing.

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