schematic-mcp
schematic-mcp
Hardware-Schaltplankontext für KI-Agenten über MCP.
schematic-mcp ermöglicht es MCP-kompatiblen Agenten, Hardware-Schaltpläne als strukturierte elektrische Daten zu untersuchen, anstatt sie als Screenshots oder lange Textblöcke zu behandeln.
Status: V0.1 / Alpha. Der erste Adapter zielt auf moderne KiCad-
.kicad_sch-Dateien ab.
Warum es das gibt
Ein KI-Codieragent, der Firmware schreibt, benötigt oft Antworten wie:
Welcher ESP32-Pin ist mit
SENSOR_OUTverbunden?Was ist mit
U4.GPIO12verbunden?Welche Geräte teilen sich dieses I2C-Netz?
Was sind alle Pins und aufgelösten Netze auf dem MCU?
Stimmt die vom Firmware angenommene GPIO-Zuordnung tatsächlich mit dem Schaltplan überein?
Der Server parst die EDA-Datei deterministisch, erstellt ein kanonisches Komponenten-/Pin-/Netzmodell und stellt dieses Modell über MCP-Tools und -Ressourcen bereit.
Das Designprinzip ist konservativ: Wenn die Konnektivität nicht sicher aufgelöst werden kann, wird eine Warnung ausgegeben, anstatt eine elektrische Verbindung zu erfinden.
Designfokus
schematic-mcp ist bewusst eine dateigetriebene Hardware-Kontextschicht, kein Allzweck-EDA-GUI-Automatisierungsserver. Normale KiCad-Lese-/Abfrage-Workflows erfordern keine laufende KiCad-Anwendung. EDA-spezifische Adapter erzeugen einen kanonischen elektrischen Graphen, während der agentenorientierte MCP-Vertrag formatneutral bleibt.
Das macht das Projekt komplementär zur Editor-/IPC-Automatisierung: Editor-Tools sind wertvoll für interaktive Designänderungen, während sich schematic-mcp auf deterministische Hardware-Fakten konzentriert, die Codieragenten, CI-Systeme und zukünftige Cross-EDA-Adapter konsumieren können. Firmware-↔-Schaltplan-Verifikation ist ein erster konkreter Anwendungsfall.
Siehe docs/project-positioning.md für die Projektgrenzen und die Ökosystem-These.
Related MCP server: KiCad MCP Server
V0.1-Funktionen
Moderne KiCad-
.kicad_sch-S-Expressionsdateien parsenKomponenten, Referenzen, Werte und Bibliotheks-IDs lesen
Bibliotheks-Pin-Geometrie in Schaltplan-Koordinaten auflösen
Pins nach der aktiven KiCad-Einheit für Symbole mit mehreren Einheiten auswählen
Konnektivität aus Drähten, Beschriftungen und Verbindungspunkten aufbauen
Benannte und anonyme Netze auflösen
Eine Komponente oder einen Pin untersuchen
Einen Pin zu allen Endpunkten im selben elektrischen Netz verfolgen
Kompakte MCU-Pin-Zuordnungen erzeugen
Firmware-Pin-Erwartungen mit Schaltplan-Netzen nach physischer Pin-Nummer oder symbolischem Pin-Namen vergleichen
Das aktuelle kanonische Modell als MCP-Ressourcen bereitstellen
Dateisystemzugriff mit
SCHEMATIC_MCP_ROOToder--rooteinschränkenLokal über stdio oder Streamable HTTP ausführen
Automatisierte Parser-, Graph- und Dateisystemgrenzen-Tests in GitHub Actions
MCP-Tools
Tool | Zweck |
| Eine |
| Anzahl, Format-Informationen und Parser-Warnungen zurückgeben |
| Komponenten durchsuchen |
| Komponenteneigenschaften und Pins zurückgeben |
| Einen Pin und sein Netz zurückgeben |
| Aufgelöste Netze durchsuchen |
| Beschriftungen und Endpunkte eines Netzes zurückgeben |
| Einen Pin über sein elektrisches Netz verfolgen |
| Eine kompakte Pin-zu-Netz-Zuordnung zurückgeben |
| Firmware-Pin-Erwartungen mit aufgelösten Schaltplan-Netzen vergleichen |
Ressourcen:
schematic://current/summaryschematic://current/model
Installation von GitHub
Python 3.10+ ist erforderlich. Bis zur ersten Paket-Registry-Veröffentlichung kann der aktuelle main-Zweig direkt von GitHub installiert werden:
python -m pip install "git+https://github.com/vonpanda/schematic-mcp.git"
schematic-mcp --helpFür reproduzierbare Produktionsnutzung sollte ein Release-Tag oder Commit gepinnt werden, anstatt einem ungepinnten Entwicklungszweig zu folgen. Die erste verpackte Veröffentlichung wird in Issue #8 verfolgt.
Installation für die Entwicklung
git clone https://github.com/vonpanda/schematic-mcp.git
cd schematic-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytestDas Projekt verwendet die stabile v2-Linie des offiziellen MCP-Python-SDKs.
Ausführen
Lokales stdio
schematic-mcpoder:
python -m schematic_mcpSie können lesbare Dateien einschränken, ohne eine Umgebungsvariable zu setzen:
schematic-mcp --root /absolute/path/to/your/hardware-projectsDas enthaltene Beispiel ausprobieren
Das Repository enthält einen kleinen synthetischen KiCad-Schaltplan, der für Demos und Tests sicher ist:
schematic-mcp --root "$PWD/examples"Dann kann ein MCP-kompatibler Client aufrufen:
open_schematic("minimal.kicad_sch")
schematic_summary()
list_components()
trace_signal("U1", "1")Das Beispiel sollte U1.1 auf SENSOR_OUT auflösen und U2.1 als weiteren Endpunkt zeigen. Siehe examples/README.md.
Firmware-↔-Schaltplan-Validierungsdemo
Ein zweites synthetisches Beispiel demonstriert einen Hardwarefehler, den ein Codieragent allein aus dem Quellcode nicht sicher erkennen kann. Die Firmware vertauscht absichtlich die GPIO-Zuweisungen von SENSOR_INT und LED_STATUS, während der Schaltplan die korrekte elektrische Zuordnung beibehält.
Führen Sie die deterministische lokale Demo aus:
python examples/demo_firmware_validation.pySie extrahiert den einfachen GPIO-Vertrag aus examples/firmware_with_pin_bug.c, parst examples/esp32_firmware_validation.kicad_sch und meldet zwei Übereinstimmungen und zwei Abweichungen.
Über MCP ist derselbe Vergleich:
open_schematic("esp32_firmware_validation.kicad_sch")
validate_pinmap(
"U1",
{
"GPIO8": "I2C_SDA",
"GPIO9": "I2C_SCL",
"GPIO12": "LED_STATUS",
"GPIO13": "SENSOR_INT"
}
)Siehe docs/firmware-validation-demo.md für den vollständigen Agenten-Workflow und das erwartete Ergebnis.
Streamable HTTP
schematic-mcp --transport streamable-http --host 127.0.0.1 --port 8000Der MCP-Endpunkt ist unter http://127.0.0.1:8000/mcp verfügbar. Der Standard-Host ist nur auf Loopback beschränkt; setzen Sie einen nicht authentifizierten Entwicklungsserver nicht direkt dem öffentlichen Internet aus.
Für den MCP Inspector:
mcp dev src/schematic_mcp/server.pyBeispiel-MCP-Clientkonfiguration
{
"mcpServers": {
"schematic": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/schematic-mcp", "run", "schematic-mcp"],
"env": {"SCHEMATIC_MCP_ROOT": "/absolute/path/to/your/hardware-projects"}
}
}
}Dann kann ein Agent aufrufen:
open_schematic("board/main.kicad_sch")
get_component("U4")
get_mcu_pinmap("U4")
trace_signal("U4", "12")Dateisystemsicherheit
Standardmäßig kann ein lokaler Server Pfade öffnen, die für seinen Prozess zugänglich sind. Für Agenten, denen Sie nicht vollständig vertrauen, setzen Sie SCHEMATIC_MCP_ROOT oder übergeben Sie --root an ein erlaubtes Projektverzeichnis. Versuche, Dateien außerhalb davon zu öffnen, werden abgelehnt, einschließlich Pfade, die außerhalb des erlaubten Stammverzeichnisses aufgelöst werden.
Siehe SECURITY.md für Schwachstellenmeldung und Bereitstellungsrichtlinien.
Aktuelle Einschränkungen
V0.1 ist bewusst klein. Hierarchische Unterseiten werden erkannt, aber noch nicht rekursiv zu einem blattübergreifenden Graphen zusammengeführt. Ungewöhnliche Multi-Unit-/Bibliothekskonstrukte und Drittanbieter-KiCad-Exporte benötigen noch breitere Kompatibilitäts-Fixtures. Bus-Semantik wird noch nicht rekonstruiert. PDF, Altium und EasyEDA sind noch nicht implementiert.
trace_signal folgt nur aufgelöster Netz-Konnektivität; es nimmt nicht an, dass separate Pins innerhalb eines ICs elektrisch verbunden sind. validate_pinmap vergleicht eine explizite erwartete Zuordnung; automatische Extraktion aus beliebigen Firmware-Frameworks ist noch nicht Teil des Kernparsers.
Roadmap
V0.2 — Hierarchischer KiCad-Projektgraph und reichere Bus-/Netz-Semantik
V0.3 — PDF-/Vektor-Schaltplanadapter mit Konfidenzmetadaten
V0.4 — Altium- und EasyEDA-Adapter
V0.5 — Datenblatt-Kontext und elektrische Regelbegründung
V0.6 — Framework-spezifische Firmware-Extraktion (ESP-IDF/Arduino/Zephyr) und CI-Pin-Vertragsprüfungen
Später — PCB, BOM, Gerber und Fertigungskontext
Das langfristige Ziel ist ein herstellerneutraler Hardware-Kontextserver für KI-Agenten.
Mitwirken
Hardware-Ingenieure, Embedded-Entwickler und EDA-Nutzer können am meisten helfen, indem sie minimale Kompatibilitäts-Fixtures, Parser-Edge-Cases, Tests und reale Agenten-Workflows beitragen.
Beginnen Sie mit CONTRIBUTING.md. Codieragenten und Maintainer sollten auch AGENTS.md lesen, um Architektur-Invarianten, Sicherheitsbeschränkungen und den erwarteten Entwicklungszyklus zu verstehen. Bitte tragen Sie niemals proprietäre Kundenschaltpläne bei, es sei denn, Sie haben die ausdrückliche Erlaubnis, sie zu veröffentlichen.
Nützliche Maintainer-/Projektdokumente:
AGENTS.md— Regeln für Codieragenten und Maintainerdocs/project-positioning.md— Projektgrenzen und Ökosystemwertdocs/architecture.md— Parser-/Modell-/MCP-Architekturdocs/firmware-validation-demo.md— Firmware-↔-Schaltplan-Abweichungsdemoexamples/README.md— ausführbare synthetische FixturesCHANGELOG.md— VersionshistorieSECURITY.md— Sicherheitsrichtliniedocs/oss-readiness.md— Checkliste für öffentliche Adoption und OSS-Programme
Lizenz und Namensnennung
Lizenziert unter der Apache License 2.0. Kommerzielle Nutzung, Modifikation und Weiterverbreitung sind unter den Lizenzbedingungen erlaubt. Weiterverbreitungen müssen anwendbare Urheberrechts-, Lizenz- und NOTICE-Informationen gemäß Apache-2.0 bewahren.
Ursprünglich entwickelt unter SYANKOR.
Available Tools
10 toolsget_componentB
Get one component including properties, pins, and resolved net names.
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It discloses what the tool returns (properties, pins, net names) but does not explicitly state whether the operation is read-only, possible error conditions, or how missing references are handled. The behavior is largely inferable from 'Get', but not fully transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, concise sentence with no wasted words. It strikes the right balance of specificity and brevity for a simple get tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values are covered. However, the description lacks parameter semantics and usage guidance, leaving minor gaps. For a one-parameter tool, this is adequate but not complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% and the description does not clarify the 'reference' parameter beyond its name. The agent must guess it refers to a component reference designator; the description provides no additional meaning that the schema's type string does not already give.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get one component') and the specific contents (properties, pins, resolved net names), which distinguishes it from siblings like list_components (which returns multiple) and get_pin/get_net (which target separate resources).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs. alternatives. It does not mention that list_components should be used for multiple components, or that get_pin/get_net are for individual pins/nets. The usage context is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_mcu_pinmapC
Return a compact pin-to-net map for an MCU or any multi-pin component.
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It states the core action ('Return a compact pin-to-net map') but does not mention side effects, error cases, or what 'compact' implies about the output. It does not address whether the operation is read-only (likely) or what happens if the reference is invalid or not found.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, densely worded sentence that states the key action and target resource without any filler. It is front-loaded with the primary outcome and appropriately brief for a simple one-parameter tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool is simple (one parameter), the description is still incomplete. It lacks usage context (e.g., current schematic dependency) and fails to clarify parameter semantics. While an output schema exists (which may cover return format), the description does not address when to invoke this tool among siblings, leaving the agent with ambiguity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% and the description does not explain the 'reference' parameter beyond the tool's context. It implicitly suggests the parameter is a component reference designator, but it gives no format, example, or clarification about how to obtain it. The description adds minimal value over the parameter name.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb ('Return') and resource ('pin-to-net map for an MCU or any multi-pin component'). It distinguishes the tool's scope from generic component details, though it doesn't explicitly name alternative sibling tools like get_pin or get_component, so it lacks explicit differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not mention conditions, prerequisites (e.g., that a schematic must be open), or when to prefer other sibling tools like trace_signal or validate_pinmap. Only the implicit behavior is stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_netB
Get a net by exact name, including labels and all connected component pins.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden of behavioral disclosure. It states the operation (get) and the result contents, but does not disclose whether the tool is read-only, how it handles missing nets, or any error conditions. This is a significant gap for a tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler. Every element (verb, resource, exactness, return contents) serves a purpose. It is exemplarily concise and structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that an output schema exists, return values are adequately covered elsewhere. However, the description lacks usage guidelines, error-handling details, and any indication of read-only behavior. Since there are nine sibling tools, the absence of routing context makes this incomplete, even for a simple one-parameter tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for the single 'name' parameter. It adds that the name must be 'exact', which is minimal information. It does not mention case-sensitivity, format, wildcards, or other constraints beyond exactness. The description adds little value over the schema's type definition.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Get'), a resource ('net'), and the exact matching requirement ('by exact name'), while also specifying the returned content ('labels and all connected component pins'). This clearly distinguishes it from sibling tools like list_nets (which lists all nets) and trace_signal (which traces a signal path).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no explicit guidance on when to use this tool versus alternatives. It implies the need for an exact net name, but does not mention when to prefer list_nets for enumeration or trace_signal for signal flow. No when/when-not or alternative references are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_pinB
Get one component pin and its resolved electrical net.
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| pin_number | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must carry the full burden of behavioral disclosure. It states only the action 'Get' and the output, but does not explicitly confirm that it is read-only, describe side effects, or note any permissions or error behaviors. The description adds little beyond the basic operation itself.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence of ten words, front-loaded with the verb and object. Every word contributes to the core meaning, with no redundant or vague phrasing. It is appropriately concise for a straightforward get operation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Although an output schema exists (covering return values), the description does not explain the domain-specific term 'resolved electrical net' or provide any parameter context. It also omits edge-case behavior or error conditions. For a tool with two undocumented parameters and no annotations, the description is not complete enough for reliable invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must explain the meaning of 'reference' and 'pin_number'. The description does not mention either parameter, leaving the agent to infer their semantics solely from the parameter names. This is a significant gap given the lack of schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action 'Get' and the specific resource 'one component pin', and explains the result includes its 'resolved electrical net'. This distinguishes it from siblings like list_components or get_component, which focus on components, and list_nets/get_net, which focus on nets. The purpose is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is given on when to use this tool versus alternatives. The tool name and description imply it is for fetching a single pin's net, but there is no mention of when not to use it or comparison to trace_signal or get_net. Usage is inferred from context rather than explicitly stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_componentsB
List schematic components, optionally filtering by reference, value, or library id.
| Name | Required | Description | Default |
|---|---|---|---|
| query | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden. It discloses a read-only listing action but does not mention pagination, sorting, result limits, error behavior, or the structure of the returned list. The description stops at the surface action without revealing any additional behavioral traits an agent would need to anticipate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, lean sentence. It leads with the core action and resource, then appends the filtering options. Every word earns its place; there is no fluff or repetition. Excellent conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (one optional parameter) and an output schema exists (so return structure is defined elsewhere). The description covers the primary function and filter names, but it omits how the query string should be formatted and what happens when the query is empty (does it return all components?). This leaves ambiguity for an agent trying to construct a valid call, so the description is not fully complete despite the existing output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has a single parameter 'query' with zero description (0% coverage). The description partially compensates by stating that filtering can be done by reference, value, or library id, which gives meaning to the query parameter. However, it does not explain the query syntax (e.g., how to combine filters, exact vs. substring match) or the default behavior when query is empty. It adds some semantic value but not enough to fully bridge the schema gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'List schematic components', and adds optional filter dimensions (reference, value, library id). It clearly distinguishes this list operation from siblings like get_component (which retrieves a single component) or list_nets (which lists nets). The purpose is unambiguous and easy to act on.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description never mentions 'use this to list all components' or 'use get_component for a single component'. Agents are left to infer usage from the name and sibling context, which is insufficient for optimal tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_netsC
List resolved nets, optionally filtering by net name or connected pin.
| Name | Required | Description | Default |
|---|---|---|---|
| query | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure, but it never states that this is a read-only operation, what 'resolved' means, whether results are paginated, or what the response structure is. The output schema exists but its content isn't disclosed here, so the agent is left without context on side effects or safety.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, concise sentence with no wasted words. The key action and optional filtering are presented upfront. Structure is efficient, though it could benefit from one more sentence on usage guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (one optional param) and has an output schema, so the description needn't explain return values. However, given that no annotations exist, the lack of any statement about read-only nature or how it relates to sibling tools leaves the context incomplete for guiding an agent to correct usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, but the description adds meaning to the single 'query' parameter by stating it can filter 'by net name or connected pin.' However, it doesn't specify the exact format (e.g., whether it's a substring, exact match, or how to combine name+pin), so it only partially compensates for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb-resource pair: 'List resolved nets' with optional filtering. This distinguishes it from sibling get_net (which implies fetching a single net), though it doesn't explicitly state the difference. The filtering clause adds specificity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives like get_net or trace_signal. The description implies a listing/filtering role but doesn't state conditions or exclusions. An agent must infer when list_nets is preferred over other net-related tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
open_schematicC
Open a local KiCad .kicad_sch file and build its canonical circuit graph.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It mentions building a graph but does not disclose side effects (e.g., whether the file is read-only, whether state is modified, error behavior for missing files). The output schema exists, but behavioral traits beyond reading are omitted, making this insufficient for a load-operation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the action and outcome. There is zero redundancy, and every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's role as an apparent entry point to a suite of schematic tools, the description lacks critical context: it does not say it must be used first, nor does it mention prerequisites or error cases. The output schema covers return structure, but the operational context (e.g., needing to open a file before other tools) is absent. This is incomplete for a tool of this complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It adds that 'path' refers to a local KiCad .kicad_sch file, giving more meaning than the bare parameter name. However, it lacks constraints like absolute path requirement, file existence, or permission needs, so it only partially covers the parameter semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb ('Open') and resource (local KiCad .kicad_sch file) with a defined outcome (build its canonical circuit graph). This distinguishes it from sibling tools that operate on an already-loaded schematic, though it does not explicitly name alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus siblings. It does not state that it should be called before other schematic tools, nor any conditions or exclusions. The role as an entry point is implied but not articulated, leaving the agent to infer the workflow.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
schematic_summaryB
Return summary information for the currently loaded schematic.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It only states that it returns summary information, without mentioning what happens if no schematic is loaded, whether it is a read-only operation, or any error conditions. This is a significant gap for an operation that depends on prior state.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with no fluff. It front-loads the action ('Return') and the resource ('summary information') immediately, making it easy to parse. It is appropriately sized for a simple no-argument tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the low complexity, a short description is acceptable. The output schema (present) covers return value details. The description mentions the 'current schematic' which implies a prerequisite, though it does not explicitly state what happens if none is loaded. This is a minor gap for an otherwise simple tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so per the baseline rule it earns a 4. The description adds context about the 'currently loaded schematic' which hints at a state dependency rather than input parameters. It does not need to explain any parameter meaning since there are none.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Return' and the resource 'summary information for the currently loaded schematic.' It is specific enough to distinguish from sibling tools like list_components or get_component, though it does not explicitly name any alternative. The term 'summary' implies an overview, which is distinct from the detailed queries offered by siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to use this tool versus the sibling tools. It does not mention that it should be used to get a quick overview or that list_components etc. should be used for specifics. There is no mention of preconditions like needing a schematic loaded first, although 'currently loaded' implies it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
trace_signalB
Trace one pin to every other pin on the same resolved electrical net.
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| pin_number | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It only describes the basic operation without stating whether it is read-only, whether it requires specific privileges, or anything about side effects or failure modes. The term 'resolved' hints at some internal processing, but no further behavioral traits are disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. It is appropriately concise for the core action, but the brevity comes at the cost of missing crucial parameter and usage details. Still, structure-wise it is efficient and to the point.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema (which reduces the need to describe return values), the description is incomplete. It omits parameter semantics and usage guidance, which are essential for an agent to correctly invoke the tool. For a two-parameter tool with no schema descriptions, this is a significant gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the tool description must explain the parameters. It does not explain what 'reference' means (likely a component designator) or what 'pin_number' refers to. The description only repeats the concept of a pin without adding any semantic detail, leaving agents to guess the intended format or meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('trace') and resource ('one pin to every other pin on the same resolved electrical net'). This clearly distinguishes it from siblings like get_pin (returns a single pin) and get_net (returns net info), making the tool's purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies when to use the tool: when you need to identify all pins connected to the same net as a given pin. However, it does not explicitly mention when not to use it or name alternative tools, though the context is clear enough for an agent to infer the appropriate scenario.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_pinmapC
Compare firmware pin expectations with schematic nets.
expected maps either physical pin numbers or unique symbolic pin names to
expected net labels, for example {"GPIO8": "I2C_SDA"}.
| Name | Required | Description | Default |
|---|---|---|---|
| expected | Yes | ||
| reference | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full responsibility for behavioral disclosure. It only states the comparison action, without revealing whether the operation is read-only, what happens on mismatch, or how the 'reference' parameter affects behavior. The example explains input format but not the operational semantics, leaving significant behavioral ambiguity.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise—two sentences—with the purpose front-loaded and a useful example included. There is no redundant content; every sentence contributes to understanding the tool's input format and purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema, the description omits critical context. It doesn't explain what 'reference' refers to (likely a schematic or netlist identifier), what the output indicates (e.g., match/mismatch), or any necessary prerequisites. The example covers only the 'expected' parameter, leaving the tool incomplete for an agent attempting to use it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must document parameters. It does explain 'expected' with a concrete example, clarifying that it maps pin names/numbers to net labels. However, 'reference' is completely undefined, leaving half the parameters without any semantic explanation, which is a notable gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Compare firmware pin expectations with schematic nets.' It uses a specific verb ('compare') and identifies the resources involved, distinguishing it from siblings like 'get_mcu_pinmap' which retrieves data rather than validating it. The example further clarifies the input format for 'expected'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided about when to use this tool versus alternatives. The description does not mention that this is for validation or specify conditions under which it should be preferred over sibling tools like 'get_mcu_pinmap' or 'trace_signal'. There is no when-not guidance or mention of prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
10 tool updates
v0.1.0- First observed
get_component - First observed
get_mcu_pinmap - First observed
get_net - First observed
get_pin - First observed
list_components - First observed
list_nets - First observed
open_schematic - First observed
schematic_summary - First observed
trace_signal - First observed
validate_pinmap
TDQS
Scored across 10 tools
Each tool targets a distinct aspect: loading, summary, component listing/detail, pin detail, net listing/detail, signal tracing, pin mapping, and validation. No two tools have overlapping purposes, so an agent can unambiguously select the right one for a task.
Most tools follow a clear verb_noun pattern (open_schematic, list_components, get_component, etc.), but 'schematic_summary' is a noun phrase rather than a verb-led name, representing a minor deviation. Overall the pattern is predictable and readable.
With 10 tools, the set is well-scoped for a schematic analysis server. Each tool serves a distinct and necessary function, and the count is within the ideal range for a focused MCP server.
The tool surface covers the full read-only workflow: opening a schematic, obtaining summary info, querying components, pins, nets, tracing signal paths, generating pin maps, and validating against firmware expectations. No critical missing operations for the apparent domain.
Maintenance
Related MCP Connectors
Turn datasheets into source-backed JSON contracts, pinout matrices, and KiCad CAD for AI agents.
11Design, route, check, review and export manufacturable PCBs from plain language; KiCad import.
1Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Hosted MCP server and Agent Skills for specs, engineering threads, and project memory.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceThis MCP server enables AI agents to understand and analyze electrical schematics from Cadence and Altium for comprehensive design reviews through natural conversations.105 npm56Apache 2.0
- AlicenseBqualityAmaintenanceAn MCP server that enables AI assistants to analyze schematics, inspect PCBs, trace connections, validate designs, and generate embedded code for KiCad projects.39164MIT
- AlicenseAqualityCmaintenanceA read-only MCP server for AI agents to understand KiCad projects through progressive disclosure, providing compact summaries and drill-down tools for components, nets, traces, and ERC/DRC checks without blowing context budgets.71MIT
- FlicenseNot gradedqualityAmaintenanceAn MCP server that enables language models to design real KiCad electronic schematics from plain-language descriptions, placing parts, wiring nets, and running KiCad's electrical rules check to produce editable .kicad_sch files.3-