Skip to main content
Glama

submit_work_ticket_result

Submit a bounded result after the ticket payment is confirmed. Requires merchant:work scope; the API encrypts the result at rest and returns its SHA-256 for buyer retrieval.

Input Schema

NameRequiredDescriptionDefault
resultYes
ticketIdYes
contentTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers real value: required merchant:work scope, at-rest encryption of the payload, and a returned SHA-256 for buyer retrieval — a genuinely non-obvious side effect. Gaps remain on idempotency/resubmission behavior and what 'bounded' actually limits (size or shape), which matter for a write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

A single dense sentence with the precondition front-loaded and zero filler; the scope and hash-return details follow in the order an agent needs them. Nothing is redundant with the schema fields.

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

Completeness3/5

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

For a 3-required-param mutation with no annotations and no output schema, the description covers authorization, encryption, and the return hash, which is above minimum. It still leaves the meaning of the result payload's boundedness and any retry/immutability rules unstated, so an agent could invoke it correctly but not confidently at the edges.

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 description coverage is 0% and the description explains none of the three required parameters. 'Bounded result' hints that the result payload has constraints but never states a size or format limit, and ticketId/contentType semantics (beyond the enum itself) are not addressed. With low coverage, the description should compensate and does not.

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 ('Submit a bounded result') plus the key precondition ('after the ticket payment is confirmed'), which clearly separates it from siblings like submit_work_receipt, submit_delivery_receipt, and read_work_ticket_result. An agent can identify the operation and its lifecycle position without opening the 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?

The gating condition ('after the ticket payment is confirmed') gives clear when-to-use context and implicitly excludes pre-payment or read workflows. It stops short of explicitly naming alternatives (e.g. read_work_ticket_result for retrieval, create_work_result_challenge for prior signing steps), so routing among the many ticket siblings still requires inference.

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