Skip to main content
Glama

remove_devices_from_group

Remove specified devices from a device group and return a staged change ID; apply the change to finalize the removal.

Instructions

Remove devices from a device group. Returns a change_id; nothing changes until apply_change.

Args: group_id: The group to remove devices from. device_ids: List of device UUIDs to remove.

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": {
      "group_id": "<group_id>",
      "device_ids": "<device_ids>"
    },
    "name": "remove_devices_from_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes
device_idsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the important two-phase staging behavior and that a change_id is returned. However, it says nothing about permissions required, whether the removal is reversible, or whether unknown/non-member device UUIDs cause errors or are silently ignored.

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?

The key behavioral note (deferred mutation until apply_change) is front-loaded, and the whole definition is two short sentences plus an args block. The Args section partly repeats schema titles, but the UUID detail keeps it from being pure 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?

An output schema exists, so return-value enumeration is not required, and the description still explains the meaning of the returned change_id. For a simple two-parameter mutation with deferred semantics, the remaining gap is mainly error/idempotency 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 0%, so the description must compensate; it does clarify that device_ids are device UUIDs (a format hint the bare 'Device Ids' title lacks) and that group_id is the source group. That is only marginal added meaning over the schema titles for a two-parameter tool.

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 and resource ('Remove devices from a device group'), which cleanly distinguishes it from add_devices_to_group in the sibling list. It does not explicitly name the inverse tool, but the operation and its target are unambiguous.

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?

The sentence 'nothing changes until apply_change' effectively tells the agent this must be followed by apply_change to take effect, which is real when-to-use guidance. It stops short of stating exclusions, such as when to prefer an alternative removal tool or what happens if the group already lacks these devices.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.