Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

delete_purchase_invoice

Deletes a purchase invoice from Merit Aktiva using its GUID to remove unwanted or incorrect invoice records.

Instructions

DESTRUCTIVE: delete a purchase 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_purchase_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/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 single most important trait, that the operation destroys data. It does not state whether deletion is reversible, what happens if the invoice is linked to payments or approvals, or what errors/permissions apply.

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 compact clauses, with the destructive warning front-loaded and the required field immediately after. Nothing is wasted or buried.

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, no output schema and an empty-form schema, the definition covers the essentials (action, danger, identifier) but leaves side effects, failure modes and preconditions unaddressed. Adequate to invoke, thin for confident use.

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 open object with no declared properties, so the description's 'Body: Id (GUID)' is the only place the required identifier and its type are documented. That is genuine added meaning, though no format example or validation constraint is given.

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 a precise resource (purchase invoice), which separates it from sibling delete_invoice for sales invoices by name and description alone. It does not explicitly name or contrast the alternative delete tools, keeping it short of a 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 leading 'DESTRUCTIVE:' flag signals the operator should exercise caution, but there is no explicit guidance on when to choose this over sibling deletes, nor any prerequisite or precondition (e.g. invoice must be unposted/unpaid). Usage is only implied.

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