Skip to main content
Glama
rjmendez

mcp-server-kicad-tools

by rjmendez

roundtrip_kicad_sexpr

Parse and re-serialize KiCad S-expression text to verify byte-preserving round-trips, catching any unintended changes in your design files.

Instructions

Parse and re-serialize KiCad S-expression text to validate byte-preserving round-trips.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It mentions the parse and re-serialize operation but does not disclose what the tool returns (e.g., a boolean, a comparison result), how errors are handled, or any side effects. This is a significant gap for a validation tool.

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, focused sentence with no unnecessary words. It front-loads the action and purpose, making it easy to grasp at a glance.

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 (which covers return values), the description is sparse for a validation tool. It does not define what constitutes a successful round-trip, mention any failure modes, or provide context on how the validation result should be interpreted. With no annotations, this is incomplete.

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%, and the description only clarifies that the 'text' parameter is KiCad S-expression text, which is a modest addition. It does not elaborate on encoding, size limits, or format specifics, so it only partially compensates for the lack of schema documentation.

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 action (parse and re-serialize) and the specific purpose (validate byte-preserving round-trips) on KiCad S-expression text. It is distinct from a simple parser like parse_kicad_sexpr by focusing on round-trip fidelity, though it does not explicitly name the sibling.

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?

The phrase 'to validate byte-preserving round-trips' implies the intended use case, but the description does not explicitly state when to use this tool versus parse_kicad_sexpr or any alternatives. No exclusions are provided.

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