Skip to main content
Glama

Confirm prepayment

confirm_prepayment

Owner/admin only. Confirm that the bank transfer for a prepayment (Vorkasse) order has arrived: order becomes paid, the invoice is created and mailed, supplier/BPS flow continues as for any paid shop order. Only orders with payment_method 'vorkasse' (or 'abholung') and status pending. For 'rechnung' orders (dealer bought on invoice, already released) it books the open invoice as paid. dry_run defaults to true (shows order, amount, customer).

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": {
      "order_id": "<order_id>"
    },
    "name": "confirm_prepayment"
  }
}

Input Schema

NameRequiredDescriptionDefault
notizNoe.g. bank statement reference
dry_runNo
order_idYes

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?

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses the actual side effects: payment status change, invoice creation and mailing, and downstream supplier/BPS flow. It also states the authorization requirement and that dry_run defaults to true with a preview of order, amount and customer — precisely the safety context an agent needs before a non-idempotent mutation.

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?

Dense and front-loaded: permission, action, effects, eligibility, edge case, then dry_run safety. Every clause carries operational meaning. It is somewhat run-on with stacked parentheticals, which slightly slows parsing but does not waste words.

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?

For a non-idempotent, open-world mutation with no output schema, the description covers permissions, eligibility, side effects and the safe preview mode — the material an agent needs. The only real gap is the unexplained 'notiz' parameter, which is minor relative to what is documented.

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 coverage is only 33%, but the description compensates well for dry_run (defaults true, previews order/amount/customer) and implies order_id's role through the precondition rules. The 'notiz' parameter is left entirely to its one-line schema hint ('e.g. bank statement reference'), so the description adds meaning for two of three parameters rather than all.

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 names a specific verb and resource (confirm the bank transfer for a prepayment order) and immediately enumerates the concrete effects: order becomes paid, invoice created and mailed, supplier/BPS flow continues. It also carves out a distinct sub-case ('rechnung' orders book the open invoice as paid), so an agent can distinguish this from a generic order-update tool.

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?

Explicit preconditions are given: owner/admin only, payment_method must be 'vorkasse' or 'abholung', status must be pending, plus the 'rechnung' variant. That is strong when-to-use guidance. It stops short of naming alternatives or what to do if the order does not meet these conditions, so it is not a full 5.

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