Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ESP32_MCP_URLNoBase URL of the boardhttp://esp32-mcp.local
ESP32_MCP_TOKENNoSent as X-Api-Token when set
ESP32_MCP_TIMEOUTNoHTTP timeout in seconds5.0

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
esp32_healthA

Read board health: firmware version, IP address, hostname, uptime, free heap and the relay table (index, name, pin, state). Call this first to learn what the board exposes.

esp32_read_sensorsA

Read every sensor configured in the firmware: the internal chip temperature and each analog channel, with raw ADC counts, millivolts and a scaled value.

esp32_set_relayA

Switch one relay on or off. Relay indexes are 1 based and are listed by esp32_health. The call is idempotent.

esp32_gpio_readA

Read the mode and digital level of one GPIO pin. Only pins in the firmware allow list can be read.

esp32_gpio_writeA

Set a GPIO pin mode (output, input, input_pullup) and optionally drive it high or low. Pass value only, mode only, or both. Only pins in the firmware allow list can be changed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a distinct action: health (board identity/diagnostics), read_sensors (sensor values), set_relay (relay control), gpio_read, gpio_write. The only mild overlap is that esp32_health also reports the relay table and health metrics while esp32_read_sensors reports chip temperature, but the descriptions make the boundary clear enough.

Naming Consistency4/5

All tools share the esp32_ prefix and a consistent snake_case form. Minor deviation: read_sensors/set_relay use verb_noun ordering while gpio_read/gpio_write use noun_verb, though the gpio pair is internally consistent and readable.

Tool Count5/5

Five tools is a tight, well-scoped surface for a microcontroller: one discovery, one sensor read, one relay control, and a GPIO read/write pair. Nothing feels redundant or padded.

Completeness4/5

Core lifecycle is covered: discovery, sensor reading, relay actuation, and GPIO read/write. Gaps exist for reset/reboot, OTA/firmware update, and analog/PWM output, but these are minor and can be worked around for typical use.

Maintenance

ActivityMaintained
ResponsivenessNo issues