Skip to main content
Glama
ESP32 DevOps MCP Server
by JosephR26

esp32_component_identify

Identifies attached I2C, SPI, or UART components from bus addresses, probes, IDs, register/protocol signatures, and markings, then returns likely part, alternatives, evidence, and confidence.

Instructions

STAGE 6 (COMPONENT IDENTIFICATION). Identifies a component from bus address, safe probe responses, chip/manufacturer/part/revision IDs, register signatures, protocol signatures, response patterns and user-supplied markings. Returns the likely component, alternatives, evidence, confidence and identification method. An identification resting only on a bus address is capped at LOW confidence, and two close candidates are reported as AMBIGUOUS — an uncertain identification is never reported as certain.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "esp32_component_identify"
  }
}

Input Schema

NameRequiredDescriptionDefault
csNoChip-select GPIO (SPI, required for SPI)
rxNoRX GPIO (UART, required for UART)
txNoTX GPIO (UART)
sclNoSCL GPIO (I2C)
sdaNoSDA GPIO (I2C)
baudNoUART baud rate
misoNoMISO GPIO (SPI)
modeNoSPI mode 0-3
mosiNoMOSI GPIO (SPI)
portNoSerial port (optional)
sclkNoSCLK GPIO (SPI)
depthNoHow many identification probes to run (default: BASIC)BASIC
addressNoI2C address the device responded on (optional)
clockHzNoSPI clock in Hz
markingsNoText printed on the physical part or board (optional but valuable)
interfaceNoInterface to interrogate (default: I2C)I2C
timeoutMsNoRequest timeout in ms (optional)
candidatesNoRestrict identification to these component profile ids (optional)
frequencyHzNoI2C frequency in Hz

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose the confidence model (address-only evidence capped at LOW, two close candidates reported as AMBIGUOUS, uncertainty never upgraded to certainty) plus the shape of the result. It does not say whether the interrogation is read-only or can disturb the bus/device, whether it requires the hardware session to be established, or how long probing may take at each depth, which are material gaps for a tool that drives GPIOs and buses.

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 content is front-loaded: stage, action, evidence sources, return shape, and confidence policy in three compact sentences with no filler. It is dense but readable, with only the ALL-CAPS stage label being arguably redundant padding.

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 19-parameter hardware interrogation tool with no annotations and no output schema, the description does well to explain the returned fields and the confidence/ambiguity policy. It is still incomplete on hardware safety, side effects, and how to choose a minimal viable invocation (which interface plus which GPIOs), which an agent needs before calling it.

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 100%, so every one of the 19 parameters is already documented, which sets the baseline at 3. The description adds only marginal meaning, hinting that markings are worth supplying and that candidate profiles constrain the search, but it says nothing about how interface selection interacts with the many bus-specific GPIO parameters or what depth tiers actually do.

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 gives a specific verb and resource ('Identifies a component') and enumerates the evidence sources it draws on (bus address, probe responses, chip/manufacturer IDs, register and protocol signatures, markings). It is clear what the tool does, but it never names or contrasts a sibling such as esp32_component_probe, so the boundary with adjacent component tools must be inferred from the 'STAGE 6' label alone.

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 'STAGE 6 (COMPONENT IDENTIFICATION)' prefix implies the tool belongs in a later pipeline phase, and the description notes that user-supplied markings are valuable and that identification can be restricted via candidate profiles. However, it gives no explicit when-to-use versus when-to-use-something-else guidance and no exclusions, leaving the choice between this and the probe/test/capabilities siblings to the agent's inference.

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