Skip to main content
Glama

Sevdesk invoice pdf

sevdesk_invoice_pdf
Read-onlyIdempotent

Fetch the PDF of an outgoing invoice that is in sevDesk (number, letterhead and layout are sevDesk's own) and store it on the Book-AI-ze document as its file. Returns the invoice number, status and a download link valid for one hour — e.g. to attach it to a mail sent locally. Does NOT mark the invoice as sent (preventSendBy), so a draft stays deletable. Use after sevdesk_push_documents created the invoice (push_as: invoice).

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

Input Schema

NameRequiredDescriptionDefault
document_idYesThe Book-AI-ze document of the invoice (its sevdesk_id is the invoice).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile, and the description adds real value on top: the download link expires after one hour, the invoice is NOT marked as sent (preventSendBy), and a draft stays deletable. Minor caveat: it says the PDF is stored on the Book-AI-ze document, an additive write, while readOnlyHint=true; this reads as read-only with respect to the sevDesk invoice and non-destructive, so it is a tension rather than a clear contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences, front-loaded with the action. The parenthetical on number/letterhead/layout earns its place by preempting confusion about PDF styling; a small amount of nesting (link validity, preventSendBy, sequencing) makes it slightly packed but nothing is wasted.

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?

With no output schema, the description still discloses return values (invoice number, status, one-hour download link), the side effect on the document, the deliberate non-effect on the invoice, and the correct call ordering relative to sevdesk_push_documents. That covers everything needed to invoke it correctly.

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?

There is only one parameter at 100% schema coverage, so the baseline is already high. The description adds meaning beyond the schema by explaining that the Book-AI-ze document's sevdesk_id is the invoice, which clarifies how document_id resolves to a sevDesk record.

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 gives a specific verb pair and resource: fetch the PDF of an outgoing sevDesk invoice and store it as the file on a Book-AI-ze document. It also distinguishes itself from the creation step by naming sevdesk_push_documents and by stating the file and layout come from sevDesk, so an agent can tell it apart from push/finalize siblings.

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?

It states the prerequisite and ordering clearly: 'Use after sevdesk_push_documents created the invoice (push_as: invoice).' That is actionable context with no ambiguity about sequencing, though it does not explicitly name when the agent should avoid this tool or which sibling to use if the invoice is not yet pushed.

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