Skip to main content
Glama

b24_telephony_statistics

Read-onlyIdempotent

Retrieve paginated call statistics from Bitrix24 telephony. Filter by date, user, call type, or phone number.

Instructions

List call statistics (voximplant.statistic.get) with pagination.

Common filter keys: '>=CALL_START_DATE', 'PORTAL_USER_ID', 'CALL_TYPE' (1 outbound, 2 inbound), 'CALL_FAILED_CODE', 'PHONE_NUMBER'. Returns a pagination envelope of call records (CALL_ID, duration, cost, recording URL...).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startNoPagination offset (page size is 50). Use 'next' from a prior response.
filterNoBitrix filter object. Keys may carry operator prefixes: '>', '<', '>=', '<=', '!', '%' (substring), '=%', e.g. {">=DATE_CREATE": "2026-01-01", "%TITLE": "draft"}.
fetch_allNoAuto-paginate and return all matching records (capped by BITRIX_MAX_PAGES, default 40 pages = 2000 records). Use a filter to keep this bounded.
sort_fieldNoField to sort by, e.g. 'CALL_START_DATE'.
sort_orderNo'ASC' or 'DESC' (default).DESC
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?

Annotations already indicate the tool is read-only, idempotent, and non-destructive. The description adds valuable behavioral details: pagination with offset, auto-pagination with fetch_all and a default page cap (40 pages = 2000 records), and the structure of the response (pagination envelope, key fields). No contradictions 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.

Conciseness5/5

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

The description is concise: a single introductory sentence followed by a brief enumeration of filter keys and return format. Every sentence adds value, no redundancy, and it is front-loaded with the core purpose.

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 that an output schema exists and all parameters are described in the schema, the description adequately covers what the tool does, including pagination behavior and common filters. It provides sufficient context for an agent to use the tool correctly without missing critical information.

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

Parameters4/5

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

The input schema has 100% coverage, so each parameter's description is already present. The tool description adds context by listing commonly used filter keys (e.g., '>=CALL_START_DATE', 'PORTAL_USER_ID') with examples and indicating the response fields (CALL_ID, duration, etc.). This enhances understanding beyond the schema alone.

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 lists call statistics using the Bitrix24 voximplant.statistic.get API, with pagination. It distinguishes itself well from sibling tools, which are mostly CRM or task-related, by focusing on telephony statistics specifically.

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

Usage Guidelines3/5

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

The description provides common filter keys and pagination details, which gives some usage context, but it does not explicitly state when to use this tool versus alternatives (e.g., b24_call for single call initiation). No direct alternative exists among siblings, but guidance on when not to use it is missing.

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