Skip to main content
Glama

Prepare a withdrawal from a contract for the person to confirm

withdrawal_prepare
Read-onlyIdempotent

Never withdraws anything by itself. Lists the person's recent purchases, top-ups, gift cards and storage plans and returns a link to the form "Withdraw from contract" on bitsound.com/withdrawal with the contract already chosen. The person checks the statement and sends it with "Confirm withdrawal" in the browser. Music purchases where the person agreed to the immediate download are usually no longer withdrawable; Bitsound checks every withdrawal.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "withdrawal_prepare"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNoContract key from an earlier call, for example purchase:<id>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations by disclosing the human-in-the-loop contract: nothing is withdrawn by the tool, a link is returned, and the person must confirm in the browser. It also flags the eligibility check ('Bitsound checks every withdrawal') and a likely-dead-end case, which is exactly the behavioral context an agent needs before invoking.

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

Conciseness4/5

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

Four sentences, front-loaded with the most important constraint (it never withdraws), then the return value, then the human step, then the caveat. Nothing is padded, though the caveat sentence is slightly dense and could be split for scannability.

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?

No output schema exists, yet the description explains what comes back (a link to the withdrawal form with the contract preselected) and how the flow completes, which covers the main gap. The only omission is the behavior when `contract` is not supplied, which matters for a tool with zero required parameters.

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 description coverage is 100% and the single optional `contract` parameter is documented in the schema with an example format (purchase:<id>). The description adds only that the contract is 'already chosen' in the returned form; it does not explain what happens when `contract` is omitted despite the parameter being non-required.

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?

States a concrete verb and resource plus its exact scope: it lists recent purchases, top-ups, gift cards and storage plans and returns a link to the 'Withdraw from contract' form with the contract preselected. The opening sentence, 'Never withdraws anything by itself,' immediately separates it from any tool that would actually execute a withdrawal, so an agent can route correctly.

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?

Clearly establishes the context of use: this is the preparation step, and the person completes the action in the browser via 'Confirm withdrawal'. It also gives a domain caveat (music purchases with agreed immediate download are usually no longer withdrawable) that shapes when this tool is worth calling. It does not name an explicit alternative, but the prepare-then-confirm flow is unambiguous.

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