Skip to main content
Glama

b24_calendar_event_list

Read-onlyIdempotent

List calendar events in a date range with a compact field set and configurable limit; check total and truncated to see if more events matched.

Instructions

List calendar events in a date range (calendar.event.get).

owner_id defaults to the acting user.

Bitrix returns every field of every event in the range and offers no server-side projection or paging here, so this trims client-side: by default each event keeps a compact set of fields and at most limit events come back. total always reports how many matched, and truncated says whether you are seeing all of them — narrow the date range or raise limit rather than assuming the tail is empty. Ask for select=['*'] only when you genuinely need the full ~60 fields; a busy month measured ~1 MB that way.

Returns: JSON: {"events": [...], "count": , "total": , "truncated": , "ownerId": , "type": "user"|"group", "fields": "default"|"all"|}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "b24_calendar_event_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax events to return. The full match count is always reported as 'total'.
selectNoFields to keep per event. Omit for a compact default set; pass ['*'] for every field (large); or name fields explicitly, e.g. ['ID','NAME','DATE_FROM','DESCRIPTION'].
date_toYesRange end, 'YYYY-MM-DD'.
owner_idNoCalendar owner id. Defaults to the acting user (resolved via user.current) for owner_type='user'.
date_fromYesRange start, 'YYYY-MM-DD' (or 'YYYY-MM-DD HH:MM:SS').
owner_typeNoCalendar owner type: 'user' (default) or 'group'.user
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

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, yet the description still adds real value: no server-side projection or paging, client-side trimming to a compact field set, and the total/truncated signals that tell the caller whether results are complete. The ~1 MB cost estimate for a busy month with select=['*'] is exactly the kind of behavioral disclosure annotations cannot carry.

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?

Front-loaded with the purpose, then the owner default, then the trimming/paging caveat, then a compact return summary. Every sentence carries decision-relevant information; nothing is padding, and the warning about truncated results is placed where a caller will see it before calling.

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?

For an 8-parameter tool with full schema coverage, annotations, and an output schema, the description covers the remaining gaps an agent needs: default owner resolution, the no-paging server behavior, the client-side trimming contract, and how to interpret total versus truncated. Nothing essential for a correct call is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning on top: it restates that owner_id defaults to the acting user, that limit is the truncation point against a separately reported total, and that the default select is a compact set with '*' costing roughly 1 MB per busy month. That cost and completeness framing goes beyond the field-level schema text.

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?

States a specific verb and resource with scope: 'List calendar events in a date range', and names the underlying method (calendar.event.get). The event-versus-section noun and the list-versus-mutate verb make it distinguishable from the sibling add/update/delete/section_list tools without opening any schema.

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?

Gives clear operational guidance: narrow the date range or raise limit instead of assuming the tail is empty, and request select=['*'] only when the full ~60 fields are genuinely needed. It stops short of naming sibling alternatives (e.g. section_list or the mutation tools) or stating exclusions, so it is clear context rather than a full when/when-not routing rule.

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

Deploy Server

Other Tools