Skip to main content
Glama
mcp-server-sevdesk

mcp-server-sevdesk

Profit and loss (EÜR-style)

sevdesk_profit_and_loss
Read-onlyIdempotent

Calculate EÜR-style profit and loss for a month, quarter, or year from sevDesk data, with cash or accrual basis and VAT flows reported separately.

Instructions

Einnahmenüberschussrechnung (EÜR)-style profit and loss for a month, quarter or year: net income by tax rule (Steuerregel), net expenses by booking account (Buchungskonto, number and name), the result, and VAT flows apart (Umsatzsteuer collected, Vorsteuer paid, VAT paid to or refunded by the Finanzamt). Fixed assets (Anlagegüter) are listed apart, without depreciation (AfA). basis: cash (default, Zufluss-/Abflussprinzip: payments sevDesk links to documents, by value date) or accrual (by document date). Positions are read one by one (up to 1,500 documents). Call it directly with the period: it reads the accounts and payments itself. Computed here from sevDesk data: not the Anlage EÜR (which works gross) and not a tax return.

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_profit_and_loss"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD (instead of year).
fromNoFirst day, YYYY-MM-DD (instead of year).
yearNoCalendar year; alone for the whole year, or with month or quarter.
basisNocash (by payment day, default) or accrual (by document date).cash
monthNoMonth 1–12 (with year).
quarterNoQuarter 1–4 (with year).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the description is not burdened with the safety profile. It adds genuine behavioral context beyond that: positions are read one by one (up to 1,500 documents), the basis parameter changes the date attribution rule (value date vs document date), and fixed assets are reported without depreciation. It does not disclose runtime cost, pagination, or truncation behavior when the 1,500-document cap is hit.

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?

The output contents are front-loaded in the first sentences, followed by basis semantics, then limits and caveats. It is dense and parenthetical-heavy with German accounting terms, but nearly every clause conveys something an agent could act on; the closing disclaimer about Anlage EÜR and tax returns earns its place as a scope fence.

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, so the description carries the burden of explaining what comes back, and it does so item by item (income by tax rule, expenses by account number and name, result, Umsatzsteuer/Vorsteuer/Finanzamt flows, fixed assets without AfA). Combined with the basis semantics and the 1,500-document read limit, an agent has enough to call it and interpret the result.

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%, so the baseline is 3. The description goes beyond the schema's terse "cash (by payment day) or accrual (by document date)" by spelling out the underlying principle (Zufluss-/Abflussprinzip, payments linked to documents by value date), and it frames the period parameters as month, quarter or year. It adds real meaning to the basis enum rather than repeating field text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and output shape: a EÜR-style profit and loss for a month/quarter/year producing net income by tax rule, expenses by booking account, the result, VAT flows, and fixed assets listed separately. It also fences off what it is not (not the Anlage EÜR, not a tax return). It does not explicitly distinguish itself from the overlapping sibling sevdesk_vat_summary, which is why it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives operational guidance on invocation ("Call it directly with the period: it reads the accounts and payments itself") and explains the cash-vs-accrual choice, which implies when each basis applies. However, there is no explicit routing to or exclusion of alternatives such as sevdesk_vat_summary or the aging tools, so the when-to-use-vs-sibling reasoning is left implied.

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