Skip to main content
Glama

inventory_device

Read-onlyIdempotent

Retrieves inventory data for a device from LibreNMS, with optional filters by physical class or parent entity.

Instructions

Get inventory for a device from LibreNMS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostnameYesDevice hostname or ID
ent_physical_classNoFilter by entity physical class (e.g., chassis, module, port, powerSupply, fan, sensor)
ent_physical_contained_inNoFilter by parent entity index

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the tool is clearly safe. The description aligns with these annotations but does not add additional behavioral context (e.g., returns hierarchical inventory). No contradictions.

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?

Single sentence front-loading the verb and resource. No filler words; efficient and direct.

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?

While the tool has an output schema and simple parameters, the description lacks guidance on the hierarchical vs flat inventory distinction compared to the sibling. For a tool with a sibling and multiple parameters, a bit more context would be beneficial.

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?

Input schema covers all parameters with descriptions (100% coverage). The description adds no extra meaning beyond what is already in the schema, achieving the baseline.

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?

Description clearly states 'Get inventory for a device from LibreNMS.' It specifies the action (Get), resource (inventory), and source (LibreNMS). However, it does not differentiate from the sibling tool 'inventory_device_flat', which likely provides a flat representation, missing a chance to clarify the hierarchical nature.

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 on when to use this tool versus alternatives like inventory_device_flat. The description does not mention any prerequisites or 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/mhajder/librenms-mcp'

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