Skip to main content
Glama

brandbill

Entwurf anlegen

create_document

Angebot oder Rechnung als Entwurf anlegen (noch ohne Nummer). Beträge in Euro netto. Empfänger: customer_id (aus list_customers) oder customer_name mit Anschrift.

Input Schema

NameRequiredDescriptionDefault
typeYes
linesYes
subjectNo
intro_textNo
tax_regimeNoOhne Angabe: Standard des Kontos (Kleinunternehmer oder Regelbesteuerung)
customer_idNoKunde aus list_customers: Name und Anschrift kommen aus der Kartei, übergebene Felder haben Vorrang
valid_untilNonur Angebote
closing_textNo
service_dateNo
customer_cityNo
customer_nameNo
customer_emailNo
buyer_referenceNoLeitweg-ID / Käuferreferenz (XRechnung)
customer_numberNo
customer_streetNo
customer_vat_idNo
customer_countryNoISO-3166 Alpha-2, z. B. DE
discount_percentNoGesamtrabatt in Prozent auf alle Positionen
e_invoice_profileNo
cash_discount_daysNoSkontofrist in Tagen ab Rechnungsdatum
payment_terms_daysNo
service_period_endNo
customer_is_businessNo
customer_postal_codeNo
cash_discount_percentNoSkonto in Prozent (nur Rechnungen, zusammen mit cash_discount_days)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, openWorld=false. The description adds real value beyond them by disclosing that no document number is assigned yet and that amounts are net EUR, but it says nothing about permissions, what the draft blocks or enables (send, PDF, e-invoice XML), or whether repeated calls duplicate records despite idempotentHint=false.

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?

Two sentences, zero filler, with the draft/no-number constraint and the unit-of-currency rule front-loaded before the recipient guidance. Nothing repeats the schema.

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 25-parameter creation tool with no output schema, the essentials of what a draft is and how to identify the recipient are present, but the agent is left guessing about the returned identifier, whether a draft is editable, and how the tax/e-invoice parameters interact with the draft state.

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?

With 25 parameters at only 32% schema description coverage, the description would need to carry a lot; it compensates for the highest-stakes decisions only — type (quote vs invoice), that amounts are net EUR, and the customer_id vs customer_name/address alternative. The remaining ~17 undocumented fields (payment terms, e_invoice_profile, service dates, buyer_reference) get no help in the description either.

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 ("Angebot oder Rechnung als Entwurf anlegen") plus a defining qualifier ("noch ohne Nummer") that separates a draft from a finalized document. An agent can distinguish this from finalize_document or update_document, though neither sibling 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?

Implies the when: use this to create a new draft rather than to edit or finalize one, and points at list_customers as the source of customer_id. But it never states that after creation you must call finalize_document, nor when to prefer update_document over re-creating, so the workflow context is only inferred.

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