Skip to main content
Glama

Check module wiring

check_wiring
Read-onlyIdempotent

Checks how modules are wired to a microcontroller board, pin by pin, with PCBBrew's catalogue data (no AI): missing or unknown pins, pins not on the headers, wrong supply (3.3 V module on 5 V), 5 V signals into non 5 V tolerant GPIOs, analog outputs on non-ADC pins, boot/strapping pins, pins used twice, invalid I2C pins (Arduino A4/A5, RP2040 pairs) and I2C address conflicts. Board and module ids come from search_parts; board pins by their header name (GPIO4, D7, A0, GP15, 3V3, 5V, GND).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "board": "<board>",
      "modules": "<modules>"
    },
    "name": "check_wiring"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardYesboard id, e.g. ESP32-S3-DevKitC-1, Arduino-Nano, Raspberry-Pi-Pico
modulesYesmodules and their wiring

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotent, non-destructive and closed-world, so safety is covered; the description adds the important behavioral fact that results come from PCBBrew's catalogue data with no AI inference, and it specifies the accepted pin-naming vocabulary. The one gap is that it never states the shape of the response beyond implying a list of detected problems.

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?

Front-loaded with the core action, then the fault checklist, then the id/pin-name conventions — a sensible order. The checklist sentence is dense and long, but every listed item carries information an agent would otherwise have to infer.

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?

For a two-parameter read-only validator the definition is largely sufficient: inputs, provenance, and the set of checks are all clear. However, with no output schema present, the description never says what a result looks like (issue list, severity, pass/fail), leaving the return contract underspecified for a tool designed to report problems.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuinely new meaning: it states where board and module ids must come from (search_parts) and the header-name convention for board pins (GPIO4, D7, A0, GP15, 3V3, 5V, GND), which helps avoid hallucinated identifiers and wrong pin formats.

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?

States a specific verb and resource ('checks how modules are wired to a microcontroller board, pin by pin') and enumerates the exact fault classes it detects, so an agent knows precisely what it gets from this tool versus the catalogue lookup siblings. The '(no AI)' qualifier and catalogue reference distinguish it from any generative alternative.

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?

It supplies a concrete prerequisite chain ('board and module ids come from search_parts'), which tells the agent it must resolve ids first and that this tool is a validation step. It does not name an explicit alternative or exclusion (e.g. power_budget), but the use context is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources