Skip to main content
Glama

Withdraw an answer

withdraw_answer
Destructive

An answer withdrawn (list_answers); the reports are computed again.

    In a client's account, only an answer this user's own hand wrote there (the user,
    2026-11-12: a press of one's own is one's own to take back) — the client's answers
    are withdrawn by nobody but the client, and the way to change one is to write the
    next answer (answer_attention_items with that client), which stands over it. The
    owner is told as of every other change another hand makes.

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": {
      "answer_id": "<answer_id>"
    },
    "name": "withdraw_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoAn account this user may read as its accountant (a client's ``user_id`` from list_clients). Left out: their own account, which is every private user's case.
answer_idYesThe answer's ``id``, as list_answers gives it.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / answer_id / description
      Added value: +"The answer's ``id``, as list_answers gives it."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description goes further by naming a concrete side effect (reports are recomputed), an authorization constraint (client-authored answers cannot be withdrawn by the accountant), and a notification to the owner. It never mentions reversibility or undo, which is the main remaining behavioral gap for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Length is modest, but structure is poor: the key action is front-loaded in a mangled passive, and the dated parenthetical rationale ('the user, 2026-11-12: a press of one's own is one's own to take back') is verbiage that does not help an agent decide or invoke. The substantive constraints are there, just buried in convoluted prose.

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?

With an output schema present and annotations covering destructiveness, the description only needs to supply authorization, side effects, and routing, and it does all three. An agent can decide whether it is allowed to call this and what changes as a result; only reversibility is left unstated.

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%, and the schema already documents both answer_id (as list_answers gives it) and the client parameter's default-to-own-account semantics in detail. The description adds essentially nothing parameter-specific beyond what the schema provides, so the 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?

The description states a specific verb+resource (withdraw an answer) and points at list_answers as the source of the identifier, which is enough to distinguish it from list-oriented siblings. The archaic phrasing ('An answer withdrawn') delays the point and makes the operation read like a state label rather than an action, but the intent is recoverable.

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 an explicit eligibility rule (only an answer this user wrote themselves) and an explicit alternative for the excluded case: to change a client's answer, use answer_attention_items with that client and write the next answer over it. The when-not condition and the named alternative are both present; only the positive 'use this when...' framing is implied rather than stated.

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