Skip to main content
Glama

delete_account

DestructiveIdempotent

Delete an organisation (CRM account) of the ACTIVE tenant. Always parked for human approval first (returns pending_approval + a preview: tenant ids and links). Refused while the account still has linked contacts, leads, offers, contracts, invoices, emails, documents, deadlines, subsidiaries etc. — the error lists them; for a duplicate use merge_records entity=account instead. Notes, AI memory, labels and custom field values are deleted with it. A full snapshot goes to the audit log (list_audit_log / list_record_history) for manual recovery.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account_id": "<account_id>",
      "reason": "<reason>"
    },
    "name": "delete_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy it is deleted (stored in the audit log), e.g. 'Dublette, im falschen Mandanten angelegt'.
account_idYesID of the account (company) to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / account_id / description
      Added value: +"ID of the account (company) to delete"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Although the annotations already flag destructiveHint=true, the description adds substantial non-annotated behavior: the call is parked for human approval and returns pending_approval with a preview; cascading deletion of notes, AI memory, labels and custom field values; and an audit-log snapshot for manual recovery. That is exactly the extra operational context annotations cannot 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?

Four front-loaded sentences, each carrying distinct decision-relevant information: scope, approval flow and return, refusal condition with alternative, and side effects/recovery. No filler, and the library enumeration earns its place by defining the blocking condition.

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?

There is no output schema, but the description still tells the agent what comes back (pending_approval plus a preview with tenant ids and links) and where to look afterwards (list_audit_log / list_record_history). For a destructive two-parameter tool, nothing an agent needs in order to invoke or interpret it 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 both parameters are already documented in the schema, including that `reason` is stored in the audit log. The description adds no further parameter-level detail (e.g. formatting, ID source), so the 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?

The description opens with a specific verb and resource ('Delete an organisation (CRM account)') and scopes it to the ACTIVE tenant, which an agent can use to distinguish it from the many other delete_* siblings. It also pre-empts confusion with merge_records by naming that alternative for duplicates.

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?

It states the negative condition explicitly ('Refused while the account still has linked contacts, leads...'), explains what the refusal looks like ('the error lists them'), and names the alternative for the duplicate case ('use merge_records entity=account instead'). This is close to a complete when/when-not/alternative matrix.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.