Skip to main content
Glama

Poll Recent Herdr Events

events_recent
Read-onlyIdempotent

Retrieve buffered lifecycle and agent status change events after a sequence number to monitor pane, tab, and workspace activity. Filter results by event kind, workspace, tab, pane, or agent status.

Instructions

Return buffered live lifecycle and agent status change events after 'after_seq'. Event names use underscore form such as 'pane_agent_status_changed', 'pane_created', 'workspace_created'.

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": "events_recent"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoOptional list of event kinds to filter (for example ['pane_agent_status_changed']).
limitNoMaximum number of events to return (default 50).
tab_idNoOptional tab ID filter.
pane_idNoOptional pane ID filter.
after_seqNoReturn events with seq strictly greater than this number (default 0).
agent_statusNoOptional agent_status filter for pane_agent_status_changed events.
workspace_idNoOptional workspace ID filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds genuinely new context by calling the events 'buffered' (implying a bounded retention window) and by documenting the underscore event-name convention, but it never states buffer size, truncation/ordering behavior, or what happens when after_seq falls outside the buffer.

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?

Two sentences, zero filler, with the return scope front-loaded before the naming-convention detail. Slightly wordy in the opening clause ('buffered live lifecycle and agent status change events') but nothing is redundant.

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

Completeness3/5

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

For a seven-parameter polling tool with no output schema, the description covers purpose and the event-name convention but leaves the return shape (what fields an event carries, ordering, pagination/cursor advancement) and buffer limits unstated. Adequate to invoke correctly, incomplete for interpreting the results.

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 description coverage is 100%, so the schema already documents all seven parameters, and the baseline of 3 applies. The description contributes only a little beyond that: it names concrete event-name values ('pane_agent_status_changed', 'pane_created', 'workspace_created') useful for the kinds filter and restates the after_seq cursor semantics that the schema already specifies as strictly greater than.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('Return') and a specific resource ('buffered live lifecycle and agent status change events') scoped by 'after_seq'. It is clear what the tool returns, but it never names or distinguishes itself from plausible siblings such as events_status or events_wait, so an agent must infer the boundary from names alone.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The title word 'Poll' and the after_seq cursor hint at an incremental polling pattern, but nothing tells the agent when to choose this over events_wait (blocking) or events_status (snapshot), which are the most likely confusable alternatives.

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