Skip to main content
Glama

Von einer bezahlten Briefbestellung zurücktreten

withdraw_order
DestructiveIdempotent

Use this when the user wants to withdraw from a paid letter order of this service ("Vertrag widerrufen"). This tool does not write a withdrawal letter to another company. For that, use prepare_letter. Until the post has the letter, the server refunds the full price. The server also stops the letter if it can. After the post has the letter, the right of withdrawal has ended. First call it without confirm. Show the result to the user. Then call it again with confirm true. The user gets an e-mail.

Input Schema

NameRequiredDescriptionDefault
confirmNotrue only after the user confirmed the withdrawal. false: show what happens.
batch_idNoThe batch_id of a paid batch. Withdraws from every letter of the batch. Then do not give letter_id.
letter_idNoThe letter_id of the paid letter. For every letter of a batch, give batch_id instead.

Output Schema

NameRequiredDescriptionDefault
batch_idNo
order_idYes
letter_idNo
withdrawnYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description explains refund behavior, that the server tries to stop the letter, when the withdrawal right ends, the two-step confirm process, and that the user receives an e-mail. This adds substantial operational context for a destructive, externally visible action.

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?

The description is front-loaded with purpose and the key alternative, then proceeds through consequences and the confirmation workflow. Every sentence carries useful operational information.

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?

For a destructive withdrawal tool with refund and timing implications, the description covers the important prerequisites, consequences, and confirmation flow. An output schema exists, so return-value details need not be repeated.

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 100%, so the baseline is 3. The description adds meaningful semantics for confirm by explaining that the first call should omit it and the second should set it to true after user confirmation.

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 from a paid letter order of this service. It also explicitly distinguishes this tool from prepare_letter, which is used to write a withdrawal letter to another company.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance, a clear when-not-to-use case, and names the alternative tool prepare_letter. It also specifies the required two-step confirmation workflow.

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