Skip to main content
Glama

led_set

Set or toggle one of six FPGA user LEDs via Moondancer firmware; facedancer mode is required.

Instructions

Drive one of the 6 FPGA LEDs through the Moondancer firmware. Requires facedancer mode.

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": {
      "index": "<index>",
      "state": "<state>"
    },
    "name": "led_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYesFPGA user LED index.
stateYesNew LED state.

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, destructiveHint=false, and openWorldHint=false, so the mutation profile is known. The description adds the gating condition of facedancer mode, but does not say what happens if the mode is inactive, whether state persists after the call, or how failures are reported.

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, front-loaded with the action and followed by the hard prerequisite. Nothing is wasted and no sentence restates the tool name.

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?

An output schema exists and the input schema is fully documented, so the description needn't explain returns. Given the tool's low complexity, the stated prerequisite plus LED count is close to sufficient; only the failure behavior when facedancer mode is off is left unstated.

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%, with both parameters described and an enum on state, so the schema carries the load. The description only reinforces the index bound by mentioning 6 LEDs; it adds no format or edge-case detail beyond the structured data, matching the baseline.

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: "Drive one of the 6 FPGA LEDs through the Moondancer firmware." This distinguishes it from the sibling set_led_pattern by framing it as a single-LED operation, but it never names that sibling explicitly, so the differentiation is implicit rather than asserted.

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?

Provides a real prerequisite ("Requires facedancer mode"), which tells the agent a condition that must hold before calling. It offers no explicit when-to-use-vs-alternatives guidance, leaving the agent to infer that set_led_pattern covers multi-LED/pattern scenarios.

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