Skip to main content
Glama

b24_changes_since

Read-onlyIdempotent

Poll for records changed since a given time or stored cursor across tasks, deals, leads, contacts, or companies. Returns only outbound-request results, so no public URL or firewall rule is needed.

Instructions

List what changed since last time - the event path that works anywhere.

Uses only outbound requests, so it needs no public URL, no firewall rule and no push server: this is the fallback when neither the outgoing-webhook receiver nor the Push&Pull channel is available.

A cursor per feed is kept locally, so calling this repeatedly with no arguments walks forward through changes. The first call without 'since' starts from 24 hours ago rather than the beginning of time.

Limits worth knowing: this reports the state at poll time, not every intermediate change, and it cannot see deletions - a deleted record simply stops appearing. For per-change fidelity use the pull channel or the outgoing webhook.

Returns: JSON: {"feed", "method", "since", "count", "items": [...], "cursor": {"previous","current","advanced"}, "has_more": , "verified": }. verified false means this feed's response shape follows the documentation but has not been confirmed against real data.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "b24_changes_since"
  }
}

Input Schema

NameRequiredDescriptionDefault
feedNoWhat to watch: 'tasks', 'deals', 'leads', 'contacts', 'companies'.tasks
limitNoMax rows per call (Bitrix pages by 50).
sinceNoLower bound: '7d', '24h', an ISO timestamp, or omit to continue from the stored cursor.
archiveNoAlso record the rows in the local event archive, readable via b24_events_history.
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.
advance_cursorNoStore the newest timestamp so the next call returns only newer rows.
entity_type_idNoSmart-process type id (1030+). Overrides 'feed'.
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.8/5.0
Behavior5/5

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

Goes well beyond the supplied annotations (readOnly, openWorld, idempotent, non-destructive) by disclosing a locally stored per-feed cursor, poll-time snapshot semantics rather than every intermediate change, and the inability to observe deletions. The explanation of the `verified` flag and the lack of any required auth setup further reduce agent uncertainty.

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?

Front-loaded with the core purpose, then fallback rationale, then cursor behavior, then caveats — a logical progression with no filler sentences. Minor waste in the Returns block, which restates a return shape an output schema already provides, though the `verified` explanation does add value.

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, open-world polling tool, the description covers the essential unknowns: auth/webhook resolution implications, cursor persistence, snapshot-vs-event fidelity, deletion blind spot, and the trust signal on returns. Nothing an agent needs in order to call it correctly 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 real meaning to `since` and the cursor parameters by explaining that omitting `since` resumes from the stored cursor and that repeated bare calls walk forward. It doesn't add anything for `webhook_url`, `personal_webhook`, `limit`, or `entity_type_id` beyond the already-complete 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 ('List what changed since last time') and immediately frames the tool's architectural role: an outbound-only polling path that needs no public URL or push server. An agent can tell it apart from webhook- and pull-channel-based approaches without opening the schema.

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?

Explicitly positions this as the fallback 'when neither the outgoing-webhook receiver nor the Push&Pull channel is available', and names the alternative to pick when per-change fidelity matters. It also documents the first-call default (24 hours back, not the beginning of time) and the no-argument cursor walk-forward behavior, which is exactly the kind of invocation guidance an agent needs.

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