Skip to main content
Glama

memory_cancel_ticket

Idempotent

Cancel a ticket. Allowed: creator, claimer, or an active main/lead/reviewer agent.

Instructions

Cancel a ticket. Allowed: creator, claimer, or an active main/lead/reviewer agent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_name": "<agent_name>",
      "ticket_id": "<ticket_id>"
    },
    "name": "memory_cancel_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
ticket_idYes
agent_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.4

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already declare destructiveHint=false, idempotentHint=true and openWorldHint=false, so safety and repeat-call behavior are covered. The description adds the permission model, which is real value beyond the annotations. It still omits whether the ticket can be recovered afterward, what happens to an existing claim, and whether cancelled tickets remain visible to list_tickets.

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 short sentences, front-loaded with the action and then the constraint, with no filler. The only knock is that brevity here leans toward under-specification rather than efficiency.

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?

An output schema exists, so return values need not be explained. But for a state-mutating ticket tool with three undocumented parameters and several overlapping siblings, the definition leaves the agent without the preconditions, parameter roles, or post-cancel state needed to invoke it confidently.

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 carries the full burden for all three parameters and does not meet it. It never mentions ticket_id, agent_name (is it the caller or the target of the action?), or whether reason is optional and recorded. The agent must infer all parameter meaning from bare titles.

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 description states a specific verb and resource ("Cancel a ticket"), which is clear enough on its own. However, the sibling list contains memory_terminate_ticket, memory_submit_ticket, and memory_review_ticket, and the description does nothing to distinguish cancelling from terminating or submitting. An agent has to guess which of the ticket-lifecycle siblings to pick.

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?

The authorization clause ("Allowed: creator, claimer, or an active main/lead/reviewer agent") is a genuine prerequisite that tells the agent whether it is eligible to call the tool. But there is no guidance on when cancelling is the right action versus terminate_ticket or submit_ticket, and no stated preconditions such as ticket state.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.