Skip to main content
Glama
MCP Events Bridge

MCP Events Bridge

Official

poll_events

Read-only

Poll for events that occurred since your last cursor so clients without subscription support can fetch and dedupe updates, then call again using the returned cursor.

Instructions

Get events that happened since your cursor, for clients that can't subscribe with MCP Events (events/subscribe). Same as events/poll. Call it first without a cursor to start from now, then call it again with the cursor it returned: at once when hasMore is true, otherwise after nextPollMs. Events can repeat: dedupe by eventId. truncated: true means some events were skipped (maxAgeMs, or older than Event Gateway keeps). To wait for the next event in one call instead, use wait_for_event. For past events, use list_events.

Input Schema

NameRequiredDescriptionDefault
nameYesThe event type name, from list_sources (or events/list), such as github.issues
cursorNoThe cursor from your last call. Omit (or null) to start from now: the first call returns no events, only a cursor.
maxAgeMsNoWith a cursor, skip events older than this many milliseconds.
argumentsNoThe event type's arguments, as its inputSchema in list_sources (or events/list) describes them, e.g. { "repository": "owner/name", "actions": ["opened"] } for github.issues. An unknown argument or a wrong type is an error that lists the event type's arguments.
maxEventsNoAt most this many events (default 50, at most 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.10.0
    • changedInput schema / properties / arguments / description
      Previous value: -"Filters, as the event's inputSchema in events/list describes, e.g. { \"symbol\": \"AAPL\" }"New value: +"The event type's arguments, as its inputSchema in list_sources (or events/list) describes them, e.g. { \"repository\": \"owner/name\", \"actions\": [\"opened\"] } for github.issues. An unknown argument or a wrong type is an error that lists the event type's arguments."
    • changedInput schema / properties / name / description
      Previous value: -"The event name, from events/list, such as fills.order.filled"New value: +"The event type name, from list_sources (or events/list), such as github.issues"
  2. First observedv0.8.1

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, yet the description discloses non-obvious runtime behavior beyond that: events can be delivered more than once and must be deduped by eventId, and truncated=true signals skipped events due to maxAgeMs or Event Gateway retention. It also warns that the first call returns no events, only a cursor, which prevents a common misinterpretation of an empty result.

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?

Dense and front-loaded: the core purpose comes first, followed by the calling protocol, then the return-value caveats, then sibling routing. Nearly every clause carries actionable information (dedupe key, poll timing, truncation cause), with no filler.

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?

There is no output schema, so the description carries the burden of explaining the returned fields (cursor, hasMore, nextPollMs, truncated) and does so. Combined with the nested 'arguments' object being explained via list_sources inputSchema, an agent has everything needed to call and iterate correctly.

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 the schema does not: the omit-cursor behavior ('start from now, first call returns no events, only a cursor') and the link between maxAgeMs and the truncated flag. It does not restate maxEvents limits, but the schema already handles those.

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 ('Get events that happened since your cursor') and immediately scopes it to 'clients that can't subscribe with MCP Events (events/subscribe)', distinguishing it from the subscription mechanism. The closing sentences name both sibling alternatives (wait_for_event for blocking waits, list_events for history), so an agent can place the tool precisely among its siblings.

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?

Gives an explicit call sequence: first without a cursor to start from now, then with the returned cursor, and a concrete polling cadence ('at once when hasMore is true, otherwise after nextPollMs'). It also names when to use alternatives instead — wait_for_event to block for one event, list_events for past events — so both when-to-use and when-not-to-use are covered.

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