Skip to main content
Glama

bx24_mail

Handle Bitrix24 email tasks: manage mailboxes, send, reply, forward messages, list recipients, and configure filters and mail services through the REST API.

Instructions

Bitrix24 mail: mailboxes, messages, send, reply, forward, filters, recipient. Methods mail.mailbox., mail.message., mail.recipient., mailservice. (REST 1.0 + 3.0). RU/EN: почта, письмо, отправить письмо, ящик, фильтр / mail, email, send email, mailbox, filter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoEntity ID
orderNoOrder object (e.g. { 'ID': 'DESC' })
startNoPagination offset (number of records to skip)
actionYesOperation to perform: - "mailbox_list": List mailboxes - "mailbox_get": Get a mailbox - "mailbox_add": Add a mailbox - "mailbox_delete": Delete a mailbox (destructive) - "mailbox_senders": List available senders for a mailbox - "mailbox_field_list": List mailbox fields - "mailbox_field_get": Get a mailbox field - "message_list": List messages - "message_get": Get a message - "message_send": Send an email (TO, SUBJECT, BODY) - "message_delete": Delete a message (destructive) - "message_reply": Reply to a message - "message_forward": Forward a message - "message_mark": Mark a message (seen/flagged) - "message_movetofolder": Move a message to a folder (destructive — leaves inbox) - "message_createtask": Create a task from a message - "message_createcalendarevent": Create a calendar event from a message - "message_createchat": Create a chat from a message - "message_createfeedpost": Create a news feed post from a message - "message_createcrmactivity": Create a CRM activity from a message - "message_removecrmactivity": Remove the CRM activity link from a message (destructive) - "message_field_list": List message fields - "message_field_get": Get a message field - "recipient_list": List recipients - "recipient_listcontacts": Search address book contacts - "recipient_listemployees": Search portal employees - "recipient_field_list": List recipient fields - "recipient_field_get": Get a recipient field - "mailservice_list": List mail services - "mailservice_add": Add a mail service - "mailservice_get": Get a mail service - "mailservice_delete": Delete a mail service (destructive) - "mailservice_fields": Describe mail service fields - "filter_add": Add a mail filter - "filter_delete": Delete a mail filter (destructive) - "filter_list": List mail filters
fieldsNoMessage/mailbox/service 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.
folderIdNoTarget folder ID for movetofolder
mailboxIdNoMailbox ID
messageIdNoMessage ID
taskFieldsNoTask fields for message_createtask
filterFieldsNoFilter fields: NAME, MAILBOX_ID, ACTION

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not mention side effects, destructive actions, permission requirements, rate limits, or response behavior. Some destructive actions are marked in the input schema's action enum, but the tool description itself adds little behavioral transparency beyond listing methods.

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 short and front-loaded with the mail domain, then lists method families and useful RU/EN keywords. It avoids verbose prose and is appropriately sized for a tool that delegates specifics to the action enum. The method list is slightly redundant with the schema but not harmful.

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 complex tool with 13 parameters, 39 enumerated actions, nested objects, and no output schema or annotations. The description only names the domain and method families; it does not explain common workflows, prerequisites, destructive-operation confirmation, or response/return expectations. An agent would need to rely heavily on the schema to use it safely and correctly.

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%, so the schema already documents all 13 parameters adequately. The description adds no parameter-level meaning beyond naming the method families. Baseline 3 is appropriate because the description does not need to compensate for schema gaps.

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 identifies the Bitrix24 mail domain and the resource families it covers (mailboxes, messages, recipients, mail services, filters) and lists core operations like send, reply, and forward. It is less a single verb+resource statement and more a domain label, but it clearly distinguishes bx24_mail from CRM, tasks, disk, and IM sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes clear context: use this tool for Bitrix24 mail operations such as mailboxes, messages, sending, replying, forwarding, filters, and recipients. It does not explicitly state when not to use it or name alternatives, but the sibling set is strongly domain-separated, so the mail scope is sufficient for tool selection.

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