Skip to main content
Glama
gokeshenzhen

io.github.gokeshenzhen/traceweave

by gokeshenzhen

get_sim_paths

Discover compile, simulation, and waveform files under a verif directory, optionally filtering by case name or overriding paths for non-standard layouts.

Instructions

Discover compile logs, simulation logs, and waveform files under a verif directory. If case_name is omitted, the tool returns available cases. For non-standard layouts you may pass explicit sim_log / wave_file / compile_log paths; any provided field is used as-is and the omitted ones are still auto-discovered (a sim_log path also anchors discovery of the matching waveform and compile/elab logs).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sim_logNoOptional explicit simulation log path (absolute, or relative to verif_root). Used verbatim, and its directory anchors discovery of the waveform and compile/elab logs for the same case.
case_nameNoOptional case name, for example case0 (matching make SV_CASE=case0)
wave_fileNoOptional explicit waveform path (FSDB/VCD), absolute or relative to verif_root. Used verbatim when given; otherwise discovered.
verif_rootYesAbsolute path to the project's verif/ directory, for example /path/to/project/verif
compile_logNoOptional explicit compile/elaborate log path, absolute or relative to verif_root. Used verbatim when given; otherwise discovered from the case dir, the parent top, or a sibling build/elab dir.
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden and does well: it discloses that explicit fields are used verbatim, omitted fields are auto-discovered, and a sim_log path also anchors discovery of related files. It does not explicitly state read-only/no-side-effect status, but 'discover' implies a non-mutating operation.

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 with no filler: the core purpose is front-loaded, followed by concise conditional behavior for omitted case_name and explicit path overrides. Every sentence contributes useful guidance.

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?

The description covers the main parameter interactions and conditional return behavior, which is important given there is no output schema or annotations. It does not spell out the exact return JSON shape, but the implied result (paths and/or case list) is sufficient for an agent to invoke the tool successfully.

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?

The schema already documents every parameter with 100% coverage, so the baseline is 3. The description adds meaning beyond the schema by explaining cross-parameter behavior: provided paths are used as-is, omitted ones are auto-discovered, and sim_log anchors the discovery of matching waveform/compile logs.

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 ('Discover') and names the exact resource types: compile logs, simulation logs, and waveform files under a verif directory. This clearly distinguishes it from analysis/parsing siblings such as parse_sim_log or get_waveform_summary.

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?

Provides actionable when-to guidance: omitting case_name returns available cases, and explicit paths are intended for non-standard layouts. It does not explicitly name alternative tools, but the main conditional usage is clearly conveyed.

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