Skip to main content
Glama
paskal

bitrix24-mcp-server

by paskal

bitrix24_task_comment_add

Add a comment to a Bitrix24 task. Supports BBCode formatting and posts to both task chat and comment section. Note: file attachments require a separate tool.

Instructions

Add a comment to a Bitrix24 task. Uses legacy forum API which posts to both the task chat and the comment section. The message will appear in the task's IM chat for all participants. RETURNS the comment ID (numeric) — keep it: the same ID can later be passed to bitrix24_task_comment_update to edit, bitrix24_task_comment_delete to remove, or bitrix24_im_message_update/bitrix24_im_message_delete (same underlying message). To ATTACH A FILE to the task (docx brief, screenshot, pdf, etc.), do NOT try to inline it in the comment — use bitrix24_task_attach_file separately. Typical pattern: (1) attach the file, then (2) post a short comment referencing the attached file name. Comment text supports BBCode but NOT Markdown (backticks render literally, ** doesn't bold). Use [B]…[/B], [I]…[/I], [URL=…]…[/URL], [USER=ID]Name[/USER] for mentions. For bullet lists in a COMMENT put a literal • at the line start — []/[LIST] render literally («[]») in comments (they only format inside task DESCRIPTIONS, not comments). DISCLOSURE — the comment text MUST end with a final line, on its own, reading exactly «(написано агентом)»: it posts under the human owner's account but is agent-written (owner rule, favor-group).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesComment text (BBCode only — no Markdown. Patterns: [B]bold[/B], [URL=…]text[/URL], [USER=854]Name[/USER])
taskIdYesTask ID
Behavior5/5

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

Discloses behavioral traits beyond annotations (none provided): uses legacy forum API, posts to both chat and comment section, returns numeric ID to keep, requires a specific ending line ('(написано агентом)'), and explains BBCode limitations like Markdown not supported.

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 long but every sentence adds necessary context; it is well-structured with purpose, behavior, return value, usage tips, formatting rules, and a required disclosure. Could be slightly tighter but still efficient.

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?

Given the tool's complexity (two parameters, no output schema), the description fully explains the required usage pattern, return value, formatting nuances, and behavioral implications. No gaps remain.

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 covers 100% of parameters, baseline 3. Description adds significant value by detailing BBCode patterns, the required disclosure line, and the text parameter's formatting constraints beyond the schema's short description.

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 description states verbatim 'Add a comment to a Bitrix24 task' and distinguishes from siblings by explaining the return ID's usage for update/delete tools and explicitly separating file attachment via bitrix24_task_attach_file.

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?

Provides explicit guidance: do not inline files, follow typical pattern (attach then comment), BBCode not Markdown, required disclosure line, and notes that [*]/[LIST] only work in descriptions. Clearly separates when to use this vs sibling tools.

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/paskal/bitrix24-mcp-server'

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