set_input
Switch your LG TV to a specific external input by providing its id, such as HDMI_1.
Instructions
Switch to an external input by its id (e.g. HDMI_1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputId | Yes |
Switch your LG TV to a specific external input by providing its id, such as HDMI_1.
Switch to an external input by its id (e.g. HDMI_1).
| Name | Required | Description | Default |
|---|---|---|---|
| inputId | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavior. It lacks details on what happens on invalid inputId, whether switching is instantaneous, or if it requires specific prerequisites (e.g., TV must be on). The mutating nature is implied but not elaborated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very short and front-loaded, conveying the core action in one sentence. However, it could be slightly restructured to include a brief note about error handling or prerequisites without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, no output schema), the description is minimally adequate. But it fails to mention error behavior or that inputId should be retrieved from list_inputs, leaving gaps for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. The phrase 'by its id (e.g. HDMI_1)' adds meaning beyond the raw schema by hinting that inputId corresponds to the id field from list_inputs. However, it does not explain the format or all possible values.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function ('Switch to an external input'), identifies the resource ('external input'), and provides an example ('HDMI_1'). This distinguishes it from sibling tools like channel_up or launch_app.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives, such as list_inputs to discover valid IDs, or scenarios where switching might fail. The description does not mention prerequisites or typical use cases.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/brunofgmag/lgtv-control-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server