Skip to main content
Glama

bx24_bots

Manage Bitrix24 chat bots: register bots, send messages, handle reactions, commands, files, and poll events via imbot.v2 methods.

Instructions

Bitrix24 chat bots v2 (чат-боты): bot registration, chats, messages, reactions, commands, files, events. Methods imbot.v2.* (REST 1.0 + 3.0). RU/EN: чат-бот, бот, зарегистрировать бота, команда, реакция / chat bot, register bot, command, reaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoBot code (unique identifier)
fileNoFile to upload: NAME, CONTENT base64
botIdNoChat bot code/ID
orderNoOrder object (e.g. { 'ID': 'DESC' })
startNoPagination offset (number of records to skip)
actionYesOperation to perform: - "bot_register": Register a chat bot - "bot_update": Update bot properties - "bot_get": Get bot info - "bot_list": List bots of the app - "bot_unregister": Unregister/remove a bot (destructive) - "chat_add": Create a group chat (bot-hosted) - "chat_get": Get chat info - "chat_update": Update chat properties - "chat_leave": Bot leaves a chat (destructive) - "chat_setOwner": Change chat owner - "chat_user_add": Add a member to a chat - "chat_user_delete": Remove a member (destructive) - "chat_user_list": List chat members - "chat_manager_add": Add a chat manager - "chat_manager_delete": Remove a chat manager (destructive) - "message_send": Bot sends a message - "message_update": Update a bot message - "message_delete": Delete a bot message (destructive) - "message_read": Mark a message read - "message_get": Get a message by ID - "message_getContext": Get message context window - "reaction_add": Add a reaction to a message - "reaction_delete": Remove a reaction (destructive) - "command_register": Register a slash command - "command_update": Update a command - "command_list": List bot commands - "command_unregister": Unregister a command (destructive) - "command_answer": Respond to a command - "file_upload": Upload a file to a chat - "file_download": Get a file download link - "event_get": Poll for bot events
chatIdNoChat ID (e.g. chat123)
fieldsNoBot/chat/message/command fields (per Bitrix24 docs for the method)
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.
clientIdNoApp client_id (for bot registration)
commandIdNoBot command ID
messageIdNoMessage ID
reactionIdNoMessage reaction ID

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?

With no annotations provided, the description carries the full burden, but it only lists topic areas and API versions. It does not mention side effects, permission requirements, event polling behavior, or destructive potential; the destructive hints appear only in the schema's action enum and confirm parameter, not in the narrative 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 a single compact sentence that front-loads the resource and version, then lists functional areas. The RU/EN keyword list adds minor redundancy but remains short and does not undermine clarity.

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?

This is a large multi-action tool with 15 parameters and no output schema, yet the description provides only a category list. It omits prerequisites such as a registered bot or client_id, how event_get polling works, and any return-shape or error context, leaving the detailed action enum to carry the operational weight.

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%, with every parameter already documented, including detailed per-action semantics in the action enum. The tool description adds no parameter-level meaning, so the baseline of 3 applies.

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 the resource (Bitrix24 chat bots v2) and functional scope (bot registration, chats, messages, reactions, commands, files, events), and names the API family (imbot.v2.*). It is distinguishable from CRM/tasks/projects siblings, though it does not explicitly differentiate from the closely related bx24_im and bx24_im_chat tools.

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?

The description gives no guidance on when to use this tool versus alternatives like bx24_im or bx24_im_chat, and mentions no exclusions, prerequisites, or selection criteria. The RU/EN keyword list aids search but does not help an agent decide between sibling tools.

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