Skip to main content
Glama

Simulation Trace

simulation_trace

Fetch a simulation run's execution trace as a tree of spans and events to identify where the run spent time.

Instructions

A run's execution trace as a tree of spans, each with its own events — where the run spent its time.

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_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
simulation_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. 'A run's execution trace' strongly implies a read-only retrieval with no side effects, and the mention of spans and events conveys the shape of what comes back, but it says nothing about permissions, whether the run must be finished, or error behavior for a missing simulation_id.

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?

A single tight sentence with the resource front-loaded and a useful trailing gloss on purpose. It earns its length, though the missing verb makes it read as a label rather than an instruction.

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?

An output schema exists, so the description needn't enumerate return fields, and for a single-parameter read tool the bar is low. Still, the lone parameter is undocumented, there are no annotations, and no usage or prerequisite context is given, leaving meaningful gaps.

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?

There is one parameter (simulation_id) at 0% schema description coverage, and the description never mentions it, its type, or what qualifies as a valid identifier. The only semantic hint is the generic phrase 'a run's', which the schema already conveys through the parameter name.

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

Purpose3/5

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

The description identifies the resource ('a run's execution trace') and its structure ('tree of spans, each with its own events'), which hints at a retrieval operation, but it is a noun phrase with no verb, so an agent must infer that this fetches something. It also does not explicitly distinguish itself from siblings like simulation_events or simulation_detail, though the 'tree of spans' framing implies a hierarchical view.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no stated prerequisites (e.g., the run must exist or be complete), and no reference to alternatives such as simulation_events for a flat event list. The trailing phrase 'where the run spent its time' weakly implies performance analysis but never routes the agent between sibling tools.

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