Skip to main content
Glama

Select an input_select option

helpers_set_input_select
Idempotent

Set an input_select helper to one of its configured options. Use this to change Home Assistant input_select entities to a specific option.

Instructions

Set an input_select helper to one of its configured options.

Calls input_select.select_option with {"entity_id": entity_id, "option": option} over HTTP.

Use when: setting a known input_select helper to a specific option. Not for: the generic select/input_select dispatch that also handles plain select entities — entities_select_option covers input_select identically plus the select domain. Returns: the list of states changed by the call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionYesOption string to select; must match one of the input_select's configured options.
entity_idYesFull input_select entity ID to set, e.g. 'input_select.house_mode'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.25.1
    • addedInput schema / properties / entity_id / description
      Added value: +"Full input_select entity ID to set, e.g. 'input_select.house_mode'."
    • addedInput schema / properties / option / description
      Added value: +"Option string to select; must match one of the input_select's configured options."
  2. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotent=true, destructive=false, and not readOnly, so safety is covered. The description adds value by revealing the concrete RPC (input_select.select_option with the entity_id/option payload) and that it returns the list of states changed, which is beyond the structured fields.

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?

Front-loaded with the core purpose, then use-when/not-for/returns in tight labeled clauses. The HTTP payload detail is slightly redundant given the schema but does not bloat the description.

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

Completeness5/5

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

For a two-param, idempotent helper setter, the description covers purpose, routing to the sibling, and return behavior, and an output schema exists so return values need no further explanation. Nothing required to call it correctly is missing.

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 100% and both parameters are self-documented, so the schema carries the load. The description only restates the payload mapping (entity_id, option) without adding format or constraint detail beyond the schema, matching the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: setting an input_select helper to one of its configured options. It also names the underlying service call and clearly delimits itself from the generic sibling, so an agent can distinguish it without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'Use when' for setting a known input_select to a specific option, and 'Not for' pointing to entities_select_option for the generic select/input_select dispatch. Both the selection condition and the alternative are named.

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

Deploy Server

Other Tools