Skip to main content
Glama
gokeshenzhen

io.github.gokeshenzhen/traceweave

by gokeshenzhen

diff_sim_failure_results

Compare normalized failures from two simulation logs to reveal resolved, persistent, and new issues, including changes in failure type and first-failure timing.

Instructions

Compare normalized failure events from two simulation logs. Returns resolved, persistent, and newly introduced failures, plus changes in failure type, X/Z presence, first-failure timing, and a convergence summary. If a simulator overwrites the same log path between runs, pass new_log_path only after parse_sim_log has captured the baseline snapshot, or pass snapshot IDs returned by parse_sim_log.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
simulatorNovcs / xcelium / auto. Defaults to simulator discovered by get_sim_paths when omitted.
new_log_pathNoNew simulation log. For same-path reruns, this may be the overwritten log path.
base_log_pathNoBaseline simulation log. Optional when base_snapshot_id is supplied, or when new_log_path has a previous parsed snapshot.
new_snapshot_idNoNew log snapshot ID returned by parse_sim_log.
base_snapshot_idNoBaseline log snapshot ID returned by parse_sim_log.
Behavior4/5

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

With no annotations, the description carries the behavioral disclosure burden. It discloses the comparison's output dimensions and the important dependency on parse_sim_log snapshot timing. It does not explicitly state read-only/no side effects, but the described behavior is otherwise transparent for a comparison utility.

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?

Three sentences, front-loaded with the core purpose and return categories, followed by a compact caveat. There is no filler, no repetition of schema field names, and every sentence earns its place.

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?

For a tool with no output schema and no annotations, the description covers the returned information, parameter selection, and a critical workflow edge case. The only notable gap is not telling an agent when to choose this over diff_first_divergence, and not describing the exact output format.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds value beyond the schema by explaining the workflow relationship between new_log_path and parse_sim_log snapshots, and clarifying when snapshot IDs can substitute for paths. This is meaningful parameter semantics.

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 opens with a specific verb and resource: 'Compare normalized failure events from two simulation logs.' It then enumerates what is returned (resolved, persistent, newly introduced failures, changes in failure type, X/Z presence, first-failure timing, convergence summary), which clearly differentiates it from siblings like parse_sim_log and diff_first_divergence.

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?

The description provides concrete procedural guidance for the tricky same-path overwrite case: pass new_log_path only after parse_sim_log has captured the baseline snapshot, or pass snapshot IDs. It does not explicitly name alternatives or state when not to use this tool, so it stops short of a 5.

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/gokeshenzhen/TraceWeave'

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