Skip to main content
Glama

ligar_tv

Turns on a TV over the local network using Wake-on-LAN; the TV must be on the same network with Wake via Wi-Fi/network enabled.

Instructions

Liga a TV via Wake-on-LAN (a TV precisa estar na mesma rede e com 'Ligar via Wi-Fi/rede' ativado).

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": {
      "mac": "<mac>"
    },
    "name": "ligar_tv"
  }
}

Input Schema

NameRequiredDescriptionDefault
macYesMAC da TV, ex.: AA:BB:CC:DD:EE:FF
broadcastNo255.255.255.255

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully reveals the transport (Wake-on-LAN) and the two environmental prerequisites, but says nothing about error behavior when the TV is unreachable, whether it waits for or confirms power-on, or any latency — meaningful gaps for a WoL call that gives no return value.

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

Conciseness4/5

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

A single sentence with the action front-loaded and the prerequisites tucked into a parenthetical; nothing is wasted. Slightly dense with two conditions compressed into one clause, but it stays readable.

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

Completeness3/5

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

For a simple two-parameter action with no output schema and no annotations, the description covers the essentials of what it does and what must be true beforehand. It leaves out the meaning of the broadcast parameter and any indication of what a caller can expect on success or failure.

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

Parameters2/5

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

Schema coverage is 50%: 'mac' is documented in the schema with a format example, but 'broadcast' has only a default value and no description. The tool description mentions no parameters at all and does not explain what the broadcast address is for or when the default is insufficient, so it fails to compensate for the coverage gap.

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 states a specific verb and resource ('Liga a TV') and names the mechanism ('via Wake-on-LAN'), which distinguishes it from reboot/connect siblings without needing to name them. It does not explicitly contrast with any sibling, but the mechanism alone makes the operation 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 parenthetical gives the gating conditions for success (same network, 'Ligar via Wi-Fi/rede' enabled), which functions as a pre-condition for use. It never states when to prefer this over related siblings such as reconnecting or restarting the TV, so selection guidance is only implied.

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