Skip to main content
Glama
ESP32 DevOps MCP Server
by JosephR26

esp32_add_favorite_port

Save a serial port to favorites with an optional custom name for quicker identification and reuse in ESP32 workflows.

Instructions

Add a serial port to favorites with optional custom name

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": "esp32_add_favorite_port"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCustom name for this port (optional)
portYesSerial port name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: it does not say whether favorites persist across sessions, whether re-adding an existing port overwrites or duplicates, or what happens with an invalid/undetected port name. For a state-mutating tool this is a meaningful gap.

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?

A single well-formed sentence with the action front-loaded and no filler. It is appropriately sized for a two-parameter tool, though it leaves room for one clarifying clause without becoming bloated.

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 simple two-parameter tool with no output schema, the definition covers the essentials of what it does. However, it omits the outcome (does it return the updated favorites list?) and idempotency/validation behavior, which an agent would need to call it confidently.

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 coverage is 100% and both parameters carry inline descriptions, so the schema already explains 'port' and the optional 'name'. The description only restates that the custom name is optional, adding no format, uniqueness, or validation detail beyond the schema; baseline 3 applies.

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 ('Add a serial port to favorites') plus the optional naming capability, so the agent can tell this apart from esp32_list_ports or esp32_detect_ports. It stops short of naming a sibling such as esp32_set_default_port, so differentiation is implied rather than explicit.

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 favorite a port versus setting it as default or just listing ports, and no prerequisites are stated (e.g. whether the port must already be detected). The agent must infer the use case from the name alone.

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