Skip to main content
Glama

Create payment file

create_payment_file

Erzeugt aus ausgewaehlten offenen Belegen eine SEPA-Ueberweisungsdatei (pain.001, Standard Version 09; '03' als Schalter, falls die Bank die neue Version ablehnt) fuer ein Auftraggeberkonto aus bank_accounts, speichert den Zahlungslauf und legt die XML-Datei im Speicher ab (signierter Download-Link, 7 Tage). Die Datei wird NICHT an die Bank gesendet — sie wird im Onlinebanking hochgeladen. Ist auch nur ein Beleg nicht zahlbar, entsteht keine Datei und die Antwort nennt die Gruende je Beleg. Die Belege gelten danach als 'im Zahlungslauf', bezahlt erst nach match_payment_run. dry_run=true erzeugt die Datei nur in der Antwort, ohne Lauf und Ablage.

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": {
      "bank_account_id": "<bank_account_id>",
      "document_ids": "<document_ids>"
    },
    "name": "create_payment_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoNotiz zum Zahlungslauf.
formatNopain.001-Version: '09' (Vorgabe) oder '03'.
dry_runNoNur Datei erzeugen und zurueckgeben, nichts speichern (Vorgabe false).
document_idsYesBelege (documents.id) aus list_payables. Pflicht.
ausfuehrung_amNoGewuenschtes Ausfuehrungsdatum YYYY-MM-DD (Vorgabe: heute).
bank_account_idYesAuftraggeberkonto (bank_accounts.id). Pflicht.
auftraggeber_nameNoName des Kontoinhabers in der Datei (Vorgabe: Name des Mandanten). Noetig, wenn ein Mandant Konten mehrerer Firmen fuehrt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing persistence ('speichert den Zahlungslauf'), artefact lifetime ('signierter Download-Link, 7 Tage'), all-or-nothing semantics ('Ist auch nur ein Beleg nicht zahlbar, entsteht keine Datei'), and the resulting document status ('im Zahlungslauf'). The one gap is that idempotentHint=false is never made explicit — nothing warns that a repeated call with the same documents creates a second payment run.

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 — the core action and artefact come first, with constraints following. The opening is a single very long sentence with stacked parentheticals, which is harder to parse than it needs to be, but no sentence is filler.

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?

For a mutating, multi-step tool with no output schema, it covers everything an agent needs: inputs source, atomicity, error reporting shape ('Antwort nennt die Gruende je Beleg'), side effects, artefact retrieval, preview mode, and the manual step outside the system. No relevant unknown remains.

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 rationale the schema lacks: why '03' exists (bank rejects the new version) and the conditional need for auftraggeber_name (tenant with accounts from several companies). It also clarifies that dry_run suppresses both the run and the stored file, not just one of them.

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?

States a specific verb and artefact ('Erzeugt ... eine SEPA-Ueberweisungsdatei (pain.001)') plus its inputs ('aus ausgewaehlten offenen Belegen', 'fuer ein Auftraggeberkonto aus bank_accounts'). It also draws the key boundary that no sibling covers: the file is NOT sent to the bank, it is uploaded in online banking.

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?

Explains the pre-condition (documents must be payable from list_payables), the failure mode when they are not, and the downstream sequencing ('bezahlt erst nach match_payment_run'), which routes the agent to the correct follow-up sibling. It also names the preview path (dry_run=true) and the fallback path for banks rejecting pain.001 09, so the agent knows which mode to pick.

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