Skip to main content
Glama

Device Update

device_update
DestructiveIdempotent

Update LibreNMS device settings such as notes, location, poller group, and alerting status by specifying hostname and patchable fields.

Instructions

Update device fields in LibreNMS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesPatchable device fields: - notes: Device notes/comments - purpose: Device purpose description - override_sysLocation: true/false to override SNMP location - location_id: Location ID to assign - poller_group: Poller group ID - ignore: 0/1 to ignore device in alerts - disabled: 0/1 to disable polling - snmp_disable: 0/1 to disable SNMP polling - display: Custom display name - type: Device type classification
hostnameYesDevice hostname or ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the mutation and destructive potential are disclosed structurally. The description's 'Update' is consistent with those annotations but adds no additional behavioral context, such as consequences of setting disabled/ignore or patch semantics. This meets the minimum bar given annotations carry the safety profile.

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 description is a single front-loaded sentence with zero filler. It is concise, though slightly underspecified for a destructive update tool; this is a completeness issue rather than a conciseness failure.

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?

The rich input schema, output schema, and annotations cover most call mechanics, so the description does not need to explain return values or every field. However, it omits usage guidance, patch/replacement semantics, and explicit warnings about destructive effects, making it adequate but incomplete for a tool with this complexity.

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%, and the payload property already documents all patchable fields and their meanings. The description adds no parameter-level detail, so the baseline of 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?

The description states a clear verb and resource: 'Update device fields in LibreNMS.' It is not a tautology and conveys that this tool modifies device attributes. It does not explicitly differentiate from sibling tools like device_rename or device_set_maintenance, so it stops 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 provides no guidance on when to use this tool versus alternatives such as device_add, device_rename, or device_set_maintenance. There are no exclusions, prerequisites, or context clues about choosing this over sibling tools.

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