Skip to main content
Glama

Zur Freigabe einreichen

approval_submit

Reicht einen Brief zur menschlichen Freigabe ein: prüft Pflichtangaben, Empfänger, AVV und Limits, erstellt die finale PDF, berechnet den Preis, reserviert die Kosten und legt eine Freigabe in der Warteschlange an. Die eingebettete Karte ist Vorschau und Freigabe. Nach ihrer Anzeige reicht im Chat eine kurze Bestätigung; PDF-Link und Brieftext gehören in reine Textansichten. Mit approval:self_approve zeigt die Karte Freigeben und Ablehnen. In allen anderen Fällen führt sie ins angemeldete Portal. Mit dryRun bleiben Guthaben und Warteschlange unberührt. EN: Submits a letter for human approval: checks mandatory details, recipient, data processing agreement and limits, creates the final PDF, calculates the price, reserves the cost and adds an approval to the queue. The embedded card is the preview and approval. Once it appears, a short chat confirmation is enough; PDF links and letter text belong in text-only views. With approval:self_approve, the card shows Approve and Reject. In every other case it opens the signed-in portal. With dryRun, the balance and queue remain untouched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNoOhne Angabe wird die Farbe automatisch erkannt. EN: If omitted, colour is detected automatically.
dryRunNo
reasonNoKurzer Grund fuer die Freigabe, den die pruefende Person auf der Karte liest. EN: Short reason for the approval, shown to the reviewer on the card.
contentNo
expressNo
subjectNo
auditTagNo
letterIdNoBestehender Entwurf. Alternativ den Brief inline angeben. EN: Existing draft. Alternatively provide the letter inline.
reasoningNo
presetNameNo
templateIdNo
scheduledAtNo
signatureIdNo
approvalModeNo
deliveryTypeNoStandard standard. EN: Defaults to standard.
maxCostEurosNoMaximalbetrag in Euro. Liegt der Preis darueber, wird abgebrochen. EN: Maximum amount in euros. If the price is above it, the call is aborted.
recipientZipNo
clientOrderIdNoIdempotenzschluessel. Ein erneuter Aufruf mit demselben Wert liefert dieselbe Freigabe, statt ein zweites Mal einzureichen. Der Praefix 'approval:' ist reserviert. EN: Idempotency key. A repeat call with the same value returns the same approval instead of submitting a second time. The 'approval:' prefix is reserved.
recipientCityNo
recipientNameNo
mandantennummerNo
recipientStreetNo
senderAddressIdNo
senderProfileIdNo
includeSignatureNo
recipientCompanyNo
recipientCountryNoISO-3166-alpha-2, Standard DE. EN: ISO 3166-1 alpha-2, defaults to DE.
requesterContextNoZusatzkontext zur einreichenden Person oder zum Anlass. EN: Additional context about the submitter or the occasion.
recipientHouseNumberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / deliveryType / enum
      Previous value: -[
      -  "standard",
      -  "einschreiben_einwurf",
      -  "einschreiben_uebergabe"
      -]New value: +[
      +  "standard",
      +  "einschreiben_einwurf",
      +  "einschreiben_uebergabe",
      +  "ch_b_post",
      +  "ch_a_post",
      +  "ch_einschreiben",
      +  "at_eco",
      +  "at_prio",
      +  "intl_standard",
      +  "intl_priority",
      +  "intl_express",
      +  "intl_tracked",
      +  "intl_registered"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare a non-readonly, non-destructive, closed-world mutation, and the description adds genuinely new behavioral facts: mandatory checks, price calculation, cost reservation, queue insertion, and that dryRun leaves balance and queue untouched (the schema's dryRun has no description at all). It still omits auth/permission requirements and failure behavior (e.g. what happens when the max-cost abort fires).

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?

Front-loaded with the core action and side effects, and each sentence carries distinct information (pipeline, card behavior, confirmation guidance, dryRun). The German/English duplication roughly doubles the length without adding content, which costs it a point.

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 29-parameter submission tool with no output schema, the description covers the workflow and side effects well but says nothing about what is returned (approval id, queue position, quoted cost). With no output schema present, return-value semantics are documented nowhere, leaving a real completeness gap.

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 28% across 29 parameters, so the description is expected to compensate, and it does clarify dryRun semantics, the cost-abort limit associated with maxCostEuros, and recipient/AVV checks. However, most parameters (express, scheduledAt, signatureId, templateId, includeSignature, approvalMode, auditTag, reasoning, color) receive no semantic help anywhere.

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?

States a specific verb and resource ('submits a letter for human approval') and enumerates the full pipeline (validates details, builds PDF, prices, reserves cost, queues approval), which clearly separates it from draft-creation siblings like letter_create_draft. It never names or contrasts an alternative sibling (e.g. order_send, approval_decide), so the differentiation is inferential rather than explicit.

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?

Describes the flow after submission (card appears, short confirmation suffices, self_approve shows Approve/Reject, otherwise portal) but gives no explicit when-to-use vs letter_create_draft, order_send or approval_decide, and no stated prerequisites. Usage is implied by the workflow narrative rather than stated as selection criteria.

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.