Skip to main content
Glama
Unofficial Lexware Office MCP Server

Unofficial Lexware Office MCP Server

delete_article

DestructiveIdempotent

Permanently removes an accounting article by ID only after explicit confirmation, enabling cleanup of outdated records through the Lexware Office API.

Instructions

Delete an article. The API has no way back.

To change the article rather than remove it, use update_article.

The record is removed, not archived: reading it afterwards is a "not found". One API call, and only once confirm is true.

Documents that already quote this article keep their line items, which hold their own copy of the text and the price.

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>"
    },
    "name": "delete_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true. Nothing is sent without it, so a call made by accident fails instead of deleting something.
article_idYesThe article's Lexware id, as returned by search_articles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.11.0
    • removedInput schema / properties / article_id / title
      Removed value: -"Article Id"
    • removedInput schema / properties / confirm / title
      Removed value: -"Confirm"
    • removedInput schema / title
      Removed value: -"delete_articleArguments"
  2. Addedv0.8.4

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real context beyond them: the deletion is irreversible ("no way back"), it is a hard remove rather than an archive ("reading it afterwards is a 'not found'"), it is a single API call, and it discloses the blast radius — quoting documents keep their own copied line items and prices.

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 sentences, each load-bearing: purpose, alternative, irreversibility, side-effect scope. The alternative is front-loaded right after the purpose, before the fine print.

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 destructive two-parameter tool with no output schema, the description covers everything an agent needs: the safety gate, irreversibility, the post-delete read behavior, and the effect on related documents. Nothing material is left implicit.

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 schema already explains both `confirm` ("Must be true. Nothing is sent without it") and `article_id` (Lexware id from search_articles). The description's "only once `confirm` is true" largely restates the schema, so it adds workflow framing but no new parameter semantics — baseline 3 applies.

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?

Opens with a specific verb+resource ("Delete an article") and immediately names the sibling it is not (update_article), so the agent can distinguish it from the rest of the article CRUD family without reading the schema.

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?

Gives an explicit alternative and the condition that selects it ("To change the article rather than remove it, use `update_article`"), plus a hard precondition ("only once `confirm` is true"). Both the when-to-use and when-not path are stated.

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