Skip to main content
Glama

mapumi: little helpers for families

Undo a contribution

withdraw_contribution
Idempotent

Take back your own pledged amount. Needs the share link, contribution_id and contribution_token from contribute_to_wish.

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": {
      "share_link": "<share_link>",
      "wish_id": "<wish_id>",
      "contribution_id": "<contribution_id>",
      "contribution_token": "<contribution_token>"
    },
    "name": "withdraw_contribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
wish_idYesWish id from get_wishlist.
share_linkYesThe share link (https://wunschzettel.mapumi.de/z/…) or just its id.
contribution_idYes
contribution_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety and retry profile is covered. The description adds one genuinely useful behavioral fact beyond that: the call requires a contribution_token minted by contribute_to_wish, i.e. an authorization proof of ownership. It does not say what happens to the wish's pledged total after withdrawal, whether the token is consumed, or whether the pledge can be restored — the destructiveHint=false claim in particular goes unexplained for an operation that removes a pledge.

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, no filler, with the action stated first and the prerequisites second. Everything written earns its place and nothing is repeated from the schema or annotations.

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

Completeness3/5

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

For a four-required-parameter mutation with no output schema, the definition covers purpose and credential provenance adequately, and annotations cover idempotency and non-destructiveness. It is still incomplete on outcomes: the agent cannot tell whether withdrawal is partial or all-or-nothing, what the wish state becomes, or whether the contribution can be re-pledged.

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 50%: wish_id and share_link are documented in the schema, while contribution_id and contribution_token carry no description there. The description compensates by telling the agent that both — together with the share link — come from contribute_to_wish, which is exactly the provenance missing from the schema. It stops short of explaining whether contribution_token is an auth secret or a lookup key, but the added meaning is real.

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?

"Take back your own pledged amount" gives a concrete verb (take back) and resource (a pledged contribution), plus a scope qualifier (your own) that separates it from contribute_to_wish and from wishlist-level siblings like remove_wish. An agent can tell from this line alone that it reverses a prior contribution rather than editing a wish.

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

Usage Guidelines3/5

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

Usage is implied by the word "Undo"/"Take back" and the reference to the originate call contribute_to_wish, which is the right sibling to name. However, it never states when not to use it (e.g., versus release_wish or remove_guest-style operations) nor what conditions make the operation valid, so the guidance is inferred rather than explicit.

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