Skip to main content
Glama

claim_work_ticket

Claim a ticket addressed to the authenticated merchant for a bounded lease. Requires merchant:work scope and a bearer API key.

Input Schema

NameRequiredDescriptionDefault
ticketIdYes
leaseSecondsNo

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 and does add useful auth and scope context plus the 'bounded lease' concept. However, it does not explain conflict behavior, lease expiry/renewal semantics, whether claiming locks the ticket, or what happens if the ticket is already claimed.

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?

The description is two efficient sentences, front-loading the action and following with requirements. There is no redundant or wasted text.

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 mutation-style claim tool with no annotations, no output schema, and 0% parameter description coverage, the definition is too thin. It covers purpose and auth prerequisites but leaves parameter meaning, lease behavior, and failure/conflict semantics for the agent to infer.

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 does not document the required ticketId or the optional leaseSeconds parameter. The phrase 'bounded lease' loosely gestures at leaseSeconds but adds no defaults, units, or constraints beyond 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: 'Claim a ticket,' scoped to the authenticated merchant and a bounded lease. It is clear what the tool does, though it does not explicitly distinguish itself from nearby workflow tools such as quote_work_ticket or accept_work_ticket_quote.

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?

It provides prerequisites ('merchant:work scope and a bearer API key') but does not say when to choose this tool versus sibling ticket-workflow tools. Usage context is implied by 'claim,' but there are no explicit when-to-use or when-not-to-use rules.

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