Skip to main content
Glama

getEvents

Read-onlyIdempotent

The Jam's recorded events as text, one line each: [M:SS #index] then the request, console message or user action, details indented. Narrow it: index for the events timeline lines name; fromMs/toMs for everything around a moment; types (['network'], ['console'], ['user']); network statusCode (['4xx','5xx']), method, host, contentType; console logLevel (['error','warn']). Filters are arrays, OR within one and AND across; a network or console filter implies its type. Failed requests carry their bodies, and so does everything read by index or window; bodies:'all' for every body (cut at 4KB), headers:true for headers. format:'json' returns every stored column. The first line gives the match count and the UTC time of [0:00].

Input Schema

NameRequiredDescriptionDefault
hostNoSubstrings, e.g. ['api.example.com']
toMsNoOnly events at or before this ms into the recording
afterNoFrom the previous page's `More:` line
indexNoEvent indexes from the timeline's `[M:SS #index]`
jamIdYesJam identifier — a UUID or a jam.dev URL
limitNoMax events, default 200
typesNoDefault: all, or what the filters name
bodiesNo
formatNo'json': the rows with every stored column, for digging into one event or window
fromMsNoOnly events at or after this ms into the recording
intentNoIn 15-30 English words, your larger task and why this call helps it. People by role ("a customer"); no argument values or secrets.
methodNoe.g. ['POST','PUT']
headersNo
logLevelNoe.g. ['error','warn']
llm_modelNoYour exact model id from your system prompt, or "unknown". Never guess.
statusCodeNoe.g. ['500'] or ['4xx','5xx']
contentTypeNoSubstrings, e.g. ['json']

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/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, closed-world), and the description adds real operational context: bodies are truncated at 4KB, JSON mode returns every stored column, and the first line carries the match count plus the UTC time of [0:00]. Pagination is only hinted at via the `More:` line reference rather than stated as a rule.

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 output shape before any filtering advice, and nearly every clause carries information an agent needs. Density tips into terseness in places — 'index for the events timeline lines name' is garbled enough to cost a re-read.

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 17 parameters and no output schema, the description carries the return-value burden and does so: it describes the text line format, the leading match-count/offset line, and the JSON alternative. A reader can call it correctly without opening the schema.

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?

Adds semantics the schema cannot express: filters are arrays that OR within one and AND across, and 'a network or console filter implies its type', which explains the otherwise-ambiguous `types` default. It also clarifies body retention rules (failed requests always carry bodies; `bodies:'all'` cuts at 4KB; `headers:true`). Minor params (`after`, `limit`, `intent`) are left to the schema.

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: 'The Jam's recorded events as text, one line each', plus the exact line format `[M:SS #index]`. It does not distinguish itself from the three overlapping siblings (getConsoleLogs, getNetworkRequests, getUserEvents), leaving the agent to infer that this tool is the combined/filtered superset.

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?

Gives concrete narrowing strategies — `index` for specific timeline lines, `fromMs`/`toMs` for a window around a moment, `types` for network/console/user — which tells the agent when each filter mode applies. It stops short of naming alternatives or when-not-to-use conditions relative to the type-specific siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.