Skip to main content
Glama

Turn TV on or off

tv_power
Idempotent

Turn a Samsung TV on or off using Wake-on-LAN and a power key when needed; does nothing if it is already in the requested state.

Instructions

Turns the TV on (Wake-on-LAN, then the power key if it stays in standby) or off. No-op if already in that state.

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": {
      "on": "<on>"
    },
    "name": "tv_power"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYestrue = turn on, false = turn off

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, yet the description adds real mechanism context: Wake-on-LAN first, power key fallback if it stays in standby, and an explicit no-op when already in the target state. It does not discuss timing/latency or what happens if the TV is unreachable, so it is not exhaustive.

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 sentences, front-loaded with the action, with the fallback path and idempotency note following immediately. No 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?

For a one-parameter power tool with no output schema, the description covers the action, method, and idempotency. It could say whether success/failure or resulting state is reported, but nothing essential for a correct call is missing.

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

Parameters3/5

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

Schema description coverage is 100% and the single parameter already documents 'true = turn on, false = turn off'. The description restates the on/off meaning without adding format or edge-case detail beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource ('Turns the TV on ... or off') with the exact scope of the action. It is naturally distinguished from siblings like tv_status (read) and tv_press_keys (arbitrary key injection) without ambiguity.

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 boolean semantics imply when to call it, but there is no explicit guidance such as 'use tv_press_keys if the power key is not the intended action' or prerequisites (paired device). Usage is inferable rather than stated.

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