Skip to main content
Glama

Withdraw a change waiting for approval

cancel_change
Idempotent

Withdraw a change you asked for that is still waiting for a person to approve it, so it can never be approved. It only ever stops something happening.

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": {
      "change_id": "<change_id>"
    },
    "name": "cancel_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
change_idYesThe change_id of the pending change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true; the description adds real context beyond them by explaining the consequence ('can never be approved') and framing the mutation as non-destructive ('It only ever stops something happening'), which resolves the apparent tension of a state-changing but non-destructive write. It does not say whether the change record is deleted or merely marked withdrawn, or whether the approver is notified.

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 short sentences, front-loaded with the action and precondition, followed by the one piece of behavioral nuance an agent needs. Nothing is redundant with the title or schema repetition.

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

Completeness4/5

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

For a one-parameter, non-idempotent-looking but idempotent mutation with no output schema, the definition covers what it does, the precondition, and the effect. Remaining gaps are minor: post-call state of the change and whether ownership by the caller is enforced.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single change_id parameter, so the schema already carries the burden. The description reinforces that the id must refer to your own pending change but adds no syntax, format, or validation detail beyond that. Baseline 3 applies.

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?

States a specific verb and resource plus a scope precondition: 'Withdraw a change you asked for that is still waiting for a person to approve it'. An agent knows exactly what the tool does. It does not name or distinguish itself from likely siblings such as undo_change or cancel_scheduled_invite, which is the only thing keeping it from a 5.

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 condition that selects this tool is explicit: the change must still be pending human approval. It says nothing about when not to use it or which alternative to pick if the change was already approved or was never a request of yours, so a small inference gap remains.

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