Skip to main content
Glama

bisect_signal

Find when a signal condition first becomes true using automated binary search within a simulation time range. This tool saves checkpoints and repeatedly restores runs to narrow down the exact occurrence time.

Instructions

Find when a signal condition first becomes true using automated binary search.

Internally saves checkpoints and repeatedly restores/runs with watchpoints to narrow down the exact time. Returns iteration log and final time range.

Args: signal: Full hierarchical signal path. op: Comparison operator (e.g. "=="). value: Target value (e.g. "8'h11"). start_ns: Start of search range in nanoseconds. end_ns: End of search range in nanoseconds. precision_ns: Stop when range is narrower than this (default 1000ns).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signalYes
opYes
valueYes
start_nsYes
end_nsYes
precision_nsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full disclosure burden. It admirably explains the internal mechanism (checkpoint/restore cycles with watchpoints) and return format ('iteration log and final time range'). However, it omits whether the simulation state is restored to original or left at the found time upon completion, and whether the operation is blocking.

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?

The description is front-loaded with the core purpose in the first sentence. Subsequent paragraphs logically flow from mechanism to parameters. Every sentence adds value beyond the structured schema; there is no redundancy or filler. The Args list format is efficient for the missing schema documentation.

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 complex 6-parameter tool with zero annotations, the description adequately covers the operational mechanism, parameter semantics, and return structure (sufficient since output schema exists). Minor gap: it lacks mention of error conditions, permission requirements, or the simulator state post-execution (restored vs. positioned at result).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Given 0% schema description coverage (titles only), the Args section fully compensates by providing semantic meaning for all 6 parameters. It includes critical context like units (nanoseconds), format examples ('8'h11'), hierarchical path guidance ('Full hierarchical signal path'), and default value documentation for precision_ns.

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-resource pair ('Find when a signal condition...') and precisely defines the scope (temporal binary search). It clearly distinguishes from siblings like get_signal_value (point-in-time) and watch_signal (continuous monitoring) by emphasizing 'automated binary search' over a time range.

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 through the mechanism explanation ('narrow down the exact time'), but lacks explicit guidance on when to prefer this over alternatives like watch_signal or manual stepping. It does not state prerequisites (e.g., requiring an active simulation) or when-not-to-use conditions.

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/hslee-cmyk/xcelium-mcp'

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