Skip to main content
Glama
Unofficial Lexware Office MCP Server

Unofficial Lexware Office MCP Server

update_article

DestructiveIdempotent

Update selected fields of an existing Lexware article using its ID and current version; only provided fields change, and the new version is returned for later edits.

Instructions

Change an article. Only the fields you give are changed.

Read it with get_article first: that shows what is there and carries the version this needs. Two API calls.

Giving price replaces the side named by leading_price and leaves the other for the API to recompute.

Answers with the id and the new version, which the next update needs.

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": {
      "article_id": "<article_id>",
      "version": "<version>"
    },
    "name": "update_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
gtinNoNew barcode number.
noteNoNew internal note.
priceNoNew price for one unit.
titleNoNew title.
versionYesThe `version` from the record as you last read it. If the record has changed since, the update is refused instead of overwriting that change.
tax_rateNoNew tax rate as a percentage.
unit_nameNoNew unit.
article_idYesThe article's Lexware id, as returned by search_articles.
descriptionNoNew description.
article_typeNoChange goods to service or back.
leading_priceNoWhether the new price is before or after tax. Left unset, the side the article already used is kept.
article_numberNoNew article number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed39 schema fields changedv0.11.0
    • removedInput schema / properties / article_id / title
      Removed value: -"Article Id"
    • 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 / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "PRODUCT",
      -      "SERVICE"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / article_type / enum
      Added value: +[
      +  "PRODUCT",
      +  "SERVICE"
      +]
    • removedInput schema / properties / article_type / title
      Removed value: -"Article Type"
    • addedInput schema / properties / article_type / type
      Added value: +"string"
    • 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 / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "NET",
      -      "GROSS"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / leading_price / enum
      Added value: +[
      +  "NET",
      +  "GROSS"
      +]
    • removedInput schema / properties / leading_price / title
      Removed value: -"Leading Price"
    • addedInput schema / properties / leading_price / type
      Added value: +"string"
    • 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 / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / price / minimum
      Added value: +0
    • removedInput schema / properties / price / title
      Removed value: -"Price"
    • addedInput schema / properties / price / type
      Added value: +"number"
    • removedInput schema / properties / tax_rate / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / tax_rate / minimum
      Added value: +0
    • removedInput schema / properties / tax_rate / title
      Removed value: -"Tax Rate"
    • addedInput schema / properties / tax_rate / type
      Added value: +"number"
    • removedInput schema / properties / title / anyOf
      Removed value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / title / minLength
      Added value: +1
    • removedInput schema / properties / title / title
      Removed value: -"Title"
    • addedInput schema / properties / title / type
      Added value: +"string"
    • removedInput schema / properties / unit_name / anyOf
      Removed value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / unit_name / minLength
      Added value: +1
    • removedInput schema / properties / unit_name / title
      Removed value: -"Unit Name"
    • addedInput schema / properties / unit_name / type
      Added value: +"string"
    • removedInput schema / properties / version / title
      Removed value: -"Version"
    • removedInput schema / title
      Removed value: -"update_articleArguments"
  2. Addedv0.8.4

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=true, so the safety profile is covered; the description adds genuinely new behavior: the version-based conflict refusal instead of overwriting, the price/leading_price recompute rule, and the returned id plus new version. It never explains why the operation is flagged destructive or what could be lost beyond the named fields, which is the remaining gap given the destructive hint.

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?

Four short, front-loaded paragraphs: purpose, prerequisite workflow, the one non-obvious field interaction, and the return value. No sentence repeats the schema and nothing is wasted.

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?

With no output schema, the description steps in and states what the call returns (id and new version) and why that matters. Combined with 100% schema coverage and the stated conflict behavior, an agent has everything needed to invoke this 12-parameter mutation correctly.

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%, so the baseline is 3; the schema already explains version, leading_price and every other field. The description adds real meaning only for the price/leading_price interaction and for how the returned version feeds the next call, which is useful but narrow against 12 fully documented parameters.

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 opens with a specific verb and resource ('Change an article') and immediately qualifies the semantics as a partial update ('Only the fields you give are changed'), which separates it from create_article and delete_article. It also names the read sibling get_article as the required precursor, so an agent can place this tool in a workflow without opening any 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?

It gives a concrete prerequisite workflow: read with `get_article` first because that call carries the `version` this tool requires, and it notes the cost ('Two API calls'). It does not state when not to use this tool (e.g., for creation or deletion), so it stops just short of full alternative coverage.

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