Skip to main content
Glama

Set an input_text value

helpers_set_input_text
Idempotent

Set a Home Assistant input_text helper to a specific string by calling input_text.set_value over HTTP. Returns the states changed by the call.

Instructions

Set an input_text helper's text value.

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

Use when: writing a specific string to an input_text helper. Returns: the list of states changed by the call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesTarget text value to write to the input_text.
entity_idYesFull input_text entity ID to set, e.g. 'input_text.last_visitor'.

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_text entity ID to set, e.g. 'input_text.last_visitor'."
    • addedInput schema / properties / value / description
      Added value: +"Target text value to write to the input_text."
  2. First observedv0.3.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, covering the safety profile. The description supplements this by disclosing the underlying service call (input_text.set_value over HTTP), which is a modest but genuine addition; it adds no auth, rate-limit, or failure-mode context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short lines with zero filler: purpose first, implementation detail second, usage/return last. Every sentence carries information and nothing is padded.

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

Completeness4/5

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

For a two-parameter setter with an output schema present, the description is nearly sufficient; the explicit 'Returns' line is partly redundant given the output schema, leaving only minor gaps such as preconditions (entity must exist) or failure behavior.

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%, so both parameters (entity_id, value) are fully documented in the schema itself. The description adds no format, syntax, or validation detail beyond what the schema already provides, matching the baseline of 3.

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 ('Set an input_text helper's text value') and even names the underlying service call, which cleanly distinguishes it from siblings like helpers_set_input_boolean, helpers_set_input_number, and helpers_set_input_select.

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

Usage Guidelines3/5

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

The 'Use when: writing a specific string to an input_text helper' line gives a triggering condition, but it essentially restates the purpose and offers no when-not guidance or named alternatives (e.g., entities_set_value for generic entities).

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