Skip to main content
Glama
vonpanda

schematic-mcp

by vonpanda

schematic-mcp

CI

Contexto de esquemas de hardware para agentes de IA mediante MCP.

schematic-mcp permite que los agentes compatibles con MCP inspeccionen esquemas de hardware como datos eléctricos estructurados, en lugar de tratarlos como capturas de pantalla o grandes bloques de texto.

Estado: V0.1 / alpha. El primer adaptador apunta a archivos .kicad_sch modernos de KiCad.

Por qué existe esto

Un agente de IA que escribe firmware a menudo necesita respuestas como:

  • ¿Qué pin del ESP32 está conectado a SENSOR_OUT?

  • ¿Qué está conectado a U4.GPIO12?

  • ¿Qué dispositivos comparten esta red I2C?

  • ¿Cuáles son todos los pines y las redes resueltas en la MCU?

  • ¿Coincide realmente el mapa de GPIO asumido por el firmware con el esquema?

El servidor analiza el archivo EDA de forma determinista, construye un modelo canónico de componentes/pines/redes y expone ese modelo a través de herramientas y recursos de MCP.

El principio de diseño es conservador: cuando la conectividad no puede resolverse con confianza, se muestra una advertencia en lugar de inventar una conexión eléctrica.

Enfoque de diseño

schematic-mcp es intencionadamente una capa de contexto de hardware basada en archivos, no un servidor de automatización de GUI EDA de propósito general. Los flujos de trabajo normales de lectura/consulta de KiCad no requieren una aplicación KiCad en ejecución. Los adaptadores específicos de EDA producen un grafo eléctrico canónico, mientras que el contrato MCP orientado al agente permanece neutral en cuanto al formato.

Eso hace que el proyecto sea complementario a la automatización de editor/IPC: las herramientas de editor son valiosas para cambios de diseño interactivos, mientras que schematic-mcp se centra en hechos de hardware deterministas que los agentes de codificación, los sistemas de CI y los futuros adaptadores de EDA pueden consumir. La verificación firmware ↔ esquema es un primer caso de uso concreto.

Consulta docs/project-positioning.md para conocer los límites del proyecto y la tesis del ecosistema.

Related MCP server: KiCad MCP Server

Características de V0.1

  • Analizar archivos S-expression .kicad_sch modernos de KiCad

  • Leer componentes, referencias, valores e IDs de biblioteca

  • Resolver la geometría de pines de biblioteca en coordenadas de esquema

  • Seleccionar pines según la unidad KiCad activa para símbolos de múltiples unidades

  • Construir la conectividad a partir de cables, etiquetas y uniones

  • Resolver redes con nombre y anónimas

  • Inspeccionar un componente o pin

  • Trazar un pin hasta todos los extremos en la misma red eléctrica

  • Generar mapas de pines de MCU compactos

  • Comparar las expectativas de pines del firmware con las redes del esquema por número de pin físico o nombre de pin simbólico

  • Exponer el modelo canónico actual como recursos MCP

  • Restringir el acceso al sistema de archivos con SCHEMATIC_MCP_ROOT o --root

  • Ejecutar localmente sobre stdio o Streamable HTTP

  • Pruebas automatizadas de analizador, grafo y límites del sistema de archivos en GitHub Actions

Herramientas MCP

Herramienta

Propósito

open_schematic(path)

Cargar un archivo .kicad_sch y construir el grafo del circuito

schematic_summary()

Devolver recuentos, información de formato y advertencias del analizador

list_components(query="")

Buscar componentes

get_component(reference)

Devolver propiedades y pines del componente

get_pin(reference, pin_number)

Devolver un pin y su red

list_nets(query="")

Buscar redes resueltas

get_net(name)

Devolver etiquetas y extremos en una red

trace_signal(reference, pin_number)

Trazar un pin a través de su red eléctrica

get_mcu_pinmap(reference)

Devolver un mapa compacto de pin a red

validate_pinmap(reference, expected)

Comparar las expectativas de pines del firmware con las redes del esquema resueltas

Recursos:

  • schematic://current/summary

  • schematic://current/model

Instalación desde GitHub

Se requiere Python 3.10+. Hasta que se publique el primer lanzamiento en el registro de paquetes, la rama main actual se puede instalar directamente desde GitHub:

python -m pip install "git+https://github.com/vonpanda/schematic-mcp.git"
schematic-mcp --help

Para un uso de producción reproducible, fija una etiqueta de lanzamiento o un commit en lugar de seguir una rama de desarrollo sin fijar. El primer lanzamiento empaquetado se sigue en issue #8.

Instalación para desarrollo

git clone https://github.com/vonpanda/schematic-mcp.git
cd schematic-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest

El proyecto usa la línea estable v2 del SDK oficial de MCP para Python.

Ejecución

stdio local

schematic-mcp

o:

python -m schematic_mcp

Puedes restringir los archivos legibles sin establecer una variable de entorno:

schematic-mcp --root /absolute/path/to/your/hardware-projects

Prueba el fixture incluido

El repositorio contiene un pequeño esquema KiCad sintético que es seguro para demos y pruebas:

schematic-mcp --root "$PWD/examples"

Entonces un cliente compatible con MCP puede llamar:

open_schematic("minimal.kicad_sch")
schematic_summary()
list_components()
trace_signal("U1", "1")

El ejemplo debería resolver U1.1 en SENSOR_OUT y mostrar U2.1 como otro extremo. Consulta examples/README.md.

Demo de validación firmware ↔ esquema

Un segundo ejemplo sintético demuestra un error de hardware que un agente de codificación no puede detectar de forma segura solo con el código fuente. El firmware intercambia intencionadamente las asignaciones de GPIO de SENSOR_INT y LED_STATUS mientras que el esquema conserva el mapeo eléctrico correcto.

Ejecuta la demo local determinista:

python examples/demo_firmware_validation.py

Extrae el contrato GPIO simple de examples/firmware_with_pin_bug.c, analiza examples/esp32_firmware_validation.kicad_sch e informa de dos coincidencias y dos discrepancias.

A través de MCP, la misma comparación es:

open_schematic("esp32_firmware_validation.kicad_sch")
validate_pinmap(
  "U1",
  {
    "GPIO8": "I2C_SDA",
    "GPIO9": "I2C_SCL",
    "GPIO12": "LED_STATUS",
    "GPIO13": "SENSOR_INT"
  }
)

Consulta docs/firmware-validation-demo.md para ver el flujo de trabajo completo del agente y el resultado esperado.

Streamable HTTP

schematic-mcp --transport streamable-http --host 127.0.0.1 --port 8000

El endpoint MCP está disponible en http://127.0.0.1:8000/mcp. El host predeterminado es solo de bucle local; no expongas un servidor de desarrollo sin autenticación directamente al Internet público.

Para el MCP Inspector:

mcp dev src/schematic_mcp/server.py

Ejemplo de configuración de cliente MCP

{
  "mcpServers": {
    "schematic": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/schematic-mcp", "run", "schematic-mcp"],
      "env": {"SCHEMATIC_MCP_ROOT": "/absolute/path/to/your/hardware-projects"}
    }
  }
}

Entonces un agente puede llamar:

open_schematic("board/main.kicad_sch")
get_component("U4")
get_mcu_pinmap("U4")
trace_signal("U4", "12")

Seguridad del sistema de archivos

De forma predeterminada, un servidor local puede abrir rutas accesibles para su proceso. Para agentes en los que no confíes plenamente, establece SCHEMATIC_MCP_ROOT o pasa --root a un directorio de proyecto permitido. Los intentos de abrir archivos fuera de él se rechazan, incluidas las rutas que se resuelven fuera de la raíz permitida.

Consulta SECURITY.md para informar sobre vulnerabilidades y obtener orientación de despliegue.

Limitaciones actuales

V0.1 es intencionadamente pequeño. Las hojas jerárquicas secundarias se descubren pero aún no se fusionan recursivamente en un único grafo de hojas. Las construcciones inusuales de múltiples unidades/bibliotecas y las exportaciones de KiCad de terceros aún necesitan fixtures de compatibilidad más amplios. La semántica de bus aún no se reconstruye. PDF, Altium y EasyEDA aún no están implementados.

trace_signal solo sigue la conectividad de red resuelta; no asume que los pines separados dentro de un IC estén conectados eléctricamente. validate_pinmap compara un mapeo esperado explícito; la extracción automática de frameworks de firmware arbitrarios aún no forma parte del analizador principal.

Hoja de ruta

  • V0.2 — grafo de proyecto KiCad jerárquico y semántica de bus/red más rica

  • V0.3 — adaptador de esquemas PDF/vectorial con metadatos de confianza

  • V0.4 — adaptadores de Altium y EasyEDA

  • V0.5 — contexto de hoja de datos y razonamiento de reglas eléctricas

  • V0.6 — extracción de firmware específica de framework (ESP-IDF/Arduino/Zephyr) y comprobaciones de contrato de pines en CI

  • Más adelante — contexto de PCB, BOM, Gerber y fabricación

El objetivo a largo plazo es un servidor de contexto de hardware neutral para agentes de IA.

Contribuciones

Los ingenieros de hardware, los desarrolladores de sistemas embebidos y los usuarios de EDA pueden contribuir más añadiendo fixtures de compatibilidad mínimos, casos límite del analizador, pruebas y flujos de trabajo reales de agentes.

Empieza con CONTRIBUTING.md. Los agentes de codificación y los mantenedores también deberían leer AGENTS.md para conocer los invariantes de arquitectura, las restricciones de seguridad y el bucle de desarrollo esperado. Por favor, nunca contribuyas con esquemas de clientes propietarios a menos que tengas permiso explícito para publicarlos.

Documentación útil para mantenedores/proyecto:

Licencia y atribución

Licenciado bajo la Apache License 2.0. El uso comercial, la modificación y la redistribución están permitidos según los términos de la licencia. Las redistribuciones deben conservar la información de copyright, licencia y NOTICE aplicable según lo exige Apache-2.0.

Consulta LICENSE y NOTICE.

Desarrollado originalmente bajo SYANKOR.

Available Tools

10 tools
get_componentB

Get one component including properties, pins, and resolved net names.

NameRequiredDescriptionDefault
referenceYes

Output Schema

NameRequiredDescription

No output parameters

TDQS

B3.2/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters1/5

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.

Purpose5/5

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.

Usage Guidelines2/5

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.

NameRequiredDescriptionDefault
referenceYes

Output Schema

NameRequiredDescription

No output parameters

TDQS

C2.8/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters2/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

NameRequiredDescriptionDefault
nameYes

Output Schema

NameRequiredDescription

No output parameters

TDQS

B3.1/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters2/5

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.

Purpose5/5

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.

Usage Guidelines2/5

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.

NameRequiredDescriptionDefault
referenceYes
pin_numberYes

Output Schema

NameRequiredDescription

No output parameters

TDQS

B3.1/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters1/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

NameRequiredDescriptionDefault
queryNo

Output Schema

NameRequiredDescription

No output parameters

TDQS

B3.3/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines2/5

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.

NameRequiredDescriptionDefault
queryNo

Output Schema

NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior2/5

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.

Conciseness4/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription

No output parameters

TDQS

B3.3/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

NameRequiredDescriptionDefault
referenceYes
pin_numberYes

Output Schema

NameRequiredDescription

No output parameters

TDQS

B3.2/5.0
Behavior2/5

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.

Conciseness4/5

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.

Completeness2/5

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.

Parameters1/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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"}.

NameRequiredDescriptionDefault
expectedYes
referenceYes

Output Schema

NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

  1. 10 tool updatesv0.1.0
    • First observedget_component
    • First observedget_mcu_pinmap
    • First observedget_net
    • First observedget_pin
    • First observedlist_components
    • First observedlist_nets
    • First observedopen_schematic
    • First observedschematic_summary
    • First observedtrace_signal
    • First observedvalidate_pinmap

TDQS

A3.5/5.0

Scored across 10 tools

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness5/5

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

ActivitySlowing
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    This MCP server enables AI agents to understand and analyze electrical schematics from Cadence and Altium for comprehensive design reviews through natural conversations.
    105 npm
    56
    Apache 2.0
  • A
    license
    B
    quality
    A
    maintenance
    An MCP server that enables AI assistants to analyze schematics, inspect PCBs, trace connections, validate designs, and generate embedded code for KiCad projects.
    39
    164
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A 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.
    7
    1
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    An 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
    -