Skip to main content
Glama

get_receipts

Read-only

Get every target this request fanned out to, each with its delivery receipt or the reason it has none. A still-moving delivery (queued/retrying) answers from the live tracking copy, a terminal one (delivered/failed) from durable storage — the response shape is identical either way, so poll this on an interval with the same requestId a 202 response returned and watch status move to a terminal value. Each entry has targetId, targetURL, available, and when available: status (queued/retrying/delivered/failed), attempt, enqueuedAt/updatedAt/completedAt (unix ms), terminalError, callbackState (none/pending/delivered/failed — whether the target's completion-callback URL, if any, has been notified). When available is false, reason is "sync_or_stream_delivery" (the target answers inside the original HTTP response and is never tracked here — see the response body from that call instead) or "not_found" (no record for this target, e.g. aged past the retention window).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestIdYesUUID returned by the relay in 202 responses or visible in list_requests rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description explains nuanced internal behavior: queued/retrying deliveries read from a live copy while terminal ones read from durable storage, yet response shape remains identical. It also details what each field means (status, attempt, timestamps, terminalError, callbackState) and the meaning of unavailable reasons, giving agents deep insight into what to expect when invoking the tool.

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 front-loaded with the main purpose in the first sentence, then expands into behavioral detail. It is dense but each clause adds meaningful information about response fields, statuses, or alternatives. A slightly more structured format (e.g., bullets for field lists) could enhance skimmability, but the prose is efficient and well-ordered.

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?

Given there is no output schema, the description carries the full burden of explaining return values, and it does so exhaustively: it covers both terminal and non-terminal delivery states, the exact field names and their types, the conditions for unavailable reasons, and even mentions the callbackState field. This is complete enough for an agent to correctly parse and act on the response without further documentation.

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 already fully describes requestId with source (202 responses, list_requests rows) and required status. The description's reference to 'the same requestId a 202 response returned' adds no new parameter-level semantics beyond reinforcing the polling pattern. Schema coverage is 100%, so 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?

The description opens with a clear, specific verb+resource statement: 'Get every target this request fanned out to, each with its delivery receipt or the reason it has none.' This distinguishes it from siblings like get_request and list_requests, clarifying its unique scope as a receipt/log inspection tool rather than a general request fetcher.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'poll this on an interval with the same requestId a 202 response returned,' providing concrete guidance on when to use it (polling after a 202). It also names an alternative for sync_or_stream_delivery targets: 'see the response body from that call instead.' This gives both when and when-not 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