Skip to main content
Glama

Set an input_number value

helpers_set_input_number
Idempotent

Set an input_number helper's numeric value in Home Assistant by specifying the entity ID and target number. Use when writing a specific number to an input_number helper.

Instructions

Set an input_number helper's numeric value.

Calls input_number.set_value with {"entity_id": entity_id, "value": value} over HTTP.

Use when: writing a specific number to an input_number helper. Not for: a number/climate entity too — entities_set_value covers input_number identically plus the number and climate domains. Returns: the list of states changed by the call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesTarget numeric value to write to the input_number.
entity_idYesFull input_number entity ID to set, e.g. 'input_number.target_temp'.

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_number entity ID to set, e.g. 'input_number.target_temp'."
    • addedInput schema / properties / value / description
      Added value: +"Target numeric value to write to the input_number."
  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 idempotentHint=true, destructiveHint=false, readOnlyHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the underlying call (input_number.set_value over HTTP) and the return shape (list of states changed), though it omits permission/auth requirements.

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 action, then usage routing, then return info. The HTTP payload restatement is mildly redundant given the schema but the overall block is tight and each line serves a routing or behavior purpose.

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?

Output schema exists, so return values need not be explained, and annotations carry the safety profile. The description adds the service-level behavior and the sibling alternative, leaving no gap an agent needs to fill before calling correctly.

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 both parameters are documented in the schema with examples. The description merely echoes the payload structure ({entity_id, value}) without adding format or constraint details beyond what the schema provides, so the baseline 3 applies.

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 (Set) and resource (input_number helper's numeric value), and explicitly distinguishes itself from the sibling entities_set_value, which covers the same domain plus number and climate.

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' and 'Not for' clauses name the alternative tool and the condition that selects it (entities_set_value covers input_number identically plus number/climate domains), leaving nothing to inference.

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