Skip to main content
Glama
paztek

twinkly-mcp

by paztek

Set operation mode

set_mode

Switch Twinkly LEDs to any operation mode: off, color, demo, movie, effect, realtime, or playlist. Pass an effect ID when selecting effect mode.

Instructions

Set the LED operation mode directly. Modes: off, color (static color), demo (built-in loop), movie (a saved movie), effect (a predefined effect — pass effectId), rt (realtime), playlist. To pick which movie/effect plays, use set_movie / set_effect.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesThe operation mode to switch to.
deviceNoName of the target device (see list_devices). Omit to use the default device.
effectIdNoEffect id to play, only used when mode is "effect".
Behavior4/5

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

Annotations only indicate readOnlyHint=false and openWorldHint=false, so the description carries the burden of behavioral disclosure. It adds value by explaining each mode's meaning, noting that effect mode requires an effectId, and directing users to sibling tools for movie/effect selection. It does not disclose potential side effects (e.g., resetting current settings), but the core behavior is clearly described.

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?

The description is two sentences long, packed with essential information. It leads with the primary action, lists modes compactly with parentheticals, and ends with a cross-reference to sibling tools. No redundant or filler content.

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

Completeness5/5

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

For a tool with three parameters (one required) and no output schema, the description covers the purpose, all modes, the effectId prerequisite, and the correct tool for selecting specific movies/effects. Combined with the schema, an agent has sufficient context to invoke the tool correctly without ambiguity.

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

Parameters5/5

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

The schema already provides full coverage (100%) with descriptions for all parameters, but the tool description enriches meaning significantly: it explains each enum value in plain terms (e.g., 'demo (built-in loop)', 'movie (a saved movie)') and specifies that effectId is used with effect mode. This goes beyond the schema's simple 'The operation mode to switch to.'

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

Purpose5/5

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

The description clearly states 'Set the LED operation mode directly' and enumerates all mode values with concise explanations. It also distinguishes itself from sibling tools by pointing to set_movie/set_effect for movie/effect selection, making the tool's specific responsibility unambiguous.

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

Usage Guidelines5/5

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

The description explicitly says 'To pick which movie/effect plays, use set_movie / set_effect,' providing a direct alternative for a common sub-task. It also clarifies that this tool is for direct mode switching, implicitly distinguishing it from parameter-adjustment tools like set_color and set_brightness.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paztek/twinkly-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server