Skip to main content
Glama
joosthel

sevdesk-mcp

by joosthel

Save an invoice PDF

sevdesk_get_invoice_pdf
Read-only

Download the rendered PDF of a sevDesk invoice and save it to an allowlisted receipt directory without changing the invoice's send status.

Instructions

Fetch the rendered PDF of an invoice and save it into a directory from the SEVDESK_RECEIPT_DIRS allowlist. Never changes the invoice's send state (preventSendBy). Read-only towards sevDesk.

Input Schema

NameRequiredDescriptionDefault
directoryYesAbsolute path of an allowlisted directory to save the PDF into.
invoiceIdYesNumeric invoice id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes beyond annotations meaningfully: it clarifies that although a file is written to the local filesystem, the tool never mutates the invoice's send state (preventSendBy) and is read-only towards sevDesk. This resolves the potential confusion between a local disk write and a remote mutation.

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 short sentences, front-loaded with the core action and followed by the key behavioral caveat. No wasted words.

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?

For a simple two-parameter tool with no output schema, the definition is nearly complete. Minor gap: it doesn't state the returned filename or path, which an agent might need for follow-up operations, but this is small.

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%, so both parameters are documented in the schema. The description adds the allowlist constraint for `directory`, but nothing extra for `invoiceId`. Baseline 3 is appropriate when the schema carries the parameter semantics.

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?

Specific verb+resource: 'Fetch the rendered PDF of an invoice and save it into a directory'. Clearly distinguishes from siblings like sevdesk_mark_invoice_sent or sevdesk_list_invoices, which do not produce a PDF artifact.

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?

States the precondition that the target directory must come from the SEVDESK_RECEIPT_DIRS allowlist, and reinforces it via the 'preventSendBy' note. No explicit alternative routing (e.g. when to use a download vs. upload path), but the usage context is clear.

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