Skip to main content
Glama
stream-deck-mcp
by sohumsuthar

tuya_list_devices

List all configured Tuya devices with current on/off, brightness, color temperature, and online status to verify device availability and state before control.

Instructions

List all configured Tuya devices with their current status (on/off, brightness, color temperature, online status)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tuya_list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full burden of explaining behavior. It does disclose the returned state fields, which signals that this is a non-destructive read operation, but it does not say whether status is fetched live from the cloud or cached, how long it takes, or what happens when no devices are configured. This is a real gap for an unannotated tool, though the implication of a read-only list is strong.

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 a single well-formed sentence that leads with the action and scope and then lists the returned status fields. Every clause adds information, and there is no redundant filler.

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?

This is a simple, zero-parameter read tool whose annotations are absent and whose output schema is absent. The description compensates for the absence of an output schema by listing the returned fields, which is what an agent most needs to know. Only the data source (live versus cached) and the empty-list behavior remain unstated, and those are minor.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline score is 4 and the description leaves no parameter behavior unexplained. It instead explains the output shape, which is useful because there is no output schema.

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 uses a specific verb ('List') and a specific resource ('all configured Tuya devices'), and it also discloses the scope ('all configured') and the main fields returned (on/off, brightness, color temperature, online status). This makes the tool's purpose clear and separates it from the single-device status sibling. The description does not explicitly say how it differs from siblings such as tuya_get_status, but the operation itself is unambiguous.

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 phrase 'List all configured' implies that this is used for enumeration and discovery across all devices. However, the description gives no explicit guidance on when to use this tool instead of tuya_get_status for a single device, or instead of the per-device setters. Apart from that implied usage, it contains no exclusions or prerequisites.

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