Skip to main content
Glama

Events Window

events_window
Read-onlyIdempotent

Retrieve recorder events in a specified time window, including connection lifecycle changes, node updates, and custom markers, to inspect activity and track matched or dropped events.

Instructions

Return recorder events: connection lifecycle, node updates, and mark_event markers.

Returns {events, total_matched, dropped, window}.

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

Input Schema

NameRequiredDescriptionDefault
endNoWindow end, in the same forms.now
maxNoCap on the events returned.
kindNoOne of recorder_start, recorder_pause, recorder_resume, connection_established, connection_lost, node_updated, mark. Pipe-separated sets ("connection_lost|connection_established") work.
startNoWindow start, as in `logs_window`.-1h

Output Schema

NameRequiredDescriptionDefault
eventsNo
windowNo
droppedNo
total_matchedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is fully carried by structured data. The description adds little beyond restating the return keys, which the output schema already provides. The one genuinely behavioral signal is the presence of a `dropped` counter, hinting that the event stream can be truncated, but it is never explained.

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 short sentences, front-loaded with the resource and the event categories, followed by the return shape. Nothing is padded or redundant in prose. The only weakness is that the second sentence duplicates the output schema rather than adding interpretation.

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?

With a full output schema, complete annotation coverage, and 100% schema description coverage, most of the burden is already carried elsewhere, and the description covers purpose and event scope adequately. The gaps are the unexplained `dropped` semantics and the absence of any routing versus the other window tools, both of which are minor for a zero-required-parameter read.

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 start/end forms, the `max` cap, and the pipe-separated `kind` values are already documented in the schema. The description's mention of connection lifecycle, node updates, and markers loosely glosses the `kind` vocabulary but adds no syntax or default behavior beyond it. Baseline 3 applies when the schema does the heavy lifting.

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 and resource ("Return recorder events") and enumerates the event families covered: connection lifecycle, node updates, and mark_event markers. That is far more informative than a restatement of the title. It stops short of distinguishing itself from the similarly named logs_window and packets_window siblings, which also return windowed data.

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 guidance on when to choose this over logs_window or packets_window, and no stated preconditions or exclusions. The only relational hint is incidental, in the schema text ("as in `logs_window`"), not in the description itself. An agent must infer that this tool covers recorder/connection state rather than log lines or packets.

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