Skip to main content
Glama

Devicegroup Remove Devices

devicegroup_remove_devices
Destructive

Remove devices from a LibreNMS device group by specifying the group name or ID and device IDs.

Instructions

Remove devices from a device group in LibreNMS.

Input Schema

NameRequiredDescriptionDefault
nameYesDevice group name or ID
payloadYesArray of device IDs to remove. Format: {"devices": [1, 2, 3]}

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.12.0
    • changedInput schema / properties / name / description
      Previous value: -"Device group name"New value: +"Device group name or ID"
  2. First observedv1.9.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, non-idempotent, and non-readOnly, so the safety profile is covered structurally. The description adds nothing beyond that restatement: it does not say whether devices are deleted from LibreNMS or merely unlinked from the group, nor how to recover from a mistaken removal.

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?

A single clean sentence with no filler, front-loading the verb and target. It is concise to the point of being terse, but nothing is wasted.

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?

An output schema exists and annotations carry the safety profile, so return values and risk are covered elsewhere. Missing are usage context and clarification of what removal actually mutates, which matters for a destructive tool.

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%, with both 'name' and 'payload' documented in the schema including the payload format example. The description contributes no additional parameter meaning, so the baseline 3 applies.

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 ('Remove') and resource ('devices from a device group'), which distinguishes it functionally from devicegroup_add_devices and devicegroup_devices. However, it never names or contrasts those siblings explicitly, so the differentiation requires inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no prerequisites, and no mention of alternatives such as devicegroup_add_devices or devicegroup_update. The agent is left to infer the context from the name alone.

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