Skip to main content
Glama

qd35_set_light_timer

Idempotent

Sets the app-defined light timer on an Edifier Bluetooth speaker only when the device advertises support, preventing unsupported timer commands.

Instructions

Set the app-defined light timer only when the speaker advertises that capability.

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>",
      "value": "<value>"
    },
    "name": "qd35_set_light_timer"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes
valueYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false, and idempotentHint=true, so the safety and repeatability profile is covered. The description contributes the capability precondition, which is useful, but says nothing about what the timer actually controls, whether it persists across power cycles, or what happens if it is set on an unsupported unit.

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 sentence with the capability constraint front-loaded and no filler. It is efficient, though the compression contributes to the unresolved ambiguity around the resource and parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. But for a state-changing tool with two required, entirely undocumented numeric parameters, the description leaves the agent unable to determine valid inputs or the unit of 'value', which is a significant completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%: 'index' and 'value' carry only type and 0-255 bounds, with no explanation of whether index selects a timer slot and value is a duration, brightness level, or something else. The description adds zero meaning to these two required parameters, so an agent cannot construct a correct call from this definition.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb and resource ('Set the ... light timer'), but the qualifier 'app-defined' is never explained, so an agent cannot tell how this timer differs from qd35_set_light, qd35_create_sunrise_alarm, or qd35_set_alarm_audio_keepalive. The core action is identifiable, but the resource boundary against siblings is not.

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?

There is a real gating condition — 'only when the speaker advertises that capability' — which implies a capability check (likely qd35_get_capabilities) should precede the call. However, no alternative tool is named and no fallback behavior is given when the capability is absent, leaving the agent to infer the flow.

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