Skip to main content
Glama

trw_query_events

Query and return a merged view of events from multiple emitters for a session, with optional filters by session, run, event type, or emitter.

Instructions

Return a merged cross-emitter event view for a session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNoOptional extra equality filters. Supported keys: ``run_id``, ``event_type``, ``emitter``.
session_idNoWhen provided, restrict results to events whose ``session_id`` matches. Pass ``None`` for cross-session trend queries.
Behavior2/5

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

With no annotations, the description carries full behavioral disclosure burden. It omits traits like read-only nature, ordering, pagination, or rate limits, providing insufficient transparency for a read operation.

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?

The description is a single front-loaded sentence that efficiently states the primary action. However, it could be slightly expanded to include key details without becoming verbose.

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?

Given no output schema and simple parameters, the description does not explain return values or what 'merged cross-emitter event view' entails, leaving notable gaps for a query tool.

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 coverage is 100%, so the schema already describes both parameters well. The description adds no additional meaning beyond stating 'session', which is already covered by the schema's session_id description.

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

Purpose5/5

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

The description 'Return a merged cross-emitter event view for a session' clearly states the verb and resource, distinguishing this tool from siblings like trw_recall or trw_probe by specifying 'merged cross-emitter event view'.

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?

The description implies usage for querying events for a session but does not explicitly state when to use this tool versus alternatives or provide exclusions, leaving usage guidance implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wallter/trw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server