Skip to main content
Glama
iseppo

e-arveldaja MCP Server

by iseppo

Delete Invoice Series

delete_invoice_series
Destructive

Deletes an invoice numbering series by ID. Use it only when the series is not in use, since the operation fails for active or assigned series.

Instructions

Delete an invoice numbering series. Fails if the series is already in use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesInvoice series ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.18.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds a genuinely non-redundant behavioral fact: the operation fails when the series is in use, which is a failure mode the annotations do not convey.

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?

Two short sentences with zero filler; the core action is front-loaded and the failure condition follows immediately. Every clause earns its place.

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?

For a one-parameter destructive delete with no output schema, the description covers the action and the key failure condition, and annotations carry the safety semantics. It stops short of noting reversibility or side effects on invoices using the series, but is largely complete.

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?

There is a single required parameter (id) with 100% schema description coverage, so the schema fully documents it. The description adds no syntax, format, or lookup guidance beyond 'Invoice series ID', so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Delete) and resource (invoice numbering series), which cleanly separates it from the list_/get_/create_/update_invoice_series siblings. It does not explicitly name those siblings, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when the call is valid by stating it 'fails if the series is already in use', which gives a usable precondition. However, it offers no explicit guidance on when to delete versus update/keep a series, and names no alternative tool.

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

Deploy Server

Other Tools