Skip to main content
Glama

press_button

Sends remote-control button presses to an LG webOS TV, optionally repeated, to control navigation, playback, menus, and on-screen actions.

Instructions

Press a remote-control button (optionally several times).

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": {
      "button": "<button>"
    },
    "name": "press_button"
  }
}

Input Schema

NameRequiredDescriptionDefault
buttonYesHOME, BACK, OK/ENTER, UP, DOWN, LEFT, RIGHT, EXIT, MENU, INFO, PLAY, PAUSE, digits 0-9, RED/GREEN/YELLOW/BLUE, ...
repeatNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it adds almost nothing: it does not say whether the press is synchronous, how fast repeated presses are sent, what happens on an unsupported button, or what the response contains. The only behavioral hint, that presses can be repeated, merely restates the schema's repeat parameter.

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 short sentence with the action front-loaded and zero filler. It is efficiently sized, though the brevity borders on under-specification rather than crispness.

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?

The tool is simple, an output schema exists so return values need no explanation, and the button vocabulary is covered by the schema. Still missing is any statement of target device/app context and the semantics of repeated presses, leaving an agent with a small but real gap.

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 coverage is 50%: button has a rich enumerated description, while repeat has only a default and min/max with no prose. The phrase 'optionally several times' adds the semantic that repeat means sequential discrete presses rather than a held key, which is genuine value beyond the schema, but it does not clarify timing or spacing.

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?

Clear specific verb plus resource: 'Press a remote-control button', with the repeat capability parenthetically noted. An agent knows exactly what action is performed, though the description never distinguishes this generic tool from siblings like channel_up, screen_off, or media_control that perform overlapping remote actions.

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?

There is no guidance on when to use this generic button-press versus the many specialized siblings (channel_up, media_control, screen_on, etc.). No prerequisites, no exclusions, and no context about whether this forwards to a currently focused app or the device globally.

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