Skip to main content
Glama

Press remote keys

tv_press_keys

Press Samsung TV remote-control keys in sequence using aliases like up, ok, or home, or raw codes like KEY_RED. Send up to 30 keys per call to navigate menus and control playback.

Instructions

Presses remote-control keys in order. Use aliases (up, down, left, right, ok, back, home, menu, source, play, pause, stop, fast_forward, rewind, volume_up, volume_down, mute, channel_up, channel_down, 0-9) or raw Samsung codes like KEY_RED. Up to 30 keys per call.

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": {
      "keys": "<keys>"
    },
    "name": "tv_press_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYesKeys to press, in order

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is not destructive and not open-world. The description adds useful behavioral details: keys are pressed sequentially, up to 30 per call, and aliases or raw Samsung codes are accepted; however, it omits prerequisites such as pairing/power state and behavior for unsupported keys.

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 and followed by the key vocabulary and batch limit. There is little wasted text, and the important invocation constraint is easy to find.

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 one-parameter tool with annotations covering safety, the description is adequate to invoke it. It is not fully complete because it omits pairing/power prerequisites and sibling routing guidance, which matter given tv_pair, tv_power, tv_set_volume, and tv_type_text exist.

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 100%, so the schema already documents the single keys parameter. The description adds real semantic value by listing accepted aliases and an example raw Samsung code format, going beyond the schema's generic string array definition.

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?

States a specific verb and resource: presses remote-control keys in order. It clearly identifies the key-pressing capability, but does not explicitly distinguish it from overlapping siblings such as tv_set_volume, tv_power, or tv_type_text.

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?

The description explains accepted key formats but gives no when-to-use guidance versus alternatives. It does not say when to use tv_power instead of a power key alias, when to use tv_set_volume instead of volume_up/down, or whether pairing is required.

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