Skip to main content
Glama

switch_input

Switches an LG webOS TV to the requested external input by ID or label, such as HDMI_1 or 'HDMI 1'.

Instructions

Switch to an external input.

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": {
      "input": "<input>"
    },
    "name": "switch_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesInput id (e.g. HDMI_1) or label (e.g. 'HDMI 1')

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 does little with it. It does not disclose whether the switch is immediate, what happens if the requested input is unavailable or invalid, or whether it affects other device state — gaps that matter for a state-changing device command.

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 no wasted words and the action front-loaded. It is appropriately sized for a one-parameter tool, though the brevity borders on under-specification rather than economy.

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?

An output schema exists and the single parameter is fully documented, so return values and argument format are covered. What is missing is how the agent discovers valid input identifiers and what happens on failure, which is not covered anywhere in the supplied structure.

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 schema already explains the accepted forms (id like HDMI_1 or a label like 'HDMI 1'), so the baseline of 3 applies. The description adds nothing about matching behavior, case sensitivity, or fallback when a label is ambiguous.

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+resource ('Switch to an external input') that an agent can act on without further reading, and it is clearly distinct from list_inputs, which enumerates inputs rather than selecting one. It stops short of explicitly contrasting itself with siblings, so it is clear but not differentiating.

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 when-to-use, when-not-to-use, or alternative guidance. The description does not mention that list_inputs exists for discovering valid input ids, which is the one piece of routing information this tool most needs.

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