Skip to main content
Glama
mcp-server-sevdesk

mcp-server-sevdesk

Summarize sevDesk records

sevdesk_records_summarize
Read-onlyIdempotent

Calculate counts and exact net, tax, and gross sums for sevDesk invoices, credit notes, vouchers, or bank transactions, with optional grouping by month, quarter, status, contact, or account.

Instructions

Auswertung: counts and exact sums of invoices (Rechnungen), credit notes (Gutschriften), vouchers (Belege) or bank transactions (Umsätze): net/tax/gross per currency (incoming/outgoing for transactions), optionally grouped by month, quarter, status, contact (Kunde/Lieferant) or account. Prefer it over paging list tools for totals such as revenue per month (Umsatz), expenses per supplier or amounts per status. Filters: from/to, status, contactId, kind (vouchers: expense/revenue), invoiceType, checkAccountId (transactions). Templates (recurring RV/WKR) and reminders (MA) are left out unless invoiceType asks for them. Reads up to 10,000 rows; truncated says if more existed. Computed by this server from sevDesk records, not a sevDesk report.

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": {
      "subject": "<subject>"
    },
    "name": "sevdesk_records_summarize"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day to include, YYYY-MM-DD (Berlin time).
fromNoFirst day to include, YYYY-MM-DD (Berlin time).
kindNoVouchers only: expense (Ausgabe) or revenue (Einnahme).
statusNoInvoices/credit notes: draft, open, partially_paid, paid. Vouchers: draft, open, transferred, partially_paid, paid. Transactions: created, linked, private, auto_booked, booked.
groupByNonone, month, quarter, status, contact (customer/supplier; not for transactions) or account (transactions only).none
subjectYesinvoices, credit_notes, vouchers or transactions (bank transactions).
contactIdNoCustomer (invoices, credit notes) or supplier (vouchers) contact id.
maxGroupsNoMost groups to return; the rest are counted in groupsOmitted.
invoiceTypeNoInvoices only: invoice (RE), advance (AR), partial (TR), final (ER), cancellation (SR), reminder (MA) or recurring (WKR template); reminders and templates count only when asked for here.
checkAccountIdNoTransactions only: payment account (Zahlungskonto) id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.0
    • removedInput schema / properties / checkAccountId / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / contactId / maximum
      Removed value: -9007199254740991
  2. Changed2 schema fields changedv1.3.0
    • removedInput schema / properties / accountId
      Removed value: -{
      -  "description": "Transactions only: payment account (Zahlungskonto) id.",
      -  "exclusiveMinimum": 0,
      -  "maximum": 9007199254740991,
      -  "type": "integer"
      -}
    • addedInput schema / properties / checkAccountId
      Added value: +{
      +  "description": "Transactions only: payment account (Zahlungskonto) id.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
  3. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), and the description adds genuinely new behavior: a 10,000-row read cap, a truncation signal, groupsOmitted for capped groups, and the caveat that values are computed by this server rather than taken from a sevDesk report. That last point is valuable for trust/verification, though the exact response fields are not spelled out (no output schema).

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?

A single dense paragraph with the core capability front-loaded, then usage guidance, then filters, then caveats. It is long but nearly every clause carries information; the filter enumeration in the middle mildly duplicates the schema and could be trimmed.

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?

With 10 parameters, one required, no output schema and read-only annotations, the description covers inputs, grouping, caps, exclusions and the computed-data caveat, which is enough to call it correctly. The one gap is the shape of the returned aggregates beyond "counts and exact sums" per group.

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% and the enum descriptions already say which subject each filter applies to ("Vouchers only", "Transactions only"), so the description largely restates the schema's filter list. It does add the non-obvious default that recurring templates and reminders are excluded unless invoiceType requests them, which is real semantic value beyond the schema baseline.

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?

Leads with a specific noun phrase ("Auswertung: counts and exact sums") and enumerates the exact resource set (invoices, credit notes, vouchers, bank transactions) plus the measures (net/tax/gross per currency). This clearly separates it from the paging list siblings like sevdesk_invoices_list or sevdesk_transactions_list.

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?

Explicitly routes usage: "Prefer it over paging list tools for totals such as revenue per month (Umsatz), expenses per supplier or amounts per status," giving concrete example queries. It also states a negative default (templates RV/WKR and reminders MA are excluded unless invoiceType asks for them), so the agent knows what will silently be missing.

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