Skip to main content
Glama

ESPTool Chip Info

esptool_chip_info
Read-onlyIdempotent

Identify an ESP32 chip and read its MAC address, crystal frequency, and flash size by running esptool flash_id on a serial port. Use it to confirm hardware instead of parsing upload logs.

Instructions

Run esptool flash_id and return chip, MAC, crystal, and flash size.

Read-only, so no confirm is required. Prefer this over parsing pio upload logs when you just want to identify the chip.

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": {
      "port": "<port>"
    },
    "name": "esptool_chip_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYesThe ESP32's serial port.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the underlying command being executed and the operational consequence ('no confirm is required'), which is useful, but it omits failure modes an agent would care about: port busy, device not connected, or bootloader-mode requirements.

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?

Two short sentences, front-loaded with the concrete action and return values, followed by the usage routing. No filler or redundant restatement of the title.

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?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile; the description is nearly complete for a one-parameter hardware probe. The remaining gap is the absence of any note about device state or port availability preconditions.

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?

There is a single parameter with 100% schema description coverage ('The ESP32's serial port'), so the schema already carries the semantics. The description adds nothing about port format or how to discover a valid port, which is the baseline expectation when coverage is complete.

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?

States a specific verb and resource ('Run `esptool flash_id`') and enumerates the returned fields (chip, MAC, crystal, flash size), so the agent knows exactly what it gets. It does not name the closely related siblings (device_info, picotool_info, nrf52_bootloader_info), so differentiation from those is left to the agent's inference from the ESP-specific naming.

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?

Gives a clear when-to-use condition ('when you just want to identify the chip') and an explicit alternative to avoid (parsing pio upload logs). It stops short of stating when NOT to use it, e.g. when the device is not in a flashable/bootloader state or when a broader device_info call is wanted.

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