Skip to main content
Glama

Generate the schematic

generate_schematic

Generate the KiCad schematic from the design and check it against KiCad's netlist. Requires a PCBBrew account (sign-in).

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": {
      "project_id": "<project_id>"
    },
    "name": "generate_schematic"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesid from create_project or list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the write-ish, non-idempotent, non-destructive profile, and the description adds genuinely new context: an account/sign-in requirement and an embedded netlist check. It does not disclose what happens on a failing netlist check, whether prior schematics are overwritten, or whether the call is long-running and pairs with wait_job.

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?

Two short sentences, action and prerequisite, with the core verb front-loaded. Nothing is redundant or padded.

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

Completeness3/5

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

The tool is a generation step with no output schema, so the description should ideally say what comes back (a schematic reference, a job id to poll with wait_job, or a pass/fail result). The auth note and netlist mention are helpful, but return behavior and failure handling remain undescribed.

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?

With a single parameter at 100% schema coverage, the schema already explains that project_id comes from create_project or list_projects. The description adds no further meaning about the parameter, which is acceptable at this coverage level but earns only the baseline.

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: 'generate the KiCad schematic from the design' plus a netlist validation step. That distinguishes it from siblings like check_wiring, route_pcb, and export_files without needing to open any schema, though it doesn't explicitly name a routing alternative.

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?

Implies the design must already exist ('from the design') and states the sign-in prerequisite, which is useful context for when the call will succeed. It stops short of saying when to choose this over check_wiring or export_files, or whether it should be re-run after design changes.

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