Skip to main content
Glama

b24_crm_timeline_comment_add

Post a comment to a CRM record's timeline in Bitrix24 by specifying the entity type, record id, and comment text. Returns the id of the new comment.

Instructions

Post a comment to a CRM record's timeline. Returns the new comment id.

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": {
      "entity_type": "<entity_type>",
      "entity_id": "<entity_id>",
      "comment": "<comment>"
    },
    "name": "b24_crm_timeline_comment_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentYesComment text (plain text / BB-code).
entity_idYesOwner record id.
entity_typeYesTimeline owner type: 'lead','deal','contact','company','quote', or a SPA type.
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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description adds that the new comment id is returned, but says nothing beyond that - notably it omits that non-idempotent retries create duplicate comments, or that writes are attributed to the webhook's user as described in the schema.

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 sentences with the action front-loaded and the return value second; nothing is padded. It is arguably over-terse, but no sentence is wasted.

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

Completeness3/5

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

With a fully described 5-parameter schema and an output schema present, the description need not explain parameters or return shapes. However, for a mutating, non-idempotent, cross-entity tool in a crowded family of *_add/comment tools, the absence of any routing guidance or permission note leaves a real gap.

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 the entity_type enum-like values, entity_id owner semantics, BB-code comment text, and the two webhook override parameters. The description adds no parameter meaning beyond that, so the baseline 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?

States a specific verb and resource: posting a comment onto a CRM record's timeline, plus the side effect of returning a new comment id. The 'CRM record's timeline' phrasing implicitly separates it from b24_task_comment_add and b24_im_message_add, though it never names an alternative explicitly.

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?

Usage is only implied by the verb 'Post' - an agent can infer this is the write path for timeline comments (versus b24_crm_timeline_comment_list for reading). There is no explicit when-to-use, no exclusion of other comment tools, and no note about needing write permission on the target record.

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