Skip to main content
Glama

bx24_departments

Manage Bitrix24 departments with CRUD operations, list/filter organization structure, and retrieve department IM details.

Instructions

Bitrix24 departments (org structure): CRUD + IM dept info. Methods department., im.department. (REST 1.0 + 3.0). RU/EN: отдел, подразделение, оргструктура, найти отдел / department, org structure, find department.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoEntity ID
orderNoOrder object (e.g. { 'ID': 'DESC' })
startNoPagination offset (number of records to skip)
actionYesOperation to perform: - "get": Get a department by ID - "list": List/filter departments - "add": Create a department - "update": Update a department - "delete": Delete a department (destructive) - "get_all": Describe department fields - "fields": Describe department fields - "im_get": Get IM info for a department
fieldsNoDepartment fields: NAME, PARENT, SORT, UF_HEAD
filterNoFilter object (e.g. { '>OPPORTUNITY': 10000, 'STAGE_ID': 'WON' })
selectNoArray of field names to return (projection)
confirmNoSet to true to confirm destructive actions when BX24_CONFIRM_DESTRUCTIVE is enabled.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, but it only labels the tool as CRUD + IM info. It does not mention that delete is destructive, what pagination/start implies, permission requirements, REST version differences, or what responses look like. The destructive nature of 'delete' is only visible in the schema, not the description.

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?

The description is compact and front-loaded with the core purpose, then adds the method namespaces and useful RU/EN search terms. Every part contributes either scoping or retrieval value, though the string of slash-separated terms at the end feels slightly terse rather than fully structured.

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

Completeness2/5

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

With 8 parameters, nested objects, no annotations, and no output schema, this description is only a high-level stub. It does not explain operation-specific caveats, response shapes, destructive-action confirmations, or how REST 1.0 and 3.0 differ, leaving an agent undersupplied for reliable 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%, so the baseline is 3; the description adds no parameter-level meaning beyond what the schema already provides. The action enum gives useful semantics for most actions, though 'get_all' is confusingly described as 'Describe department fields' in the schema, and the description does not resolve this ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies Bitrix24 departments/org structure as the resource and states the operation family (CRUD + IM department info). It also gives the relevant method namespaces (department.*, im.department.*), which helps distinguish it from the many CRM/task/user siblings, though it doesn't explicitly contrast it with related tools like bx24_users or bx24_hr.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, nor when to choose one action over another (e.g., get vs list vs get_all). The only usage signal is implicit in the action enum, and the description does not state conditions, prerequisites, or exclusions.

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