Skip to main content
Glama

b24_group_delete

Destructive

Delete a workgroup permanently by its group ID. Use for removing obsolete or duplicate groups when deletion is intended and cannot be undone.

Instructions

Delete a workgroup (sonet_group.delete). Irreversible.

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": {
      "group_id": "<group_id>"
    },
    "name": "b24_group_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYesGroup id to delete.
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.
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

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so "Irreversible" largely restates structured data. The description adds the useful fact that there is no undo path, but omits whether deletion cascades to group members, tasks, files or calendar entries, and does not mention required permissions for a mutation on a shared portal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short clauses, front-loaded with the action and ending on the risk. Nothing is wasted; the REST method name is arguably filler for an agent but is harmless and compact.

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?

Combined with the definition, nothing material is missing: annotations carry the safety profile, an output schema exists so return values need no explanation, and the schema fully documents the three parameters. The remaining gap (cascade effects, permission requirements) is the only thing holding behavioral transparency down, and it is not required for correct invocation.

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%, including detailed semantics for webhook_url and personal_webhook precedence. The description adds nothing beyond the schema, 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?

States a specific verb plus resource ("Delete a workgroup") and even names the underlying REST method, which makes it trivially distinguishable from siblings like b24_group_create, b24_group_update and b24_group_list.

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?

Use of this tool is implied by the verb, but there is no guidance on prerequisites (admin/owner rights), on when deletion is appropriate versus archiving or updating, or on what state the group must be in. The one-word warning "Irreversible" implies caution without telling the agent when to stop and confirm.

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