Skip to main content
Glama

Withdraw Approval

withdraw_approval
DestructiveIdempotent

Withdraw a pending approval round. This clears the video's approval state, and is what has to happen before a locked video can be unlocked.

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": {
      "approvalId": "<approvalId>"
    },
    "name": "withdraw_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
approvalIdYes

Output Schema

NameRequiredDescriptionDefault
idNo
statusNo
messageNo
videoIdNo
approversNo
createdAtNo
decidedAtNo
requestedByNo

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 destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuine value beyond that by naming the side effect — the video's approval state is cleared — and by situating the call in the unlock workflow, which tells the agent this is reversible only by re-requesting approval.

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, zero filler, with the core action front-loaded and the consequence plus workflow prerequisite following. Every clause earns its place.

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 single-parameter mutation with an output schema and full annotation coverage, the description supplies what an agent needs to act: the effect, the state requirement, and the downstream consequence. It could still mention permission requirements or what happens to an already-decided round, but nothing essential is missing.

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?

There is one parameter, approvalId, with 0% schema description coverage, so the description carries some burden; however it never mentions the identifier at all. The parameter name is largely self-explanatory in context, so the gap is modest rather than crippling.

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 opens with a specific verb and resource — 'Withdraw a pending approval round' — which is concrete and distinct from siblings like request_approval or decide_approval. It lacks an explicit contrast with those siblings, so it stops short of 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?

It states a clear precondition ('pending approval round') and a concrete usage context: this is the step required before a locked video can be unlocked. It gives no explicit when-not guidance or named alternative, which keeps it out of 5 territory.

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