Skip to main content
Glama

Sevdesk push documents

sevdesk_push_documents

Send booked documents to sevDesk as vouchers (status 100 = booked/open), with the PDF attached. DRY RUN BY DEFAULT: it resolves the supplier contact and the booking account and returns the exact payload without writing anything, so mapping problems surface first. Pass dry_run:false to actually create the vouchers. With no document_ids it targets everything marked for sync that isn't in sevDesk yet. A document that is ALREADY in sevDesk is refused unless you pass force_update:true — re-pushing updates the existing voucher's fields and re-attaches the PDF, but leaves its positions alone. The result reports document_attached per document: if that is false the voucher has no Beleg, which sevdesk_attach_document can fix on its own.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sevdesk_push_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax documents in one call (default 25, max 100)
dry_runNoDefault TRUE. Set false to really write to sevDesk — this creates booked accounting entries.
document_idsNoSpecific document ids to push. Omit to push everything marked for sync.
force_updateNoRe-push documents that already have a sevdesk_id, updating the existing voucher instead of skipping them. Default false. Positions are not touched; a voucher that is already paid keeps its status and payment date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, open-world, non-idempotent write; the description goes far beyond by disclosing the dry-run default, that the dry run resolves supplier contact and booking account and returns the exact payload, that re-pushing overwrites voucher fields and re-attaches the PDF but leaves positions (and paid status/payment date) untouched, and that it reports document_attached per document.

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?

Front-loads the highest-risk fact (DRY RUN BY DEFAULT) immediately after the purpose sentence, then layers force_update and result semantics. Every sentence carries operational information; nothing is padding.

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 four-parameter mutation with no output schema, the description still covers what the call returns (resolved payload in dry run, document_attached per document) and what happens to existing vouchers. An agent has enough to call this correctly the first time without risking unintended writes.

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% and the description largely restates schema semantics: dry_run default true, force_update not touching positions, document_ids omitted meaning sync-marked documents. The only genuine additions are the framing of dry_run as a mapping-resolution dry run and the status-100 meaning, so the baseline 3 applies.

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 resource (send booked documents to sevDesk as vouchers), defines the target state (status 100 = booked/open) and the payload (PDF attached). It also distinguishes itself from sevdesk_attach_document by explaining that the attach tool handles the case where document_attached is false.

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?

Gives explicit when/when-not rules: dry run is the default and writes nothing, dry_run:false actually creates vouchers, omitting document_ids targets everything marked for sync, and documents already in sevDesk are refused unless force_update:true. It also names the alternative (sevdesk_attach_document) and the condition that selects it.

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