Skip to main content
Glama

control_device

Send power, volume, navigation, and playback commands to smart appliances discovered on your local network.

Instructions

Control a discovered device. The server routes the command through the adapter found during discovery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNo
actionYes
payloadNo
deviceIdYes
Behavior2/5

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

With no annotations, the description carries full responsibility for disclosing effects. It states the command is routed through an adapter, hinting at indirection, but does not disclose potential side effects, return behavior, error conditions, or whether actions are reversible. There is no contradiction with annotations (none provided).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short – one sentence – but that brevity is not efficient; it under-specifies essential information. It is front-loaded with the command purpose but omits critical usage details, so it is not concise in a valuable way.

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

Completeness1/5

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

Given 4 parameters, no output schema, no annotations, and nested objects, the description is grossly incomplete. There is no explanation of command semantics, parameter relationships, expected behavior for different action types, or any prerequisites beyond 'discovered device'.

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%, so the description must explain parameters. It offers no parameter explanations: what are deviceId, action, value, payload? The schema provides enums for action and types for value, but the description adds zero meaning beyond that.

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

Purpose2/5

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

The description says 'Control a discovered device' – it identifies the purpose (controlling a device) but does not specify what types of controls or actions are possible, nor does it distinguish from sibling tools like get_device_state or get_device_controls. It also does not clarify the scope beyond 'discovered device'.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. For instance, it does not mention that get_device_controls likely retrieves available controls while this tool executes them, nor how it relates to discovery or pairing tools. The description implies a prerequisite (discovery) but does not explain when to choose this over similar actions.

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/fridaythethirteen/smart-appliance-mcp'

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