Skip to main content
Glama

Submit the schematic

submit_circuit

Compile and check a complete SKiDL script: the symbol and footprint pre-flight (unambiguous typos are corrected and listed), SKiDL, the ERC score, KiCad ERC, floating subsystems, parts without a footprint, and supplier sourcing. Returns accepted plus blocking findings to fix and warnings. An accepted script becomes the design's circuit.py; one that is sent back is kept as attempt_N_circuit.py and leaves the design as it was. Takes up to a couple of minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe complete SKiDL Python script.
design_idYesThe design id returned by create_design or list_designs.
check_sourcingNoCheck the parts against supplier catalogues (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only supply the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true). The description adds context the annotations cannot: the successful path overwrites circuit.py, the rejected path is preserved as attempt_N_circuit.py and leaves the design untouched, sourcing makes network calls, and the run can take minutes. That is exactly the state-change, failure-mode and latency disclosure the annotations omit.

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?

The purpose and the check list are front-loaded, and every clause carries information (checks performed, return shape, file outcomes, runtime). The long enumerative sentence is dense but justified; only minor tightening is possible.

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 no output schema, the description carries the return burden and does so adequately: 'Returns accepted plus blocking findings to fix and warnings.' For a mutating, open-world compile step the failure/persistence semantics and latency are also covered. Only the precise findings structure is left unspecified.

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 design_id, code and check_sourcing, including formats and defaults. The description mentions supplier sourcing among the checks, loosely implying check_sourcing, but adds no syntax or semantics beyond the schema. Baseline 3 applies.

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-and-resource pair ('Compile and check a complete SKiDL script') and then enumerates exactly what is checked: symbol/footprint pre-flight, SKiDL, ERC score, KiCad ERC, floating subsystems, missing footprints, supplier sourcing. This clearly separates it from siblings like edit_circuit (incremental edits) or check_net_rules (board-level rules).

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: this is the full-script submission/validation gate, and the 'takes up to a couple of minutes' note hints it is the heavyweight option versus edit_circuit. However, no sibling is named and there is no explicit when-not guidance (e.g. use edit_circuit for small tweaks), so the agent must infer routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources