Skip to main content
Glama

b24_events_poll

Read-onlyIdempotent

Poll new portal events from webhooks or Push&Pull, filter by event name, and resume from the last processed ID to handle and acknowledge updates.

Instructions

Read new portal events captured by this server (unprocessed first).

Events arrive either from the portal's outgoing webhook (documented event names like ONTASKUPDATE) or from the Push&Pull channel (names shaped 'module/command', e.g. 'tasks/task_update'). Both land in the same store.

Typical loop: poll -> act -> b24_events_ack with the ids you handled.

Returns: JSON: {"events": [{"id","event","source","entity","entity_id","ts", "received_at","received_iso","acked","payload"}], "count": , "last_id": <int|null>}. Empty list means nothing new.

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_events_poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventNoFilter by event name, e.g. 'ONTASKUPDATE' or 'tasks/task_update'. Case-insensitive.
limitNoMax events to return (1-500).
after_idNoReturn only events with a higher id - use the last id you processed as a cursor.
include_ackedNoAlso return events already marked processed.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real context beyond them: the two event sources, that both land in the same store, the 'unprocessed first' ordering, and that an empty list means nothing new. The Returns block is somewhat redundant given an output schema exists, which keeps it from a 5.

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 sources, then the loop, then return shape — a sensible ordering with little waste. The verbose Returns enumeration duplicates the output schema and could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a polling tool with annotations and an output schema, the definition covers source semantics, ordering, and the follow-up workflow. The only shortfall is that it restates the return shape instead of relying on the output schema, and it omits guidance on cursor/ack interaction across calls.

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 100% and each parameter is already documented (event filter, limit 1-500, after_id cursor, include_acked). The description adds only a weak hint about using the ids you handled for acking, so it does not meaningfully extend parameter meaning beyond the schema.

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 ('Read new portal events captured by this server') and immediately scopes it with '(unprocessed first)'. It also names the sibling b24_events_ack as the follow-up step, so an agent can place this tool in the workflow 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?

The 'poll -> act -> b24_events_ack with the ids you handled' loop gives concrete when-to-use guidance and points at the natural next call. It does not say when to prefer b24_events_history or b24_events_stats instead, so the alternative-routing is only partial.

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