Skip to main content
Glama

b24_call

Invoke any Bitrix24 REST API method directly by specifying the method name and parameters as a JSON object, supporting nested filters, fields, and authentication overrides.

Instructions

Call ANY Bitrix24 REST method directly — the universal escape hatch.

This is the most reliable tool and covers the entire API surface. Prefer it whenever a typed tool does not fit, or when a typed tool behaves oddly.

Parameters go as a JSON POST body, so nested arrays (filter, fields, select, order) are passed exactly as you write them — no manual encoding needed.

Args: method: REST method name (no leading slash), e.g. 'crm.deal.get'. params: JSON object of parameters, e.g. {"id": 42} or {"filter": {">=DATE_CREATE": "2026-01-01"}, "select": ["ID","TITLE"]}. webhook_url / personal_webhook: auth overrides (see server instructions).

Returns: JSON string with the full response envelope, e.g. {"result": , "total": <int?>, "next": <int?>, "time": {...}}. On failure: {"error": true, "code": "", "message": "..."}.

Write safety: if BITRIX_READ_ONLY=1, methods that mutate data (add/update/ delete/...) are refused with code B24_READONLY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYesAny Bitrix24 REST method, e.g. 'crm.deal.list', 'user.get', 'tasks.task.add'.
paramsNoMethod parameters as a JSON object (nested filter/fields/select supported).
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

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Discloses key behaviors: parameters sent as JSON POST body, nested arrays supported, full response envelope with fields like result, total, next, time, and error handling. Write safety condition is also mentioned. No contradiction with annotations.

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 well-structured with clear sections (intro, args, returns, write safety). It is fairly detailed but every sentence adds value; minor redundancy in the introduction could be trimmed, but overall it is appropriately sized for a complex universal tool.

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 as an escape hatch covering the entire API, the description is complete: it explains input format, parameters, authentication overrides, return envelope, error format, and write safety. The output schema is described in text, so no gaps remain.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds significant value: explains that params are passed as JSON POST body, supports nested structures, provides concrete examples for method and params, and clarifies the priority of webhook_url vs personal_webhook. This goes well beyond the schema descriptions.

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 tool's purpose as a universal escape hatch to call any Bitrix24 REST method directly. It distinguishes itself from siblings by being the most reliable tool covering the entire API surface, and explicitly suggests preferring it when typed tools don't fit or behave oddly.

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?

The description provides explicit usage guidelines: prefer this tool when a typed tool does not fit or behaves oddly. It also mentions write safety under BITRIX_READ_ONLY, giving clear when-to-use and when-not-to-use conditions.

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/john7ross/BitrixMCP'

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