Skip to main content
Glama

Devicegroup Update

devicegroup_update
DestructiveIdempotent

Update a LibreNMS device group by name or ID. Modify its name, type, description, dynamic rules, or static device membership.

Instructions

Update a device group in LibreNMS.

Input Schema

NameRequiredDescriptionDefault
nameYesDevice group name or ID
payloadYesPatchable fields: - name: New group name - type: "static" or "dynamic" - desc: Group description - rules: Dynamic group rules (for dynamic groups) - devices: Array of device IDs (for static groups)

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

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=true. The description adds no behavioral context beyond what annotations provide, such as what gets destroyed, auth requirements, or side effects. It only restates the action.

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 a single short sentence that is front-loaded with the verb and resource. There is no wasted text. It is appropriately concise for the amount of information it chooses to convey.

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?

Given that the input schema has full parameter coverage, an output schema exists, and annotations cover the safety profile, the minimal description is nearly sufficient. The only notable gap is the lack of when-to-use guidance relative to siblings, but structured fields compensate well.

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%, so the schema already documents both parameters and their nested fields. The description adds no parameter semantics or syntax details. A baseline 3 is appropriate when structured fields carry the full parameter burden.

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 states a specific verb and resource: 'Update a device group in LibreNMS.' It is clear what the tool does. However, it does not explicitly distinguish itself from siblings like devicegroup_add or devicegroup_delete, so it falls short of a 5.

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?

The description offers no guidance on when to use this tool versus alternatives. It does not mention conditions for updating an existing group, prerequisites, or that devicegroup_add should be used for new groups. Usage is only implied by the name.

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