Skip to main content
Glama

device_add

Destructive

Add a new device to LibreNMS network monitoring by providing hostname and SNMP credentials.

Instructions

Add a new device to LibreNMS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesDevice add payload. Required and optional fields: - hostname (required): Device hostname or IP - version (optional): SNMP version (v1, v2c, v3). Default: v2c - community (required for v1/v2c): SNMP community string - authlevel (required for v3): noAuthNoPriv, authNoPriv, authPriv - authname (required for v3): SNMPv3 username - authpass (required for v3 with auth): Authentication password - authalgo (optional): MD5 or SHA - cryptopass (required for authPriv): Privacy password - cryptoalgo (optional): AES or DES - port (optional): SNMP port (default: 161) - transport (optional): udp or tcp - poller_group (optional): Poller group ID - force_add (optional): Skip ICMP/SNMP checks (true/false) - ping_fallback (optional): Add as ping-only if SNMP fails

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Annotations already indicate destructiveHint=true, and the description states 'Add a new device', which aligns. However, the description does not elaborate on side effects (e.g., network discovery, SNMP checks) or post-creation behavior beyond the annotation.

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, clear sentence. It is concise and to the point, but could benefit from slightly more context without becoming verbose.

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

Completeness2/5

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

Given the complexity of the payload with many optional fields and dependencies (e.g., community required for v1/v2c, auth parameters for v3), the description lacks an overview of required vs optional fields and dependencies. The schema covers these, but a summary would improve completeness.

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?

The schema coverage is 100%, with all parameter details provided in the schema's description. The tool description adds no additional parameter information, so a baseline score of 3 is appropriate.

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 'Add a new device to LibreNMS' clearly specifies the action (Add), the resource (device), and the context (LibreNMS). It effectively distinguishes this tool from sibling tools like device_delete or device_get.

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 guidance is provided on when to use this tool versus alternatives. The description does not mention prerequisites, conditions, or scenarios where other tools (e.g., device_update) would be more appropriate.

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/mhajder/librenms-mcp'

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