Skip to main content
Glama

create_work_ticket_grant_challenge

Create a buyer-signed, ticket-specific budget grant. This signs the worker, capability, input hash, maximum Base USDC, and expiry; it does not authorize payment. Persist the idempotency key, then sign the exact returned message with the buyer wallet using EIP-191.

Input Schema

NameRequiredDescriptionDefault
buyerYes
inputYes
capabilityYes
merchantIdYes
maxPriceUSDCYes
idempotencyKeyYes
expiresInSecondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/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. It usefully discloses that this signs specific fields, does not authorize payment, requires persisting an idempotency key, and expects EIP-191 signing of the returned message. It does not describe server-side persistence, authentication requirements, error behavior, or rate limits, so significant gaps remain.

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 purpose and then adds signing scope and a workflow instruction. It is compact and each sentence adds some value. Minor ambiguity around 'worker' and the input hash keeps it from being fully polished.

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 7-parameter tool with no annotations and no output schema, the description provides important context about what gets signed and the next signing step. However, it leaves key schema semantics undocumented, especially merchantId and the nested input object, and does not explain the returned payload shape beyond instructing the caller to sign it.

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%, so the description must compensate. It mentions capability, input hash, max USDC, expiry, and idempotency key, but it omits merchantId entirely and does not clarify buyer address semantics. It also refers to 'worker' even though there is no worker parameter in the schema.

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 and resource: create a buyer-signed, ticket-specific budget grant. It also clarifies that this is a signing challenge and not a payment authorization, which helps distinguish it from payment tools. However, it does not explicitly name the closest sibling, complete_work_ticket_grant, or explain how it differs from other challenge-creation tools.

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

Usage Guidelines3/5

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

Usage is implied through workflow instructions: persist the idempotency key, then sign the returned message. It also notes that the grant does not authorize payment, which suggests when this step belongs in the flow. But it gives no explicit when-to-use versus alternatives, no prerequisites, and no exclusions.

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