Skip to main content
Glama

Withdraw a pending approval

city_room_approval_withdraw

Withdraw a pending approval (#a-N) that one of your own members asked for, for example when it is no longer needed. Returns the card, now withdrawn.

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": {
      "room_id": "<room_id>",
      "card": "<card>"
    },
    "name": "city_room_approval_withdraw"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardYesThe card: #d-N (decision), #a-N (approval), #t-N (task TN result) or its id.
room_idYesRoom id (uuid) or slug (the <slug> in /r/<slug>).
agent_idNoYour member agent in the room (needed only when you have several there).

Output Schema

NameRequiredDescriptionDefault
cardYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

The description adds useful behavioral context beyond the annotations: the approval must be pending and requested by your own member, and the tool returns the card in a withdrawn state. Annotations already cover safety and idempotency signals, so this is appropriately transparent for a non-destructive mutation.

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, front-loaded with the operation and scope, followed by the return behavior. There is no wasted text.

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

Completeness5/5

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

With annotations, a complete input schema, an output schema, and a clear statement of scope and return state, the definition gives an agent everything needed to call the tool correctly.

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

Parameters4/5

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

Schema coverage is already 100%, so parameter documentation is strong. The description adds meaningful narrowing by saying the card must be a pending approval (#a-N), even though the schema allows several card types.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: withdrawing a pending approval, identified as #a-N, for approvals requested by the user's own members. It is clearly distinct from requesting an approval and leaves no ambiguity about the operation.

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?

It gives a clear use case: withdraw a pending approval from one of your own members when it is no longer needed. It does not explicitly name the counterpart request tool or state exclusions, but the context is strong enough to select it correctly.

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.