Skip to main content
Glama
Unofficial Lexware Office MCP Server

Unofficial Lexware Office MCP Server

create_article

Add a product or service to the Lexware Office article catalogue with price, tax rate and unit so it can be billed on documents.

Instructions

Add an article to the catalogue.

Writes to the account. One API call, and it is not retried.

Returns the new id and version, not the record. Read it back with get_article to see the price the API computed from the one given.

Unlike a voucher, an article can be removed again with delete_article.

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": {
      "title": "<title>",
      "article_type": "<article_type>",
      "unit_name": "<unit_name>",
      "price": "<price>",
      "tax_rate": "<tax_rate>"
    },
    "name": "create_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
gtinNoBarcode number. Thirteen digits, checked by the API.
noteNoInternal note. Not shown on a document.
priceYesThe price for one unit.
titleYesWhat the article is called on a document.
tax_rateYesThe tax rate as a percentage, for example 19.
unit_nameYesWhat one of it is, for example 'Stueck' or 'Stunde'.
descriptionNoLonger text shown under the title on a document.
article_typeYesWhether this is goods or a service.
leading_priceNoWhether `price` is before or after tax. The other figure is computed by the API from `tax_rate`.NET
article_numberNoYour own number for it. Not assigned by Lexware.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv0.11.0
    • removedInput schema / properties / article_number / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / article_number / title
      Removed value: -"Article Number"
    • addedInput schema / properties / article_number / type
      Added value: +"string"
    • removedInput schema / properties / article_type / title
      Removed value: -"Article Type"
    • removedInput schema / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / description / title
      Removed value: -"Description"
    • addedInput schema / properties / description / type
      Added value: +"string"
    • removedInput schema / properties / gtin / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / gtin / title
      Removed value: -"Gtin"
    • addedInput schema / properties / gtin / type
      Added value: +"string"
    • removedInput schema / properties / leading_price / title
      Removed value: -"Leading Price"
    • removedInput schema / properties / note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / note / title
      Removed value: -"Note"
    • addedInput schema / properties / note / type
      Added value: +"string"
    • removedInput schema / properties / price / title
      Removed value: -"Price"
    • removedInput schema / properties / tax_rate / title
      Removed value: -"Tax Rate"
    • removedInput schema / properties / title / title
      Removed value: -"Title"
    • removedInput schema / properties / unit_name / title
      Removed value: -"Unit Name"
    • removedInput schema / title
      Removed value: -"create_articleArguments"
  2. Addedv0.8.4

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description adds material context: the call writes to the account, is a single API call, and is not retried, warning the agent not to assume safe replay. It also discloses the return contract (id and version, not the record) and that the API computes the price, something the agent could not infer from the annotations.

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?

The description is front-loaded with the core action, then layers write behavior, return shape, and the sibling contrast in short, scannable paragraphs with no wasted phrasing.

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 ten-parameter, non-idempotent create tool with no output schema, the description covers the write semantics, the return contract, and the read-back path, so nothing an agent needs in order to invoke it correctly is missing.

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%, so all ten parameters (including required title, article_type, unit_name, price, tax_rate) are documented in the schema itself. The description's remark about "the price the API computed from the one given" overlaps with what the schema already states about leading_price and tax_rate, adding only modest additional meaning.

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 and resource ("Add an article to the catalogue") and contrasts the tool with the siblings create_voucher and delete_article, so an agent can distinguish it without inspecting schemas.

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 says what to do after creation ("Read it back with `get_article`") and frames the lifecycle ("can be removed again with `delete_article`"), which effectively names the follow-up and cleanup tools. It doesn't explicitly say when to prefer this over, say, create_voucher, but the resource distinction makes that largely unnecessary.

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