Skip to main content
Glama

list_signals

Retrieve signal names within a specified simulation scope, with optional pattern-based filtering for targeted debugging.

Instructions

List signals in a scope, optionally filtered by pattern.

Args: scope: Hierarchical scope path (e.g. "/tb/dut"). pattern: Glob pattern to filter signals (default "*").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYes
patternNo*

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The implementation of the `list_signals` tool handler.
    async def list_signals(scope: str, pattern: str = "*") -> str:
        """List signals in a scope, optionally filtered by pattern.
    
        Args:
            scope: Hierarchical scope path (e.g. "/tb/dut").
            pattern: Glob pattern to filter signals (default "*").
        """
        bridge = _get_bridge()
    
        # Change to the target scope and list
        await bridge.execute(f"scope {scope}")
        result = await bridge.execute(f"scope -describe {pattern}")
        return result
  • The MCP tool registration for `list_signals`.
    @mcp.tool()

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