Skip to main content
Glama
bit2beat

Bitrix24 MCP server

b24_telephony_calls

List call history with filters for CRM entity, user, duration, and date to retrieve specific telephony records.

Instructions

Lista el historial de llamadas con filtros por entidad CRM, usuario, duración y fecha.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoFiltros. Ejemplo: { "CRM_ENTITY_TYPE": "DEAL", "CRM_ENTITY_ID": 123 } o { "CALL_DURATION": ">60" } para llamadas de más de 60 segundos
selectNo
webhook_urlNo

Implementation Reference

  • index.js:257-260 (registration)
    Registration of the 'b24_telephony_calls' tool with the MCP server, using telephonyCallsSchema and telephonyCalls handler.
    // ── Telefonía ─────────────────────────────────────────────────────────────────
    server.tool('b24_telephony_calls',
      'Lista el historial de llamadas con filtros por entidad CRM, usuario, duración y fecha.',
      telephonyCallsSchema.shape, wrap(telephonyCalls));
  • Zod schema defining the input parameters for b24_telephony_calls: filter (record), select (array of strings), webhook_url (optional URL).
    export const telephonyCallsSchema = z.object({
      filter: z.record(z.any()).optional().default({}).describe(
        'Filtros. Ejemplo: { "CRM_ENTITY_TYPE": "DEAL", "CRM_ENTITY_ID": 123 } ' +
        'o { "CALL_DURATION": ">60" } para llamadas de más de 60 segundos'
      ),
      select: z.array(z.string()).optional(),
      webhook_url: z.string().url().optional(),
    });
  • Handler function that calls Bitrix24 API method 'voximplant.statistic.get' to list call history with filters, returning portal info and call records.
    export async function telephonyCalls({ filter = {}, select, webhook_url }) {
      const client = new Bitrix24Client(resolveWebhook(webhook_url));
      const res = await client.call('voximplant.statistic.get', {
        filter,
        ...(select ? { select } : {}),
      });
      return { portal: client.portal, calls: res.result ?? [] };
    }
Behavior2/5

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

No annotations are present, so the description carries full burden for behavioral disclosure. It does not mention that the tool is read-only, any authentication needs, or performance considerations like pagination. The description only states it lists calls, which is minimal.

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 concise sentence that front-loads the verb 'Lista' (Lists). It is efficient with no wasted words, though it could benefit from structural elements like bullet points for 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?

Given that there is no output schema and the tool has 3 parameters (including a nested object filter), the description is incomplete. It does not explain the return format, pagination behavior, or how the optional parameters like 'select' and 'webhook_url' affect the output.

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 coverage is only 33% (only 'filter' has a description in schema). The tool's description adds meaning by listing filterable fields (CRM entity, user, duration, date), which corresponds to the 'filter' parameter. However, it does not explain 'select' or 'webhook_url' parameters, leaving 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 clearly states the tool lists call history with filters by CRM entity, user, duration, and date. This distinguishes it from sibling tool b24_call (which likely makes calls) but not from other listing tools like b24_crm_list.

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 on when to use this tool versus alternatives, such as when to use b24_crm_list instead. No when-not or exclusion criteria provided.

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