Skip to main content
Glama

mapumi: little helpers for families

Chip in for a wish

contribute_to_wish

For relatives: pledge a part of the price of a wish, so several people can give it together. Only for wishes with a price that nobody reserved, up to what is still missing (see target_amount and collected_amount in get_wishlist). Nothing is paid here. Returns contribution_id and contribution_token; keep both to undo with withdraw_contribution. Needs the share link.

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>",
      "amount": "<amount>"
    },
    "name": "contribute_to_wish"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional name of who chips in, e.g. "Oma Rosi". Shown to parents and family, the amount only to the parents.
amountYesAmount in the currency of the price, e.g. 20 or 12.50.
wish_idYesWish id from get_wishlist.
share_linkYesThe share link (https://wunschzettel.mapumi.de/z/…) or just its id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

With annotations only covering the generic mutation profile, the description adds real context: 'Nothing is paid here' clarifies that a price pledge is not a transaction, and it discloses that a contribution_id and contribution_token are issued which must be retained to undo. It does not describe what happens on a duplicate or partial retry, which is why idempotentHint=false is left for the agent to infer.

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?

Four short sentences, front-loaded with the actor and the action, then constraints, then side effects, then the prerequisite. Every sentence carries distinct information; 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.

Completeness5/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 names the two return artifacts and what they are for, describes the undo path, and states the write is non-monetary. For a four-parameter mutation with a sibling withdraw tool, nothing an agent needs in order to call it correctly is missing.

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, but the description adds meaning the schema lacks: amount is bounded by 'what is still missing', share_link is described as an outright requirement, and wish_id is tied back to get_wishlist. Only the optional name parameter gets nothing extra beyond its own schema description.

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 gives a specific verb (pledge a part of the price), a specific resource (a wish), and an intended actor (relatives), plus the collaborative framing 'so several people can give it together'. That framing implicitly separates it from a whole-price reservation such as reserve_wish, so an agent can tell the sibling apart without opening another schema.

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 states the eligibility condition (only wishes with a price nobody reserved), the cap (up to what is still missing), and points at get_wishlist for target_amount and collected_amount. It also names the follow-up path: keep the returned token to undo with withdraw_contribution, and 'Needs the share link' flags a prerequisite.

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