Skip to main content
Glama
ethanj2k

tuya-local-mcp

by ethanj2k

get_status

Retrieve the current state of a Tuya or Smart Life device by its friendly name, ID, or IP address. Returns raw datapoints with common values interpreted to show device status.

Instructions

Read the current state of a device.

device may be a friendly name, a device id, or an IP address. Returns the raw Tuya datapoints plus a best-effort interpretation of the common ones.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden. It discloses the read-only nature ('Read'), the return format (raw Tuya datapoints plus best-effort interpretation), and the three accepted device identifier forms. It does not cover error behavior, what 'best-effort' means, or network/auth implications, but this is adequate for a simple read tool.

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 tight sentences with the core purpose front-loaded. The code-formatted note packs parameter formats and return behavior with zero filler. Every clause earns its place.

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, so return values are already covered; the description adds the raw-vs-interpreted distinction on top. For a single-parameter read tool this is nearly complete — the only gap is explicit routing between get_status and get_all_status.

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?

Schema coverage is 0% — the `device` parameter has no schema description. The description fully compensates by specifying that device may be a friendly name, a device id, or an IP address, adding meaning well beyond the bare 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+resource pair — 'Read the current state of a device' — which clearly differentiates it from the set_* write siblings. The phrase 'a device' implies single-device scope, distinguishing it from get_all_status, though it doesn't name that sibling explicitly.

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?

Usage is implied: read a specific device's state. However, there is no explicit guidance on when to choose this over get_all_status, and no alternatives or exclusions are named. An agent must infer the single-vs-all distinction from the word 'a device'.

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