Skip to main content
Glama

Change user element permissions

myio_set_permissions
Destructive

Change a user slot's element permissions by granting or revoking specific relay, PCA, FET, and input IDs; use fill or clear for full grant or revoke.

Instructions

Change the element permissions of a user slot (ADMIN). fill = grant everything, clear = revoke everything. Then per list the ids to GRANT or REVOKE: relay_read, relay_write, pca_read, pca_write, fet_read, fet_write (output ids), input_hit, input_press (input ids). On 4.x the current map is read first and only differences are sent; on Due 3.x the firmware toggles are sent as given (each id flips its bit).

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": {
      "slot": "<slot>"
    },
    "name": "myio_set_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
fillNo
slotYes
clearNo
grantNo
revokeNo
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the ADMIN requirement, the global effect of `fill` and `clear`, and important firmware-dependent behavior: 4.x reads the current map and sends only differences, while Due 3.x sends toggles that flip each id's bit. This meaningfully explains why the operation is destructive and non-idempotent.

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?

The description is compact, front-loaded with the core action, and then immediately explains the permission semantics and firmware differences. Every sentence carries useful information without unnecessary repetition.

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 destructive, nested-parameter mutation, the description supplies the critical authorization, semantic, and firmware-dependent behavior. It leaves minor gaps around server targeting and how `fill`/`clear` interact with explicit grant/revoke lists, but the definition is otherwise sufficient to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 17% schema description coverage, the description does significant work by defining `fill`, `clear`, and the eight permission ids grouped as output ids and input ids. It still omits the `server` parameter and does not explicitly describe the grant/revoke nested object structure, so some meaning must come from the schema.

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?

The description gives a specific verb and resource: change element permissions for a user slot. It is clear what the tool does, but it does not explicitly differentiate this write operation from the read-oriented `myio_permissions` sibling.

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 definition states the ADMIN prerequisite and explains what `fill` and `clear` do, but it gives no explicit when-to-use or when-not-to-use guidance relative to alternatives. The operational context is implied rather than fully stated.

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