Skip to main content
Glama
mcp-server-sevdesk

mcp-server-sevdesk

Get an invoice PDF

sevdesk_invoice_pdf
Read-onlyIdempotent

Fetch an invoice PDF by ID for read-only viewing, checking, or forwarding without marking it as sent or changing its status.

Instructions

Get the PDF of an invoice (Rechnung, also Stornorechnung or Mahnung), e.g. to show, check or forward it. Read-only preview: it is fetched with preventSendBy, so it never marks the invoice as sent (versendet) or changes its status. The result holds the file's metadata and a resource link; the client loads the file itself via resources/read, its content is never put into the text. To save a copy to disk or as a download link use sevdesk_document_save (available with SEVDESK_OUTPUT_DIR or on a remote server). Find the id with the invoice list tools first. For the XRechnung XML of an e-invoice use sevdesk_invoice_xml.

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": {
      "id": "<id>"
    },
    "name": "sevdesk_invoice_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYessevDesk id of the document (not its number such as RE-1001).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.0
    • removedInput schema / properties / id / maximum
      Removed value: -9007199254740991
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that the PDF is fetched with preventSendBy, so the invoice is never marked as sent or have its status changed. It also explains that the result contains metadata and a resource link, and that the client must load the file via resources/read rather than expecting file content in the text response.

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?

The description is front-loaded with purpose and safety behavior, then moves to output handling and alternatives. Although dense, each sentence supplies actionable information about behavior, ID sourcing, output loading, or tool selection.

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 single-parameter read-only PDF retrieval tool with full schema coverage and annotations that already establish safety, the description is complete. It covers the critical safety nuance, return mechanics, ID acquisition, and relevant sibling alternatives.

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?

The schema has 100% description coverage and already states that the parameter is the sevDesk document id, not a number such as RE-1001. The description adds the useful instruction to find the id via the invoice list tools, but it does not add further parameter semantics beyond source guidance.

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?

The description names a precise verb and resource ("Get the PDF of an invoice") and explicitly covers the relevant invoice document variants (Rechnung, Stornorechnung, Mahnung). It also distinguishes the tool from sevdesk_invoice_xml and sevdesk_document_save, so an agent can identify when this PDF-fetching tool is the right choice.

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?

The description gives clear usage guidance: use it to show, check, or forward an invoice PDF, and find the invoice id with the invoice list tools first. It also names concrete alternatives for saving a copy and for getting the XRechnung XML, which removes ambiguity about sibling selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.