schematic-mcp
schematic-mcp
MCP を介した AI エージェント向けハードウェア回路図コンテキスト。
schematic-mcp を使用すると、MCP 互換エージェントがハードウェア回路図をスクリーンショットや長大なテキストブロックとして扱うのではなく、構造化された電気データとして検査できるようになります。
ステータス: V0.1 / alpha。最初のアダプタは、最新の KiCad
.kicad_schファイルを対象としています。
存在理由
ファームウェアを記述する AI コーディングエージェントは、次のような回答を必要とすることがよくあります:
どの ESP32 ピンが
SENSOR_OUTに接続されていますか?U4.GPIO12には何が接続されていますか?この I2C ネットを共有しているデバイスはどれですか?
MCU 上のすべてのピンと解決されたネットは何ですか?
ファームウェアが想定している GPIO マップは、実際に回路図と一致していますか?
サーバーは EDA ファイルを決定論的に解析し、正規のコンポーネント/ピン/ネットモデルを構築し、そのモデルを MCP ツールとリソースを通じて公開します。
設計原則は保守的です。接続性を確信を持って解決できない場合は、電気的接続をでっち上げるのではなく、警告を表示します。
設計の焦点
schematic-mcp は、意図的にファイル駆動型のハードウェアコンテキストレイヤーであり、汎用の EDA GUI 自動化サーバーではありません。通常の KiCad の読み取り/クエリワークフローでは、KiCad アプリケーションを実行する必要はありません。EDA 固有のアダプタは正規の電気グラフを生成しますが、エージェント向けの MCP コントラクトはフォーマットに依存しません。
これにより、このプロジェクトはエディタ/IPC 自動化を補完するものになります。エディタツールは対話的な設計変更に役立ちますが、schematic-mcp は、コーディングエージェント、CI システム、および将来のクロス EDA アダプタが利用できる決定論的なハードウェアファクトに焦点を当てています。ファームウェア ↔ 回路図の検証は、最初の具体的なユースケースです。
プロジェクトの境界とエコシステムの論拠については、docs/project-positioning.md を参照してください。
Related MCP server: KiCad MCP Server
V0.1 の機能
最新の KiCad
.kicad_schS 式ファイルを解析しますコンポーネント、リファレンス、値、ライブラリ ID を読み取ります
ライブラリのピン形状を回路図座標に解決します
マルチユニットシンボルのアクティブな KiCad ユニットでピンを選択します
ワイヤ、ラベル、ジャンクションから接続性を構築します
名前付きネットと匿名ネットを解決します
1 つのコンポーネントまたはピンを検査します
ピンを同じ電気ネット上のすべてのエンドポイントにトレースします
コンパクトな MCU ピンマップを生成します
物理ピン番号またはシンボリックピン名で、ファームウェアのピン期待値を回路図ネットと比較します
現在の正規モデルを MCP リソースとして公開します
SCHEMATIC_MCP_ROOTまたは--rootでファイルシステムアクセスを制限しますstdio または Streamable HTTP 経由でローカルに実行します
GitHub Actions での自動化されたパーサー、グラフ、ファイルシステム境界テスト
MCP ツール
ツール | 目的 |
|
|
| カウント、フォーマット情報、パーサー警告を返します |
| コンポーネントを検索します |
| コンポーネントのプロパティとピンを返します |
| 1 つのピンとそのネットを返します |
| 解決されたネットを検索します |
| ネット上のラベルとエンドポイントを返します |
| 電気ネットワーク全体で 1 つのピンをトレースします |
| コンパクトなピンとネットのマップを返します |
| ファームウェアのピン期待値を、解決された回路図ネットと比較します |
リソース:
schematic://current/summaryschematic://current/model
GitHub からのインストール
Python 3.10 以降が必要です。最初のパッケージレジストリリリースが公開されるまで、現在の main ブランチを GitHub から直接インストールできます:
python -m pip install "git+https://github.com/vonpanda/schematic-mcp.git"
schematic-mcp --help再現可能な本番環境での使用では、ピン留めされていない開発ブランチを追跡するのではなく、リリースタグまたはコミットを固定してください。最初のパッケージリリースは issue #8 で追跡されています。
開発用のインストール
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このプロジェクトは、公式 MCP Python SDK の安定版 v2 系を使用しています。
実行
ローカル stdio
schematic-mcpまたは:
python -m schematic_mcp環境変数を設定せずに、読み取り可能なファイルを制限できます:
schematic-mcp --root /absolute/path/to/your/hardware-projects同梱のフィクスチャを試す
リポジトリには、デモやテストに安全な小さな合成 KiCad 回路図が含まれています:
schematic-mcp --root "$PWD/examples"次に、MCP 互換クライアントは次を呼び出すことができます:
open_schematic("minimal.kicad_sch")
schematic_summary()
list_components()
trace_signal("U1", "1")この例では、U1.1 が SENSOR_OUT に解決され、U2.1 が別のエンドポイントとして表示されるはずです。examples/README.md を参照してください。
ファームウェア ↔ 回路図検証デモ
2 つ目の合成例は、コーディングエージェントがソースコードだけでは安全に検出できないハードウェアバグを示しています。ファームウェアは意図的に SENSOR_INT と LED_STATUS の GPIO 割り当てを入れ替えていますが、回路図は正しい電気的マッピングを維持しています。
決定論的なローカルデモを実行します:
python examples/demo_firmware_validation.pyexamples/firmware_with_pin_bug.c から単純な GPIO コントラクトを抽出し、examples/esp32_firmware_validation.kicad_sch を解析して、2 つの一致と 2 つの不一致を報告します。
MCP を介すると、同じ比較は次のようになります:
open_schematic("esp32_firmware_validation.kicad_sch")
validate_pinmap(
"U1",
{
"GPIO8": "I2C_SDA",
"GPIO9": "I2C_SCL",
"GPIO12": "LED_STATUS",
"GPIO13": "SENSOR_INT"
}
)完全なエージェントワークフローと期待される結果については、docs/firmware-validation-demo.md を参照してください。
Streamable HTTP
schematic-mcp --transport streamable-http --host 127.0.0.1 --port 8000MCP エンドポイントは http://127.0.0.1:8000/mcp で利用できます。デフォルトのホストはループバックのみです。認証されていない開発サーバーをパブリックインターネットに直接公開しないでください。
MCP Inspector の場合:
mcp dev src/schematic_mcp/server.pyMCP クライアント設定の例
{
"mcpServers": {
"schematic": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/schematic-mcp", "run", "schematic-mcp"],
"env": {"SCHEMATIC_MCP_ROOT": "/absolute/path/to/your/hardware-projects"}
}
}
}次に、エージェントは次を呼び出すことができます:
open_schematic("board/main.kicad_sch")
get_component("U4")
get_mcu_pinmap("U4")
trace_signal("U4", "12")ファイルシステムのセキュリティ
デフォルトでは、ローカルサーバーはそのプロセスがアクセスできるパスを開くことができます。完全には信頼できないエージェントの場合は、SCHEMATIC_MCP_ROOT を設定するか、許可されたプロジェクトディレクトリに --root を渡します。許可されたルートの外側に解決されるパスを含め、その外側のファイルを開こうとすると拒否されます。
脆弱性の報告と展開のガイダンスについては、SECURITY.md を参照してください。
現在の制限事項
V0.1 は意図的に小規模です。階層的な子シートは検出されますが、まだシート間の 1 つのグラフに再帰的にマージされていません。特殊なマルチユニット/ライブラリ構造とサードパーティの KiCad エクスポートには、より広範な互換性フィクスチャが引き続き必要です。バスセマンティクスはまだ再構築されていません。PDF、Altium、EasyEDA はまだ実装されていません。
trace_signal は解決されたネット接続のみを追跡します。IC 内の個別のピンが電気的に接続されているとは想定しません。validate_pinmap は明示的な期待マッピングを比較します。任意のファームウェアフレームワークからの自動抽出は、まだコアパーサーの一部ではありません。
ロードマップ
V0.2 — 階層的な KiCad プロジェクトグラフと、よりリッチなバス/ネットセマンティクス
V0.3 — 信頼性メタデータを備えた PDF/ベクター回路図アダプタ
V0.4 — Altium および EasyEDA アダプタ
V0.5 — データシートコンテキストと電気ルール推論
V0.6 — フレームワーク固有のファームウェア抽出 (ESP-IDF/Arduino/Zephyr) と CI ピンコントラクトチェック
後日 — PCB、BOM、ガーバー、製造コンテキスト
長期的な目標は、ベンダーに依存しないAI エージェント向けハードウェアコンテキストサーバーです。
コントリビューション
ハードウェアエンジニア、組み込み開発者、EDA ユーザーは、最小限の互換性フィクスチャ、パーサーのエッジケース、テスト、実際のエージェントワークフローを提供することで、最も貢献できます。
CONTRIBUTING.md から始めてください。コーディングエージェントとメンテナは、アーキテクチャの不変条件、安全上の制約、期待される開発ループについて、AGENTS.md もお読みください。明示的な公開許可がない限り、独自の顧客回路図を提供しないでください。
便利なメンテナ/プロジェクトドキュメント:
AGENTS.md— コーディングエージェントとメンテナのルールdocs/project-positioning.md— プロジェクトの境界とエコシステムの価値docs/architecture.md— パーサー/モデル/MCP アーキテクチャdocs/firmware-validation-demo.md— ファームウェア ↔ 回路図の不一致デモexamples/README.md— 実行可能な合成フィクスチャCHANGELOG.md— リリース履歴SECURITY.md— セキュリティポリシーdocs/oss-readiness.md— パブリック採用と OSS プログラムの準備状況チェックリスト
ライセンスと帰属
Apache License 2.0 の下でライセンスされています。商用利用、変更、再配布は、ライセンス条件に基づいて許可されています。再配布の際は、Apache-2.0 で要求される該当する著作権、ライセンス、NOTICE 情報を保持する必要があります。
元々は 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-