Skip to main content
Glama

spendctl

List receipts

list_receipts
Read-only

Lists the sandbox agent's most recent payment attempts, newest first: paid (amount and mock transaction hash), refused (reason codes) and waiting for approval. Use it to report what happened so far or to find a receipt id; after a hold, the approval id is in the sandbox_pay result. Returns up to limit lines, one per attempt, with time, receipt id, method, URL, amount and status, or "No payments yet." Read-only.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many attempts to return, newest first (1 to 100, default 10)
sandbox_idYesThe sandbox_id returned by sandbox_create (32 hex characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"How many attempts to return, newest first (1 to 100, default 10)"
    • changedInput schema / properties / sandbox_id / description
      Previous value: -"The sandbox_id returned by sandbox_create"New value: +"The sandbox_id returned by sandbox_create (32 hex characters)"
  2. 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 and openWorldHint=false, so the trailing 'Read-only' adds little, but the description contributes real behavioral context: newest-first ordering, one line per attempt, the empty-state string 'No payments yet.', and the failure mode of refused attempts carrying reason codes. It does not mention pagination beyond limit or rate limits, keeping 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.

Conciseness4/5

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

Well front-loaded: what it lists, then when to use it, then return shape. It is a dense single paragraph with little waste, though the trailing 'Read-only.' partly repeats the annotation and the return-field enumeration could be trimmed.

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?

No output schema exists, and the description compensates by enumerating return fields (time, receipt id, method, URL, amount, status) and the empty-result message. For a 2-parameter read-only list tool, an agent has everything needed to call and interpret it.

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%, including range, default and pattern for both parameters, so the schema does the heavy lifting. The description only clarifies that `limit` counts lines/attempts and that ordering is newest first, which is a marginal addition over the schema text.

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 (lists) and resource (sandbox agent's most recent payment attempts) with scope and ordering (newest first), plus the three outcome categories covered. An agent can distinguish it from sandbox_pay (which makes payments) and approve (which handles holds) 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 use cases — 'report what happened so far' or 'find a receipt id' — and cross-references sandbox_pay for the approval id after a hold. It stops short of an explicit exclusion (e.g. 'do not use to make or approve payments, use X instead'), but the routing intent is clear.

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