Skip to main content
Glama

set_led_pattern

Sets the Apollo debug-MCU LED pattern to indicate board status such as idle or upload; requires Apollo to control the CONTROL port.

Instructions

Set the Apollo debug-MCU LED pattern. Requires Apollo to own the CONTROL port (hands off from gateware).

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": {
      "pattern": "<pattern>"
    },
    "name": "set_led_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
patternYesApollo LED pattern number (500 = idle, 50 = upload).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation/safety profile is covered structurally. The description adds valuable state context — gateware must hand off the CONTROL port — but does not say what happens on failure, whether the pattern persists, or whether it conflicts with gateware-driven LED updates.

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 with zero waste; the action is front-loaded and the constraint follows immediately. Nothing could be removed without losing meaning.

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?

With an output schema present and full parameter documentation, the description need only cover purpose and preconditions, which it mostly does. The remaining gap is failure/persistence behavior when the CONTROL port is not owned, a minor omission for this simple one-parameter tool.

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 the schema already explains the pattern integer with examples (500 = idle, 50 = upload). The description adds nothing about the single parameter, so the 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?

States a specific verb and resource ('Set the Apollo debug-MCU LED pattern'), making the target unambiguous. It does not differentiate from the sibling led_set, so an agent must guess between the two from names alone.

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

Usage Guidelines3/5

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

The description gives a real precondition ('Requires Apollo to own the CONTROL port'), which tells the agent when the call can succeed. It offers no guidance on when to prefer this over the sibling led_set, leaving alternative selection to inference.

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