Skip to main content
Glama

Remove devices from group

removeGroupDevices
DestructiveIdempotent

Remove specified devices from a group using the group ID and device IDs, ensuring accurate device-to-group assignments.

Instructions

Remove devices from group. Removes the specified devices from the group. Level API endpoint: DELETE /v2/groups/{id}/devices

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the group.
device_idsYesAn array of device IDs to remove from the group.
Behavior3/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=true, covering the safety profile. The description adds the HTTP DELETE endpoint, which is mildly informative, but it does not disclose additional behavioral details such as whether non-existent device IDs are ignored or that devices are only removed from the group and not deleted. It does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but contains redundancy: 'Remove devices from group' and 'Removes the specified devices from the group' say essentially the same thing. The endpoint line is useful. The redundancy prevents a higher score, but it is not overly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter tool with good annotations and full schema coverage, the description is minimally adequate. It does not explain return values (though no output schema exists) and does not clarify side effects or edge cases. Overall, it meets the minimum viability but leaves gaps in usage context.

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%: both 'id' and 'device_ids' have clear descriptions in the input schema. The tool description adds no additional parameter semantics beyond what the schema already provides, so the baseline score of 3 applies.

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?

The description clearly states the action: 'Remove devices from group' with the verb 'remove' and the specific resource 'devices from a group'. It distinguishes itself from siblings like 'deleteDevice' (which deletes a device entirely) and 'assignGroupDevices' (the opposite operation). The HTTP endpoint adds further specificity.

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?

Usage is implied by the action: if you want to remove devices from a group, this is the tool. However, there is no explicit guidance on when to use it instead of alternatives, no prerequisites, and no mention of consequences (e.g., devices are not deleted). The description does not reference sibling tools or provide exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pbozzay/level-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server