Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

delete_invoice

Deletes a sales invoice by GUID through the Merit Aktiva API, removing the specified invoice record from the accounting system.

Instructions

DESTRUCTIVE: delete a sales invoice. Body: Id (GUID).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the key trait that this is an irreversible destructive operation, which is real value. However it says nothing about required permissions, whether the delete is soft or hard, cascade effects on related records, or what a failure looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with the destructive warning first and no filler. The "Body: Id (GUID)" fragment is terse and slightly cryptic in format but still economical.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no annotations and no output schema, the description covers the essential warning and the identifying field but leaves success/failure behavior and permission requirements unstated. Adequate to invoke correctly, thin on consequences.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema is a generic object with additionalProperties and no enumerated fields, so the description's mention of the Id (GUID) body field supplies information the schema does not. It does not, however, state whether the Id is required or how it is formatted beyond the type.

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 and resource ("delete a sales invoice"), and the qualifier "sales" distinguishes it from the sibling delete_purchase_invoice without needing to name it. It stops short of an explicit contrast with the sibling, so 4 rather than 5.

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 DESTRUCTIVE prefix implies caution and the sales-vs-purchase scoping hints at when this applies, but there is no explicit when-to-use, when-not-to-use, or named alternative such as a void/cancel operation if one exists.

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