Skip to main content
Glama
ESP32 DevOps MCP Server
by JosephR26

esp32_run_tests

Run PlatformIO unit tests for ESP32 projects and return structured pass/fail results, with optional filtering by test name, target environment, or project path.

Instructions

Run PlatformIO unit tests and return structured pass/fail results

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_run_tests"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNoTest name filter pattern (optional, e.g. "test_sensor*")
environmentNoPlatformIO environment to test (optional)
projectPathNoPath to PlatformIO project (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions returning structured pass/fail results, which is a small plus, but says nothing about whether tests build first, require connected hardware, how long they take, or what happens on timeout/compile failure.

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?

A single front-loaded sentence with no filler; the action and the output shape are stated immediately.

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 test-runner with no annotations and no output schema, the definition is minimally adequate but thin. It never clarifies the return payload structure beyond 'pass/fail' or the execution context (build step, hardware dependency, timeouts), which matters for a 3-param tool in a crowded test-tool family.

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 all three optional parameters (filter, environment, projectPath) are already self-documented with examples. The description adds no extra meaning about how these interact, which is acceptable given the schema does the work.

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 PlatformIO unit tests, with the added outcome of structured pass/fail results. It does not distinguish itself from plausible siblings like esp32_component_test or esp32_test_firmware, so an agent must infer which test tool applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose this over the other test-related siblings, no prerequisites (e.g., whether a project must be built first or a board attached), and no exclusions. The agent is left to guess its place in the workflow.

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