Skip to main content
Glama
bit2beat

Bitrix24 MCP server

b24_calendar_create

Create a calendar event with attendees, location, and reminders in Bitrix24.

Instructions

Crea un evento en el calendario con participantes, ubicación y recordatorios.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNouser
owner_idNo
nameYesNombre/título del evento
date_fromYesFecha/hora inicio ISO8601. Ejemplo: "2026-06-15 10:00:00"
date_toYesFecha/hora fin ISO8601. Ejemplo: "2026-06-15 11:00:00"
descriptionNo
locationNo
attendeesNoIDs de usuarios invitados
remindNoRecordatorios. Ejemplo: [{ type: "min", count: 15 }]
webhook_urlNo

Implementation Reference

  • Main handler for b24_calendar_create. Creates a calendar event via Bitrix24 'calendar.event.add' API with name, dates, description, location, attendees, and reminders.
    export async function calendarCreate({ type = 'user', owner_id, name, date_from, date_to, description, location, attendees, remind, webhook_url }) {
      const client = new Bitrix24Client(resolveWebhook(webhook_url));
      const res = await client.call('calendar.event.add', {
        type,
        ...(owner_id ? { ownerId: owner_id } : {}),
        name,
        date_from,
        date_to,
        skip_time: 'N',
        ...(description ? { description } : {}),
        ...(location ? { location } : {}),
        ...(attendees ? { attendees } : {}),
        ...(remind ? { remind } : {}),
      });
      return { portal: client.portal, created_id: res.result, success: true };
    }
  • Zod schema defining the input parameters for the calendar create tool: type, owner_id, name, date_from, date_to, description, location, attendees, remind, and webhook_url.
    export const calendarCreateSchema = z.object({
      type: z.enum(['user', 'group', 'company_calendar']).optional().default('user'),
      owner_id: z.union([z.string(), z.number()]).optional(),
      name: z.string().describe('Nombre/título del evento'),
      date_from: z.string().describe('Fecha/hora inicio ISO8601. Ejemplo: "2026-06-15 10:00:00"'),
      date_to: z.string().describe('Fecha/hora fin ISO8601. Ejemplo: "2026-06-15 11:00:00"'),
      description: z.string().optional(),
      location: z.string().optional(),
      attendees: z.array(z.union([z.string(), z.number()])).optional().describe('IDs de usuarios invitados'),
      remind: z.array(z.object({
        type: z.enum(['min', 'hour', 'day']),
        count: z.number(),
      })).optional().describe('Recordatorios. Ejemplo: [{ type: "min", count: 15 }]'),
      webhook_url: z.string().url().optional(),
    });
  • index.js:226-228 (registration)
    Registration of the 'b24_calendar_create' tool on the MCP server with its description, schema, and wrapped handler.
    server.tool('b24_calendar_create',
      'Crea un evento en el calendario con participantes, ubicación y recordatorios.',
      calendarCreateSchema.shape, wrap(calendarCreate));
Behavior2/5

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

No annotations are provided, and the description only states 'creates an event'. It does not disclose behavioral traits such as required permissions, side effects (e.g., overwriting), idempotency, or error handling. The description carries the full burden but falls short.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that is front-loaded with the tool's purpose. It contains no superfluous words and is efficient in delivery.

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?

Given 10 parameters, 3 required, no output schema, and no annotations, the description is too brief. It omits usage context, parameter constraints, return values, and behavioral details, making it insufficient for a complex tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at 50%, the description does not add meaning beyond summarizing three parameter categories (participants, location, reminders). It fails to explain parameters like type, owner_id, description, or webhook_url, leaving gaps.

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 clearly states the action (creates a calendar event) and specifies key features (participants, location, reminders). It distinguishes from the sibling tool b24_calendar_list, which is for listing events.

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 such as b24_calendar_list or other creation tools. There are no prerequisites, exclusions, or context for appropriate usage.

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