Skip to main content
Glama

export_schematic

DestructiveIdempotent

Exports a fresh schematic from the loaded design without a browser, returning the saved file, format, and byte size for a specified destination and optional targets.

Instructions

Export a fresh schematic from the loaded design without a browser. Supply 1–200 total targets. Returns file, format and byte size, without embedding image data. Browser annotations and traces are independent.

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": {
      "file": "<file>"
    },
    "name": "export_schematic"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesLocal destination .svg or .png file; existing file may be overwritten.
netsNoScope pin/port paths for one-net traces; select bus bits.
scaleNoPNG pixels per SVG pixel (0 < scale <= 64); ignored for SVG.
tracesNoScope pin/port paths for combinational fan-in cones; select bus bits.
instancesNoScope instance paths to draw as boxes; excludes the top.
view_optionsNoDrawing options as open_schematic; also title, caption, legend, hide_ui_glyphs for exports.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • addedInput schema / $defs
      Added value: +{
      +  "SignalTarget": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bit": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Bit"
      +      },
      +      "path": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "title": "Path",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "path"
      +    ],
      +    "title": "SignalTarget",
      +    "type": "object"
      +  }
      +}
    • changedInput schema / properties / instances / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / nets / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "$ref": "#/$defs/SignalTarget"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / traces / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "$ref": "#/$defs/SignalTarget"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Addedv0.1.26

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive (file overwrite), idempotent, closed-world behavior, so the description is not carrying the safety burden. It still adds real context beyond them: the output is file/format/byte size with no embedded image data, and there is a 1–200 target cap. It does not restate the overwrite risk, but that is covered by the file parameter description and destructiveHint.

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?

Four short sentences with the action and its key differentiator front-loaded; nothing is padded. 'Returns file, format and byte size' is slightly redundant given an output schema exists, and the final sentence about browser annotations is terse to the point of being cryptic.

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?

With an output schema present and full parameter coverage, the description need not spell out return values or argument syntax, and it correctly focuses on scope and the target-count limit. The only real gap is that the prerequisite of a loaded design is only implied by 'from the loaded design' rather than stated as a requirement.

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, and the description earns an increment by stating the aggregate '1–200 total targets' limit across nets/traces/instances, which the schema does not express. That is a genuine constraint-level addition rather than a repeat of field text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Export a fresh schematic from the loaded design') plus the distinguishing modality ('without a browser'), which implicitly separates it from the browser-based open_schematic sibling. It stops short of naming an alternative explicitly, so it is clear but not fully differentiated.

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 phrase 'without a browser' plus 'Browser annotations and traces are independent' implies this is the headless/file-producing path and that annotations are not baked into the output, which is useful implied guidance. There is no explicit when-to-use versus open_schematic, and 'Supply 1–200 total targets' is a constraint rather than a selection rule.

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