Skip to main content
Glama

Briefflink – Briefe mit KI versenden

Brief beauftragen (Bezahllink)

send_letter

Legt einen Briefauftrag an und gibt einen Stripe-Bezahllink zurück. Der Brief wird erst gedruckt und versendet, wenn der Nutzer bezahlt hat. Dokument per upload_id (aus create_upload_link) oder pdf_base64.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesE-Mail des Nutzers für Versandbeleg und Rechnung
countryNoISO-Ländercode des Empfängers, z. B. DE, AT, CH, USDE
upload_idNoID aus create_upload_link
pdf_base64NoAlternativ: PDF als Base64 (max. 10 MB)
sender_nameYesAbsender: Name / Firma (Pflicht, erscheint als Rücksendeadresse)
einschreibenNonein = Standardbrief, einwurf = Einwurf-Einschreiben mit Sendungsnummer (+5,49 € national, +7,49 € Ausland)nein
sender_streetYesAbsender: Straße und Hausnummer (Pflicht)
recipient_nameYesName / Firma des Empfängers
sender_zip_cityYesAbsender: PLZ und Ort (Pflicht)
recipient_streetYesStraße und Hausnummer
recipient_zip_cityYesPLZ und Ort, z. B. "10115 Berlin"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare write (readOnlyHint=false) and open-world behavior. The description adds the non-obvious deferred side effect (letter is only printed and sent after payment) and that the immediate return is a payment link, both of which matter for planning a multi-step flow.

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?

Three short sentences, front-loaded with the action and its return value, followed by the payment-gating behavior and the document source. No filler or repetition.

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?

With no output schema, the description correctly discloses the key return (a Stripe payment link) and the payment-gated fulfillment, which is the essential mental model for an 11-parameter mutation tool. It omits edge cases such as link expiry or payment failure, but nothing critical for correct invocation is 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 100%, so the schema already documents every parameter including upload_id's origin and the pdf_base64 alternative. The description restates the same upload_id/pdf_base64 choice without adding format, size, or precedence detail, so it earns only the baseline.

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+resource (legt einen Briefauftrag an) and the distinctive return value (Stripe-Bezahllink), which separates it from the sibling pricing/status/upload tools. The description also names create_upload_link as the source of upload_id, tying it into the tool family.

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?

Provides clear operational context: an order is created now but printing/sending only happens after the user pays, which tells the agent this is the commitment step rather than a price check or status lookup. It does not explicitly say when not to use it or compare against get_letter_price/get_letter_status.

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