Skip to main content
Glama

Set cover position

services_set_cover_position
Idempotent

Move a cover, blind, or shutter to a specific open percentage between 0 and 100 for precise positioning instead of just fully open or closed.

Instructions

Set a cover/blind/shutter to a specific open position.

Calls cover.set_cover_position with {"entity_id": entity_id, "position": position} over HTTP.

Use when: moving a cover to a specific percentage rather than fully open/closed. Returns: the list of states changed by the call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
positionYesTarget position, 0 (closed) to 100 (open).
entity_idYesFull cover entity ID to move, e.g. 'cover.living_room_blind'.

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 cover entity ID to move, e.g. 'cover.living_room_blind'."
    • addedInput schema / properties / position / description
      Added value: +"Target position, 0 (closed) to 100 (open)."
  2. First observedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, so the safety profile is covered. The description adds the underlying service call (cover.set_cover_position) and the exact payload shape, which is useful context beyond the structured fields. The stated return value is somewhat redundant given an output schema exists.

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 and return in short labeled lines. The inline payload block duplicates the schema's parameter names exactly, which is mild redundancy rather than waste.

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?

With annotations covering safety/idempotency, full schema coverage, and an output schema for return values, the description supplies the remaining when-to-use context. The only gap is not addressing the closely related tilt sibling, which would help disambiguation.

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, including the 0-100 range for position, are fully documented in the schema. The description merely restates the payload keys without adding format or edge-case semantics, so baseline 3 is correct.

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 (set) and resource (cover/blind/shutter) with the exact operation (specific open position), and clarifies the distinction from full open/close. It does not, however, name or differentiate itself from the adjacent services_set_cover_tilt sibling, so an agent must infer scope from the name alone.

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

Usage Guidelines4/5

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

"Use when: moving a cover to a specific percentage rather than fully open/closed" gives a clear positive selection condition. It stops short of naming an alternative tool (e.g. set_cover_tilt) for the when-not case, so routing against the close sibling relies on 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