Skip to main content
Glama

complete_work_ticket_grant

Create or recover a work ticket using the buyer's EIP-191 signature of the exact grant challenge. No private key is sent. Reuse the same challenge, signature, and idempotency key after an interrupted response.

Input Schema

NameRequiredDescriptionDefault
buyerYes
inputYes
signatureYes
capabilityYes
merchantIdYes
challengeIdYes
maxPriceUSDCYes
idempotencyKeyYes
expiresInSecondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/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 behavioral burden. It usefully discloses that no private key is sent and that idempotent replay is supported after an interrupted response, but it does not cover permissions, expiry/replay failure behavior, side effects, or return shape.

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?

Two tight sentences front-load the action and include only salient constraints: signature, no private key, and idempotent reuse. There is no redundant restatement of the tool name or schema.

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 9-parameter, nested-object mutation with no annotations and no output schema, the description is too sparse. It covers signing and idempotency but omits most parameter meanings and operational behavior.

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% for 9 required parameters. The description gives meaning to signature, challengeId, and idempotencyKey, and implies buyer, but leaves merchantId, capability, input, maxPriceUSDC, and expiresInSeconds unexplained.

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

Purpose4/5

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

The description states a specific verb pair (create or recover) and resource (work ticket), plus the mechanism (buyer's EIP-191 signature over the exact grant challenge). This separates it from the sibling create_work_ticket_grant_challenge, though it does not explicitly name alternatives.

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?

It explains the recovery case clearly: reuse the same challenge, signature, and idempotency key after an interrupted response, which implies the normal flow begins with a grant challenge. It does not explicitly say when not to use it or name sibling tools as alternatives.

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