Skip to main content
Glama

get_recent_events

Fetch buffered panel events since an epoch-ms timestamp to monitor project, composition, selection, item, and dirty-state changes.

Instructions

Return events the panel has pushed since since (epoch ms; defaults to all buffered, max 100). Events: project_opened, comp_opened, selection_changed, items_changed, dirty_changed.

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

Input Schema

NameRequiredDescriptionDefault
sinceNoEpoch ms cursor. Returns events after this time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose two useful traits beyond the schema: the default returns everything buffered and results are capped at 100. It leaves unstated whether reads are non-destructive, whether the cursor advances or events are re-served, and what happens when the buffer overflows past 100.

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?

Two sentences, no filler, with the return/scope statement first and the event enumeration as a compact trailing list. Every clause carries information an agent needs to call or interpret the tool.

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 single-parameter tool with no output schema, listing the event types effectively communicates return content, and the buffered-default/cap detail covers the main behavioral unknown. A brief note on the shape of each returned event (e.g. whether it carries a payload or timestamp) would close the remaining gap.

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% and already documents `since` as an epoch-ms cursor, so the baseline is 3. The description adds meaning the schema lacks: units are restated and, more importantly, the default behavior when `since` is omitted (all buffered) plus the 100-event cap.

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?

States a specific verb and resource ("Return events the panel has pushed") and enumerates the five event types, which makes the tool's scope concrete. It does not explicitly contrast with any sibling, but the event-queue framing is distinctive enough to separate it from the getters in the catalog.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the way to poll for panel-side changes, and the "defaults to all buffered" note hints at first-call behavior. There is no explicit when-to-use/when-not guidance or named alternative for retrieving state snapshots (e.g. get_selection).

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