Skip to main content
Glama

Match payment run

match_payment_run

Ordnet die Zahlungen eines Laufs den Kontobewegungen des Auftraggeberkontos zu: je Zahlung ueber die EndToEndId im Verwendungszweck und den genauen Betrag, sonst die Sammelbuchung ueber die MsgId und die Kontrollsumme. Geraten wird nicht: Bewegungen mit passendem Betrag ohne Referenz kommen nur als Vorschlag zurueck. Mit apply (Vorgabe true) werden Treffer gespeichert (Zahlung 'bezahlt', Kontobewegung 'matched', document_transaction_links).

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": {
      "run_id": "<run_id>"
    },
    "name": "match_payment_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNoTreffer speichern (Vorgabe true); false = nur anzeigen.
run_idYesZahlungslauf. Pflicht.

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?

Beyond the annotations, the description discloses the matching rules, that amount-only matches are returned as suggestions rather than guessed, and that apply=true persists payment status 'bezahlt', account-movement status 'matched', and document_transaction_links. It does not address rerun/idempotency behavior despite idempotentHint=false, which keeps it from a 5.

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?

The description is three dense sentences, front-loaded with the matching behavior and followed by the no-guessing rule and persistence effects. Every sentence adds information, though the German phrasing is fairly compact and domain-specific.

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 two-parameter mutation tool without an output schema, the description covers the matching logic, fallback behavior, suggestion-only results, and write effects. Remaining gaps are nonessential details such as permissions or rerun behavior.

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 100%, so both parameters are already documented. The description reinforces apply's default behavior and effect, but adds little about run_id beyond the schema's 'Zahlungslauf. Pflicht.' Baseline 3 applies when the schema carries the parameter semantics.

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 states a specific verb and resource: it assigns the payments of a payment run to the account movements of the ordering account. The payment-run scope is clear enough to distinguish it from invoice or transfer matching siblings, though no alternative tool is named 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 payment-run context and by the apply=false preview mode, but there is no explicit when-to-use/when-not-to-use guidance and no reference to alternative matching tools such as match_transfer or match_invoice_transaction.

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