Skip to main content
Glama

search_events

Find recorded events by case-insensitive substring across text, console errors, URLs, selectors, inputs, and WebSocket payloads, returning matches oldest first as JSON.

Instructions

Full-text search across event fields (say text, console, errors, urls, selectors, input values, ws payloads). Case-insensitive substring. Returns matching events as JSON, oldest first

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNo
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does deliver real behavioral value: case-insensitive substring matching semantics and result ordering ('oldest first', returned as JSON). It omits the search scope (which session/segment is searched), what happens when the result set is large, and how limit interacts with ordering.

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?

Three short, front-loaded sentences with no filler — purpose first, then matching semantics, then result shape. Efficient, though the parenthetical field list is dense and could have been framed more readably.

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 3-parameter tool with no annotations, no output schema and 0% schema coverage, the description covers the core query semantics and return ordering but leaves 'kinds' and 'limit' unexplained and never states the search scope. Enough to call it in the common case, not enough to use it confidently in all cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across all three parameters, so the description must compensate. It effectively explains 'query' (full-text, case-insensitive substring, fields covered) but leaves 'kinds' entirely undefined and gives no meaning or default for 'limit', so half the parameters remain opaque.

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 ('Full-text search across event fields') and enumerates the fields searched, which implicitly tells an agent this spans the data that siblings like get_errors and list_says expose individually. It stops short of naming any sibling explicitly, so differentiation is inferential rather than stated.

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 only implied by the verb 'search' — an agent can guess this is for locating events by content rather than listing them, but there is no when-to-use statement, no mention of when a targeted sibling (e.g. get_errors, list_says) is preferable, and no exclusions.

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