Skip to main content
Glama
iseppo

e-arveldaja MCP Server

by iseppo

Delete Client

delete_client
Destructive

Permanently delete a client from the e-arveldaja accounting system. Use for mistakenly created clients with no invoice, journal, or transaction history; fails if accounting records reference the client.

Instructions

Permanently delete a client. Fails if the client is referenced by invoices, journals, transactions, or other accounting records — use deactivate_client to hide an in-use client 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.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, so the irrevocability bar is partly covered. The description adds the referential-integrity failure mode — the call will error rather than cascade when accounting records reference the client — which is behavior annotations cannot express. It does not say what the response looks like or whether it can be undone beyond "permanently".

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, no filler, and the destructive nature is front-loaded before the failure condition and the alternative. Every clause carries information the agent needs to act correctly.

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-param destructive mutation with annotations covering the safety profile and no output schema, the description covers intent, failure semantics, and the escape hatch. Nothing required to call it correctly 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?

There is a single parameter with 100% schema description coverage, so the schema fully documents it. The description adds no syntax, format, or selection guidance for the id beyond what the schema provides; 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?

States a specific verb and resource ("Permanently delete a client") and immediately distinguishes itself from the sibling deactivate_client by contrasting permanent removal with hiding an in-use record. An agent can route between delete_client and deactivate_client without opening either 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?

Explicitly states when-not to use it (client referenced by invoices, journals, transactions, or other accounting records), names the alternative tool to use instead, and names the intended use case (mistakenly-created master data with no history). Both the trigger and the exclusion are given.

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