Skip to main content
Glama

get_drivers

Read-onlyIdempotent

Lists immediate upstream endpoints driving a net or term across hierarchy, returning leaf drivers and top-level ports for direct source tracing.

Instructions

List the immediate upstream endpoints that drive a term or net across hierarchy. Use this for direct sources; use get_loads for downstream readers or trace_cone for the transitive combinational fanin. Returns leaf drivers (FF/gate instances with pin, model, source ref) and top-level ports. Lowered assign glue is traversed rather than reported as an endpoint. Literal assign drivers include constant (0, 1, X, or Z); bus entries include queried_bit; endpoint pin indices use pin_bit. Capped at limit (default 20, max 200) with a truncated flag; no cursor — raise limit to see more.

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": {
      "path": "<path>"
    },
    "name": "get_drivers"
  }
}

Input Schema

NameRequiredDescriptionDefault
bitNoBus bit index, separate from the literal name; omit for the whole object.
pathYesExact hierarchical path to a term or net in the loaded design.
limitNoMaximum endpoint entries; defaults to 20 and is capped at 200.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • addedInput schema / properties / bit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Bus bit index, separate from the literal name; omit for the whole object.",
      +  "title": "Bit"
      +}
    • addedInput schema / properties / path / items
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / path / type
      Previous value: -"string"New value: +"array"
  2. Changed2 schema fields changedv0.1.25
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum endpoint entries; defaults to 50 and is capped at 200."New value: +"Maximum endpoint entries; defaults to 20 and is capped at 200."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "result": {
      +      "additionalProperties": true,
      +      "title": "Result",
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "title": "get_driversOutput",
      +  "type": "object"
      +}
  3. Changed2 schema fields changedv0.1.9
    • addedInput schema / properties / limit / description
      Added value: +"Maximum endpoint entries; defaults to 50 and is capped at 200."
    • addedInput schema / properties / path / description
      Added value: +"Exact hierarchical path to a term or net in the loaded design."
  4. First observedv0.1.8

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/closed-world annotations, it discloses non-obvious semantics: lowered assign glue is traversed rather than reported as an endpoint, literal assign drivers carry a `constant` of 0/1/X/Z, bus entries carry `queried_bit`, and pin indices use `pin_bit`. It also documents pagination behavior — capped at limit (default 20, max 200), a `truncated` flag, and no cursor so the caller must raise limit.

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?

Front-loaded with purpose, then alternatives, then return shape, then edge cases and limits — a sensible ordering with dense, information-bearing sentences. Slight redundancy in restating the limit default/max that the schema already declares, and the line breaks scatter related facts.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is domain-heavy (hierarchy traversal, assign glue, constants), yet the description covers direction/scope, alternatives, endpoint composition, special-case fields, and pagination. With an output schema present and 100% schema coverage, nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the baseline is 3; the description adds meaning beyond the schema by explaining the pagination model (truncated flag, no cursor, raise limit to see more) rather than just restating the max of 200. It does not elaborate the `bit` parameter, but the schema already covers it fully as separate from the literal name.

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?

"List the immediate upstream endpoints that drive a term or net across hierarchy" gives a specific verb (list), resource (upstream drivers of a term/net), and scope (immediate, not transitive). It is immediately distinguishable from get_loads (downstream) and trace_cone (transitive fanin), both of which are named.

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

Usage Guidelines5/5

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

Explicit routing: "Use this for direct sources; use get_loads for downstream readers or trace_cone for the transitive combinational fanin." Both when-to-use and when-to-use-something-else are stated with the discriminating condition (direction and transitivity).

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