Skip to main content
Glama

resolve

Read-onlyIdempotent

Maps a known hierarchical object path to instance, term, or net descriptors with source references so agents can query post-elaboration design structure by exact path.

Instructions

Resolve a known hierarchical object path to instance, term, or net descriptors with source references. Every list element is literal. Example: path=["top", "u_uart", "tx_o"], bit=0. Use find when the path is unknown; use get_hierarchy to browse children. This read-only query requires a loaded design and returns did-you-mean suggestions on failure.

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": "resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
bitNoBus bit index, separate from the literal name; omit for the whole object.
kindNoOptional object-kind filter for otherwise ambiguous paths.
pathYesList of exact names; optional top first. Use the separate bit field.
limitNoMaximum matches to return; defaults to 20 and is capped at 200.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 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"
      +}
    • changedInput schema / properties / path / description
      Previous value: -"Hierarchical object path; the final segment may be a glob or bit select."New value: +"List of exact names; optional top first. Use the separate bit field."
    • addedInput schema / properties / path / items
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / path / type
      Previous value: -"string"New value: +"array"
  2. Changed1 schema field changedv0.1.25
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "result": {
      +      "additionalProperties": true,
      +      "title": "Result",
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "title": "resolveOutput",
      +  "type": "object"
      +}
  3. Changed4 schema fields changedv0.1.9
    • changedInput schema / properties / kind / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "instance",
      +      "term",
      +      "net"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / kind / description
      Added value: +"Optional object-kind filter for otherwise ambiguous paths."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum matches to return; defaults to 20 and is capped at 200."
    • addedInput schema / properties / path / description
      Added value: +"Hierarchical object path; the final segment may be a glob or bit select."
  4. First observedv0.1.8

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already declare readOnly/idempotent/non-destructive/closed-world, so safety is covered; the description adds context beyond that: a loaded-design prerequisite and did-you-mean suggestions returned on failure. Those are real behavioral traits an agent cannot get from the structured fields.

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?

Four compact sentences, front-loaded with the purpose, then the example, then alternatives, then the prerequisite and failure behavior. Nothing is repeated from the schema or annotations and no sentence is filler.

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?

With an output schema present, the description need not enumerate return fields, and it correctly focuses on when to call, what is required, and what happens on failure. For a 4-parameter, single-required-argument lookup tool this leaves no gap an agent would trip over.

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 baseline is 3, but the description adds meaning: "Every list element is literal" clarifies that path segments are exact names with no globbing, and the example shows bit being passed separately from the path rather than appended to the name. That resolves the main ambiguity between the path and bit fields.

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?

"Resolve a known hierarchical object path to instance, term, or net descriptors with source references" names a specific verb (resolve), a specific input (hierarchical path), and the return types, and the example path=["top","u_uart","tx_o"], bit=0 makes the operation concrete. It also implicitly separates itself from siblings by scoping to *known* paths.

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?

It states explicit routing rules: "Use find when the path is unknown; use get_hierarchy to browse children," giving both the alternative and the condition that selects it. It also states a prerequisite ("requires a loaded design"), so an agent knows when the call is valid at all.

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