Skip to main content
Glama

Move a shutter

myio_shutter
Idempotent

Open, close, or stop a shutter or cover by index or up-relay id, letting the controller enforce mutual exclusion until the end switch or stop command.

Instructions

Move a shutter / cover: action open (down off, up on), close (up off, down on) or stop (both off). Identify it by index (from myio_shutters) or by the id of its up relay. The controller enforces the mutual exclusion; the motor runs until its end switch or until you stop it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "myio_shutter"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexNopair index from myio_shutters
up_idNoid of the UP output instead of index
actionYes
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the safe, idempotent, non-destructive, closed-world profile, and the description adds real context on top: the controller enforces relay mutual exclusion and the motor keeps running until its end switch or a stop command. That long-running physical behavior is exactly what an agent wouldn't learn from the annotations. It does not cover failure handling or how to confirm the resulting position.

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?

Compact and front-loaded: the action semantics come first, then how to identify the device, then runtime behavior. The parenthetical relay notation is terse enough to be slightly cryptic, but no sentence is wasted.

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 four-parameter mutation tool with annotations but no output schema, the description covers purpose, addressing, discrete actions, and physical runtime behavior. It omits what a caller should expect on failure or how to verify the new state, which would otherwise make it complete.

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 75%, so the baseline is 3, and the description's explanation of index-versus-up_id as mutually exclusive addressing modes earns that level. It adds no detail on the server parameter, which is left entirely to the schema.

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 concrete verb and resource ("Move a shutter / cover") and enumerates the three actions with their relay-level meaning (open = down off, up on; close = inverse; stop = both off). It also distinguishes itself from the sibling lister by naming myio_shutters as the source of the index.

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?

Gives clear conditions for each action and an implicit routing rule: get the index from myio_shutters, or address the device by its up relay id. It also signals the operational nuance that motion continues until an end switch or an explicit stop, which steers the agent toward using stop. It stops short of explicit when-not guidance or pointing at grouping alternatives.

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