Skip to main content
Glama

Sevdesk import range

sevdesk_import_range

Pull sevDesk data into Book-AI-ze for a date range — invoices, vouchers, credit notes, offers and orders, contacts, bank transactions. Drives the whole paged fetch server-side, then maps what it downloaded into documents/contacts/transactions, so an imported record is immediately findable by list_documents and shows on its contact. progress counts what was downloaded, imported counts what was written into the app's own tables. If it hits its time budget before finishing it returns done:false with the job_id; call it again with that job_id to resume — nothing is mapped until the download finishes. Asking for 'orders' also pulls the order line items and the unit reference table, and 'vouchers' also pulls the voucher positions — a voucher's booked SKR account lives on its positions, not on the voucher, so without them every imported receipt has a null account.

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

Input Schema

NameRequiredDescriptionDefault
job_idNoResume an existing job instead of starting a new one (from a previous done:false result).
date_toNoEnd of the range, YYYY-MM-DD.
date_fromNoStart of the range, YYYY-MM-DD. Applies to the categories that are date-filterable.
categoriesNoWhich categories to pull. Defaults to all. One or more of: invoices, invoice_positions, vouchers, voucher_positions, contacts, transactions, check_accounts, credit_notes, orders, order_positions, parts, check_account_transaction_log, ref_categories, ref_countries, ref_unity, ref_accounting_types
max_secondsNoTime budget for this call before it returns done:false to be resumed (default 60, max 120).
update_existing_onlyNoRepair the documents that already exist and create none. Use it to backfill a field onto imported rows without also pulling in every record sevDesk has for the range — a voucher range can return far more than was ever mapped. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly=false, openWorld=true, idempotent=false, destructive=false; the description adds substantial behavior beyond that: server-side paging, the distinction between `progress` (downloaded) and `imported` (written), the time budget with done:false resume semantics, and the fact that nothing is mapped until the download finishes. It also discloses hidden side effects of category selection (orders pull order_positions and ref_unity; vouchers pull voucher_positions) and the null-account consequence if they are skipped.

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?

Front-loaded with purpose and effect, then resume semantics, then category caveats — a logical order with no filler sentences. It is dense and runs as one long block, so the caveats about voucher positions are easy to skim past, but nothing is redundant.

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?

For a six-parameter, no-output-schema import job, the description covers the things an agent cannot infer: what progress vs imported mean, how partial completion and resumption work, and which extra tables ride along with orders/vouchers. Nothing needed to call it correctly or interpret the result is missing.

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?

With 100% schema coverage the baseline is 3, and the description earns above that by explaining what job_id is for (resuming a done:false job), why update_existing_only exists (a voucher range can return far more than was ever mapped), and the dependency that certain categories imply additional position/ref tables. date_from, date_to and max_seconds are left to the schema, which already documents them adequately.

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 ('Pull sevDesk data into Book-AI-ze') and enumerates exactly which entities are pulled, plus the mapping outcome (documents/contacts/transactions). An agent can tell this apart from the sevdesk_push_* siblings and from list_sevdesk_records without opening a schema.

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?

Gives concrete conditional guidance: call again with the job_id when a result returns done:false, and use update_existing_only to backfill a field without pulling in every record. It does not explicitly name a when-not case or a competing tool (e.g. when to use list_sevdesk_records or stripe_import_range instead), so it stops short of full routing guidance.

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