Skip to main content
Glama
mcp-server-sevdesk

mcp-server-sevdesk

Get an order PDF

sevdesk_order_pdf
Read-onlyIdempotent

Fetches the PDF for a sevDesk quote, order confirmation, or delivery note as a read-only preview without marking it sent or committing changes; returns metadata and a resource link.

Instructions

Get the PDF of an order: Angebot (AN, quote), Auftragsbestätigung (AB) or Lieferschein (LI), e.g. to show, check or forward it. Read-only preview: it is fetched with preventSendBy, so it never marks the order as sent or commits it, and its status and editability stay as they are. 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 order list tools first.

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_order_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.9/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the preventSendBy mechanism: the fetch never marks the order as sent or commits it, and status/editability are untouched — a non-obvious side effect an agent could not infer from readOnlyHint. It also explains the response shape (file metadata plus a resource link, file body delivered via resources/read rather than inline text), which prevents wrong assumptions about the return value.

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 what the tool returns, then the read-only guarantee, then the return mechanics, then the sibling alternative and id discovery — a logical order with no filler. Despite covering a lot, every clause carries information an agent needs.

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?

There is no output schema, but the description compensates by explaining that the result is metadata plus a resource link and that the client fetches content itself via resources/read. Combined with the mutation-safety disclosure and the alternative for saving, nothing material is missing for a single-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already warns that id is the sevDesk id, not the document number. The description adds a small but useful acquisition hint (use the order list tools to find the id), going slightly beyond the structured field.

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 ("Get the PDF of an order") and enumerates the exact document subtypes with their sevDesk codes: Angebot (AN), Auftragsbestätigung (AB), Lieferschein (LI). This lets an agent distinguish it immediately from sevdesk_order_get (record data) and sevdesk_document_save (persisting a copy).

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 concrete use cases ("to show, check or forward it") and explicitly routes the agent to sevdesk_document_save when the goal is saving to disk or a download link, noting the env/remote precondition. It also states a prerequisite for correct invocation: find the id with the order list tools first.

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