Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ESPBAUDNoThe serial baud rate; defaults follow $ESPBAUD.
ESPPORTNoThe serial port to use; defaults follow $ESPPORT (e.g. /dev/ttyUSB0). Can also be a serial_for_url URL such as rfc2217://host:port.
IDF_TOOLS_PATHNoESP-IDF tools path; used when looking up the target addr2line tool (xtensa-esp-elf-addr2line / riscv32-esp-elf-addr2line).
ESP_RUNTIME_PROJECT_DIRNoPath to the ESP-IDF project directory. Used to locate the ELF file via build/project_description.json for symbolisation/addr2line.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_serial_portsA

List serial ports; likely_esp marks Espressif USB, CP210x, CH340/CH9102 and FTDI bridges.

capture_logA

Read the device console until all expect patterns match, a crash is caught, or time runs out.

Crashes found in the log are parsed and symbolised automatically. Check passed: true only if every expect pattern matched and no crash was seen.

analyze_logC

Find crashes (Guru Meditation, abort, assert, ESP_ERROR_CHECK, stack overflow, TWDT, heap corruption, brownout) and reset reasons in a log, and symbolise backtraces against the ELF.

decode_addressesB

Symbolise code addresses (function, file:line, inlining) with the toolchain's addr2line. For a 'Backtrace: PC:SP PC:SP' line only the PCs are decoded.

reset_deviceA

Hard-reset the chip via the RTS->EN auto-reset circuit (app boot, not download mode).

read_coredumpC

Run esp-coredump info_corefile and return the crashed task, its stack frames and the full report.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 6 tools

Disambiguation4/5

Tools target distinct actions: listing ports, capturing logs, analyzing logs, decoding addresses, resetting, reading coredumps. Slight overlap between capture_log (which also parses crashes) and analyze_log, but descriptions clarify the distinction.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (list_serial_ports, capture_log, analyze_log, decode_addresses, reset_device, read_coredump). No mixing of conventions.

Tool Count5/5

Six tools form a well-scoped set for ESP runtime debugging: port discovery, log capture, log analysis, address decoding, reset, and coredump reading. Each tool has a clear role without redundancy.

Completeness4/5

Core lifecycle for runtime debugging is covered: discovering ports, capturing/analyzing logs, decoding addresses, resetting, and reading coredumps. Minor gaps like device info query or serial write are not critical but could be useful.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues