Skip to main content
Glama
Unofficial Lexware Office MCP Server

Unofficial Lexware Office MCP Server

get_recurring_templates

Read-only

Read recurring invoice templates to check schedules, execution status, and draft settings; fetch a single template by ID or list them.

Instructions

Read the templates that issue invoices on a schedule.

One API call. With template_id it answers with that one template, without it with a page of them.

The list leaves out what a template will invoice, its lines and tax. Read one by id to see them.

recurringTemplateSettings carries the schedule. executionStatus says whether it still runs, and finalize false means each run leaves a draft rather than issuing an invoice.

There is nothing to filter by, and reading is all the API allows.

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": "get_recurring_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoZero-based page number. Read the `page` block of the previous result before asking for another one, rather than paging blindly.
sizeNoRows per page. A larger page costs the same single API call but more of the answer's token budget, so raise it only when the whole list is genuinely needed.
sortNoWhich date to order by, newest first unless ',ASC' is added. The API sorts on these four and nothing else.
template_idNoRead one template by id. Left unset, a page of them comes back instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv0.11.0
    • removedInput schema / properties / page / title
      Removed value: -"Page"
    • removedInput schema / properties / size / title
      Removed value: -"Size"
    • removedInput schema / properties / sort / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "createdDate,DESC",
      -      "createdDate,ASC",
      -      "updatedDate,DESC",
      -      "updatedDate,ASC",
      -      "nextExecutionDate,DESC",
      -      "nextExecutionDate,ASC",
      -      "lastExecutionDate,DESC",
      -      "lastExecutionDate,ASC"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / sort / enum
      Added value: +[
      +  "createdDate,DESC",
      +  "createdDate,ASC",
      +  "updatedDate,DESC",
      +  "updatedDate,ASC",
      +  "nextExecutionDate,DESC",
      +  "nextExecutionDate,ASC",
      +  "lastExecutionDate,DESC",
      +  "lastExecutionDate,ASC"
      +]
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • addedInput schema / properties / sort / type
      Added value: +"string"
    • removedInput schema / properties / template_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / template_id / title
      Removed value: -"Template Id"
    • addedInput schema / properties / template_id / type
      Added value: +"string"
    • removedInput schema / title
      Removed value: -"get_recurring_templatesArguments"
  2. Addedv0.8.3

TDQS

A4.6/5.0
Behavior5/5

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

The readOnlyHint=true annotation is consistent, and the description goes well beyond it: one API call per read, list responses omit line items and tax, and specific response fields are named with their meaning (`recurringTemplateSettings` carries the schedule, `executionStatus` says whether it still runs, `finalize=false` yields drafts). This is materially useful behavior an agent cannot get from the annotation.

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?

Front-loaded with the purpose, then mode behavior, then the caveat about missing line/tax data, then field meanings. Each short paragraph carries distinct information and none repeats a prior point.

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 no output schema, the description does the work of explaining returns: it names key fields and warns that list results omit lines and tax. It stops short of describing the remaining shape of a list row or the pagination block, though the `page` parameter description partly covers the latter.

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 description coverage is 100% and the parameter descriptions already explain paging, page size trade-offs, and sort enums in detail. The description only restates the `template_id` branch that the schema already states, and says nothing about page/size/sort. Baseline 3 is appropriate since the schema does the heavy lifting.

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: "Read the templates that issue invoices on a schedule." It also disambiguates the tool's two modes (bulk page vs. single by id) up front, so an agent knows exactly what it returns without opening the schema. No sibling in the catalog covers templates, so no collision risk remains unaddressed.

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 says when to pass `template_id` and when not to ("with `template_id` it answers with that one template, without it with a page of them"), and gives the deciding reason: the list leaves out lines and tax, so read one by id for those. It also closes off false hopes with "There is nothing to filter by, and reading is all the API allows."

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