Skip to main content
Glama

Export circuit connectivity with the original compiler

netlist_export

Copies a MAX+plus II design to a temp directory, compiles it with EDIF/VHDL/Verilog/AHDL writers, and returns hashes, compiler evidence, exported files and net connectivity while preserving originals.

Instructions

Copy a GDF/HDL/ACF/EDIF design and local dependencies to a fresh temporary directory; enable original MAX+plus II EDIF/VHDL/Verilog/AHDL writers and compile there. Return source hashes, actual compiler evidence, exported files and structured port/instance/net connectivity. Original files remain untouched. The netlist is synthesized logic; original drawing placement and source component identities can change. Supports async jobs and cancellation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesSource file relative to the project/workspace; absolute paths must remain within that scope.
rootNoMAX+plus II installation root, default MAXPLUS2_ROOT/discovery.
asyncNoReturn jobId immediately; poll job_status or stop with job_cancel.
projectNoExisting ACF project to scope file paths to its directory.
timeoutMsNoCompiler timeout; default 60000 milliseconds.
workspaceNoWorkspace scope when project is omitted; defaults to MAXPLUS2_WORKSPACE.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.3

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that work happens in a fresh temporary directory, that original files remain untouched, what is returned (source hashes, compiler evidence, exported files), that the netlist is synthesized logic with possible placement/identity changes, and that async/cancel are supported. The untouched-original-files claim is consistent with destructiveHint=false, though it does not explicitly reconcile non-idempotent repeated compiles. Since annotations are present, the bar is lower and this adds substantial context.

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?

Three dense sentences, front-loaded with the core action and followed by return values and caveats. Every sentence carries information, though the enumeration of return artefacts and caveats is somewhat packed.

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?

Despite having no output schema, the description enumerates return values, discloses the temp-directory mutation strategy, async/cancellation behavior, and the synthesized-logic caveat. Nothing an agent needs to invoke it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents every parameter including path scoping, root, async, project, workspace, and timeout. The description only gestures at async/cancellation and adds no syntax or format detail beyond the schema, making the baseline 3 appropriate.

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?

States a specific verb chain (copy, enable writers, compile) and the exact resource produced (structured port/instance/net connectivity). The mention of GDF/HDL/ACF/EDIF inputs and the original MAX+plus II writers clearly separates it from siblings like maxplus2_run or gdf_connections.

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?

Usage is implied rather than stated: it is the tool that yields structured netlist connectivity, and it notes async jobs/cancellation, which hints at the async parameter. However, it never names when to prefer this over maxplus2_run or a plain compile, nor any exclusions.

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