Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Delete Organization

delete_organization
DestructiveIdempotent

Deletes an organization so it no longer appears in reads, listings, or lookups; requires confirmation and refuses while contacts or deals still reference it.

Instructions

Delete an organization so that no read, listing or lookup returns it again.

ALWAYS CONFIRM WITH THE USER BEFORE CALLING THIS. There is no undo. Call it only when the user asks for the company to be removed; to join two records of one company use merge_organizations. Show the user the organization, say it will be deleted, and call this only after they say to proceed. It is refused while any contact belongs to the organization (delete each with delete_contact or move them with update_contact), and while any deal names it unless delete_opportunities is true. It deletes the organization, its merged duplicates, signals, proof points and external references. Its domain is free for a new organization.

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": {
      "organization_id": "<organization_id>",
      "confirm": "<confirm>"
    },
    "name": "delete_organization"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesThe same organization id again, exactly: a guard against deleting a misread id. Anything else deletes nothing.
organization_idYesThe organization to delete.
delete_opportunitiesNoAlso delete the deals that name it (default false, which refuses while any exist). A deal is the user's own record, so ask first.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.9/5.0
Behavior5/5

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

Although annotations already declare destructiveHint=true and idempotentHint=true, the description adds substantial context beyond them: irreversibility ('no undo'), the cascading scope of deletion (merged duplicates, signals, proof points, external references), the exact preconditions that cause a refusal, and the side effect that the domain becomes free. That is a materially fuller behavioral picture than the annotations alone provide.

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?

Purpose is stated first, then the confirmation requirement, then the blocking conditions and cascade effects, in descending order of decision relevance. Despite covering a lot, every clause carries an operational fact (undo, refusal, cascade, freed domain) and there is no restatement of the title or name.

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 three-parameter destructive tool with annotations and an output schema already present, nothing an agent needs is missing: preconditions, confirmation protocol, cascade scope, remediation paths, and sibling routing are all covered. Return values need not be described because an output schema exists.

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?

Schema coverage is 100%, so the schema already explains organization_id, the confirm echo guard, and delete_opportunities. The description still adds cross-parameter meaning the schema does not: that deletion is refused while deals name the organization unless delete_opportunities is true, and that the flag touches the user's own records so the user should be asked. That is real added semantics, though the per-field definitions remain schema-owned.

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 first sentence names a specific verb and resource (delete an organization) and immediately states the observable effect: no read, listing or lookup returns it. It also explicitly distinguishes this from merge_organizations for the adjacent 'join two records' case, so an agent can distinguish it from the closest sibling without opening any 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?

It gives an explicit when-to-use rule ('only when the user asks for the company to be removed'), a mandatory confirmation protocol, and named alternatives for the neighboring intents (merge_organizations, delete_contact, update_contact, delete_opportunities). The refusal preconditions are stated as concrete blocking conditions, which is exactly the guidance an agent needs before invoking a destructive tool.

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