Skip to main content
Glama

Physical inputs

myio_inputs
Read-onlyIdempotent

Retrieve current physical wall button and switch states from a myIO controller, including pressed/closed, enabled, and normally closed status; optionally filter to only active inputs.

Instructions

State of the physical inputs (wall buttons / switches): id (1..SQ), name, pressed/closed now, enabled, NC. Polled state, not events - a short press can be missed. Needs 4.3.12+ or Due 3.12.7+; inputs the account has no permission for are absent.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "myio_inputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverNocontroller name (default Ground floor)
only_activeNoonly inputs that are pressed/closed now

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the bar is lower; the description nonetheless adds substantive behavior: sampling semantics ('polled state, not events', presses can be missed), a firmware/version prerequisite (4.3.12+ / Due 3.12.7+), and permission-based filtering ('inputs the account has no permission for are absent'). Those are exactly the non-obvious traits an agent needs before trusting the result set.

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?

One front-loaded sentence names the resource and its payload, followed by two compact caveat sentences; every clause carries information. It is slightly telegraphic - 'SQ' and 'NC' are unexpanded domain abbreviations, and the field list reads as shorthand rather than a clean sentence.

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 no output schema, the description carries the burden of describing the return payload, and it does so by enumerating the fields returned. The remaining gaps are minor: it does not state the container shape (list vs. map keyed by id) or whether disabled inputs are filtered, but firmware, permissions, and polling semantics are all covered.

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 (server, only_active) are documented in the schema, so the baseline is 3. The description's 'pressed/closed now' wording loosely echoes only_active and 'id (1..SQ)' adds range context, but it does not explain the server scoping/default or what 'SQ' means.

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 resource ('State of the physical inputs (wall buttons / switches)') and enumerates the returned fields (id, name, pressed/closed, enabled, NC), so the agent knows exactly what it gets. It implicitly contrasts with myio_input_config (state vs. configuration) but never names an alternative, so sibling differentiation is only inferred.

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 warning 'Polled state, not events - a short press can be missed' tells the agent this is unsuitable for reliable edge/press detection, which is genuine usage guidance. However, it never says when to prefer another tool (e.g. an event/alarm stream) or states prerequisites beyond the firmware note, so the agent must infer the alternative.

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