Skip to main content
Glama
bit2beat

Bitrix24 MCP server

b24_notify_send

Send personal notifications to Bitrix24 users with customizable message, type, and tag. Supports simple, confirm, and lines notifications.

Instructions

Envía una notificación personal a un usuario dentro de Bitrix24.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesID del usuario destinatario
messageYesTexto de la notificación
typeNoTipo: SYSTEM (notificación simple), CONFIRM (con botones confirmar/rechazar), LINES (Open Lines)SYSTEM
tagNoTag para agrupar o reemplazar notificaciones previas del mismo tag
webhook_urlNo

Implementation Reference

  • The `notifySend` async function that executes the tool logic. It calls the Bitrix24 API method `im.notify.personal.add` with the provided parameters (to, message, type, tag) and returns the result.
    export async function notifySend({ to, message, type = 'SYSTEM', tag, webhook_url }) {
      const client = new Bitrix24Client(resolveWebhook(webhook_url));
      const res = await client.call('im.notify.personal.add', {
        USER_ID: to,
        MESSAGE: message,
        TYPE: type,
        ...(tag ? { TAG: tag } : {}),
      });
      return { portal: client.portal, notify_id: res.result, success: true };
    }
  • The `notifySendSchema` Zod schema defining the input validation for the tool: `to` (user ID), `message` (text), `type` (SYSTEM/CONFIRM/LINES), `tag` (optional), and `webhook_url` (optional).
    export const notifySendSchema = z.object({
      to: z.union([z.string(), z.number()]).describe('ID del usuario destinatario'),
      message: z.string().describe('Texto de la notificación'),
      type: z.enum(['SYSTEM', 'CONFIRM', 'LINES']).optional().default('SYSTEM').describe(
        'Tipo: SYSTEM (notificación simple), CONFIRM (con botones confirmar/rechazar), LINES (Open Lines)'
      ),
      tag: z.string().optional().describe('Tag para agrupar o reemplazar notificaciones previas del mismo tag'),
      webhook_url: z.string().url().optional(),
    });
  • index.js:235-237 (registration)
    Registration of the tool named 'b24_notify_send' on the MCP server using `server.tool()`, with the description 'Envía una notificación personal a un usuario dentro de Bitrix24.', the schema shape, and the wrapped handler.
    server.tool('b24_notify_send',
      'Envía una notificación personal a un usuario dentro de Bitrix24.',
      notifySendSchema.shape, wrap(notifySend));
  • index.js:55-57 (registration)
    Import of `notifySendSchema` and `notifySend` from './src/tools/feed-notifications.js' into the main index.js file for registration.
    import {
      feedPostSchema, feedPost,
      notifySendSchema, notifySend,
Behavior2/5

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

No annotations are present, so the description must fully disclose behavioral traits. It only states the action (send) without revealing side effects, required permissions, rate limits, or what happens on failure. The description is insufficient for a mutation tool.

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, short sentence (6 words in Spanish) with no fluff. It is front-loaded and efficient, though arguably too brief for full 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?

With 5 parameters, no output schema, and no annotations, the description lacks completeness. It omits return value, error handling, success indicators, and any behavioral nuances, leaving the agent underinformed.

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 80%, so the schema already explains most parameters. The description adds no extra meaning beyond what is in the schema, meeting the baseline. It does not elaborate on parameter usage or constraints.

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 states the tool sends a personal notification to a user in Bitrix24, using a specific verb and resource. However, it does not differentiate from sibling tools like b24_chat_send or b24_feed_post, which could cause confusion in selection.

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?

No guidance is provided on when to use this tool versus alternatives (e.g., chat or feed posting). There is no mention of prerequisites, appropriate contexts, or exclusions.

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

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