Skip to main content
Glama

submit_work_receipt

Store the buyer's signed accepted/disputed receipt for this result. Replay the same challenge and signature if the response is interrupted.

Input Schema

NameRequiredDescriptionDefault
ticketIdYes
signatureYes
challengeIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful traits: this is a write ('Store') and it is safely idempotent on retry ('Replay the same challenge and signature'). It omits auth/permission requirements, what happens to an existing receipt, and how errors surface, so the disclosure is partial rather than complete.

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?

Two tight sentences with no filler, and the core action is front-loaded ahead of the retry caveat. The phrasing 'for this result' is slightly cryptic but costs little space.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-required-parameter mutation with no annotations, no output schema, and zero schema descriptions, the definition should explain prerequisites, parameter roles, and outcome. It only covers the retry case, leaving an agent without enough to call it correctly the first time.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must explain all three parameters. It gestures at challengeId and signature via 'challenge and signature', but says nothing about ticketId, the UUID formats, or that the signature is a 0x-prefixed 130-hex value over the challenge. The most important binding semantics are left undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Store' and resource 'buyer's signed accepted/disputed receipt' give a workable sense of the action, and it hints that the receipt is bound to a result. However, 'for this result' is vague, and nothing distinguishes it from close siblings such as submit_delivery_receipt, submit_work_ticket_result, or create_work_receipt_challenge, so an agent cannot confidently route to it on name and description alone.

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

Usage Guidelines2/5

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

The only guidance offered is a retry rule ('Replay the same challenge and signature if the response is interrupted'), which is about recovery rather than tool selection. There is no statement of when to call this versus create_work_receipt_challenge or the other submit_* siblings, and no mention of the prerequisite that a challenge and buyer signature must already exist.

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