Skip to main content
Glama

Take back a request

withdraw_request

Take back a request nobody has decided yet, because the plan changed or the user no longer wants it. Afterwards the action must not happen; ask again if it is needed later.

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": {
      "request_id": "<request_id>"
    },
    "name": "withdraw_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe `id` that `request_approval` returned.

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 declare a non-readOnly, non-idempotent, non-destructive mutation, and the description adds semantics annotations cannot carry: the precondition that the request is undecided and the downstream guarantee that 'the action must not happen' afterward. It does not say what happens on an already-decided or already-withdrawn request, which matters given idempotentHint=false.

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 sentences, zero filler, with the precondition and the consequence front-loaded. Nothing is repeated from the title or schema.

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 mutation with no output schema and full schema coverage, the description covers when to use it, the precondition, and the effect on the underlying action. The only real gap is error/no-op behavior when the request is no longer undecided.

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?

Single parameter with 100% schema coverage, and the schema already explains that it is the id returned by request_approval. The description adds no further meaning about the identifier, so the baseline of 3 for fully documented schemas 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?

Names a specific verb ('take back') plus the resource ('a request') and adds a scoping precondition ('nobody has decided yet'), so the agent knows this only applies to pending requests. It is clearly different in kind from request_approval, check_approval, and report_outcome, though it does not name a sibling explicitly.

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?

Gives concrete triggering conditions ('the plan changed or the user no longer wants it') and an implied follow-up ('ask again if it is needed later'), which points back to request_approval. It stops short of explicitly naming alternatives or stating the case where the request is already decided.

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