Skip to main content
Glama
iseppo

e-arveldaja MCP Server

by iseppo

Delete Product

delete_product
Destructive

Permanently remove a product or service with no invoice or accounting history; it was created by mistake. For in-use records, deactivate instead to hide them without deleting.

Instructions

Permanently delete a product/service. Fails if the product is referenced by invoices or other accounting records — use deactivate_product to hide an in-use product instead. Intended for removing mistakenly-created master data with no history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesObject 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

A4.7/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation by disclosing the concrete failure condition (referential integrity with invoices/accounting records), the permanence, and the recommended alternative. Annotation already flags destructiveness; the description adds the operational constraint an agent needs.

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 sentences, front-loaded with the permanence warning, then the failure condition and alternative, then the intended use case. Zero filler.

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 single-parameter destructive mutation with no output schema and destructiveHint=true, the description supplies exactly the missing context: irreversibility, failure mode, alternative path, and scope of intended use. Nothing an agent needs is missing.

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% and the single 'id' parameter is documented as 'Object ID' with constraints in the schema. The description adds no meaning beyond the schema, so baseline 3 applies (0-param/simple-case rules push to 3-4; described param already covered).

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?

Specific verb ('delete') + resource ('product/service') with an explicit 'Permanently' qualifier that distinguishes it from the soft-delete sibling deactivate_product. An agent can tell exactly what this does and how it differs from nearby tools.

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?

Explicit when-not condition: 'Fails if the product is referenced by invoices... use deactivate_product to hide an in-use product instead.' Also states the intended use case ('mistakenly-created master data with no history'). Alternative tool is named with the selecting condition.

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