Skip to main content
Glama

Update donation

update_donation
Idempotent

Update a donation's bookkeeping fields (status, purpose, payment reference, receipt timestamp). Read/status only — never triggers refunds or any Stripe/PayPal side-effect.

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": {
      "id": "<id>"
    },
    "name": "update_donation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
statusNopending|paid|failed|refunded
purposeNoverbandsarbeit|kjf|foerdermitgliedschaft|sponsoring
internal_notesNoInternal bookkeeping note
receipt_sent_atNoISO timestamp, or null-equivalent by omitting
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.
payment_referenceNoReconciliation reference (external transaction id / bank reference)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true; the description adds real value on top by bounding the blast radius ('Read/status only', no refunds, no Stripe/PayPal side-effects). It does not contradict the annotations — it writes status fields without being destructive. It stops short of stating partial-update semantics, i.e. whether omitted fields are left untouched or cleared.

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 compact clauses with the mutation scope front-loaded and the safety guarantee immediately after. Every phrase earns its place; nothing is redundant with the title 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 seven-parameter mutation tool with no output schema, the description covers what is updated and confirms no external side-effects, which is the most important part. But with only 'id' required, the partial-update contract and the target_tenant_id super-admin override are the two things an agent most needs explained, and both are 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?

Schema description coverage is high at 86%, so the schema already documents each parameter, including the enum-like value lists for status and purpose. The description echoes four of the seven fields but adds no syntax, format, or interaction detail, and leaves internal_notes and target_tenant_id (the super-admin scoping parameter) entirely unaddressed. Baseline 3 applies where the schema does the heavy lifting.

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 names a specific verb and resource ('Update a donation') and enumerates the mutable bookkeeping fields (status, purpose, payment reference, receipt timestamp), which makes the scope concrete. It implicitly separates this from read tools like get_donation or donation_stats by framing it as a bookkeeping-field update, though it never names a sibling explicitly.

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 field list and the 'bookkeeping fields' framing, and there is a useful negative constraint ('never triggers refunds or any Stripe/PayPal side-effect'). However, it gives no explicit when-to-use-vs-alternative routing (e.g. when to use get_donation first, or donation_stats) and no prerequisites such as required permissions or tenant context.

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