Skip to main content
Glama

Simulation Events

simulation_events

Retrieve paginated event logs for a simulation run to inspect progress, warnings, and errors. Filter by level or event name and follow the cursor to diagnose why a run behaved as it did.

Instructions

A page of a run's events, in the order recorded (logs/progress/warnings).

Pass the returned next_cursor as after for the next page; narrow with level (e.g. "error") or an event name. Use this to see why a run behaved as it did.

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": {
      "simulation_id": "<simulation_id>"
    },
    "name": "simulation_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
eventNo
levelNo
limitNo
simulation_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries full burden. It usefully discloses ordering ("in the order recorded") and the paging contract (returned next_cursor goes into after), but never states that this is a read-only, side-effect-free operation, nor how invalid cursors or limits behave.

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 short paragraphs, front-loaded with what the tool returns, then the pagination mechanics, then the purpose. Every clause carries information; nothing is redundant or padded.

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 an output schema present, the description needn't document return shapes, and the paging loop plus filter semantics cover the main call-correctness risks. The remaining gap is sibling differentiation and the undocumented limit parameter, which is minor for a paginated 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 0%, so the description must compensate. It explains after (feed the returned next_cursor), level (e.g. "error"), and event name, but leaves limit (default 200) and simulation_id entirely unexplained — a partial but meaningful bridge over an undocumented 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 concrete resource and scope: "A page of a run's events, in the order recorded (logs/progress/warnings)" — an agent knows it retrieves paginated event records for a run. It does not differentiate itself from the sibling simulation_trace, which plausibly returns similar data, so it falls short of a 5.

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?

"Use this to see why a run behaved as it did" gives an intent, and the narrowing hints (level, event name) imply diagnostic use. However, it gives no explicit when-not guidance and never distinguishes itself from simulation_trace or simulation_detail, leaving alternative selection to inference.

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