Skip to main content
Glama

b24_crm_delete

Destructive

Delete any CRM record by ID — lead, deal, contact, company, quote, or SPA item. Action is irreversible and removes the record from the portal.

Instructions

Delete a CRM record. Irreversible — deletes on the portal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRecord id to delete.
entityNoClassic CRM entity: 'lead', 'deal', 'contact', 'company', or 'quote'. Ignored when entity_type_id is set.deal
webhook_urlNoOverride the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default.
entity_type_idNoNumeric CRM entity type id for the modern crm.item.* API (e.g. 1=lead, 2=deal, 1030+=Smart Process). Set this to work with SPA items.
personal_webhookNoAct as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already set destructiveHint=true, so the description's 'Irreversible' adds contextual emphasis beyond that. It confirms the operation's permanence, which aligns with the tag. No contradiction; the description enriches the behavioral understanding without repeating annotations.

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 crisp sentences with no wasted words. The purpose is front-loaded in the first sentence, and the irreversible warning is placed immediately after. Every sentence adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simplicity of a delete operation and the presence of a detailed input schema, output schema, and annotations, the description covers the essential behavioral context (irreversibility). It could mention permission requirements or return value hints, but overall it is sufficiently complete for an agent to infer correct usage.

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 coverage is 100% with detailed parameter descriptions (e.g., entity_type_id for SPA). The tool description offers no additional parameter-level explanation beyond what the schema provides. Baseline 3 is appropriate as the schema already handles semantics.

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?

Clearly states the action ('Delete') and target ('CRM record'), with the additional emphasis 'Irreversible — deletes on the portal.' This verb+resource definition is specific and distinguishes it from other CRM tools like update or list. No ambiguity.

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 description implies usage when deletion of a CRM record is needed, but it lacks explicit guidance on when not to use or alternatives. For instance, it does not compare with sibling delete tools (e.g., b24_calendar_event_delete) or note prerequisites like entity type. Usage is clear but not comprehensively guided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/john7ross/BitrixMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server