Skip to main content
Glama
AIops-tools

io.github.AIops-tools/network-aiops

netbox_device_interfaces

List a NetBox device's interfaces to compare with live state and detect configuration drift. Returns interface details such as name, type, enabled status, and description.

Instructions

[READ] List a NetBox device's interfaces (name, type, enabled, description).

The intended interface inventory from source-of-truth — compare against live device state (get_interfaces) to spot drift.

Returns {"interfaces": [...], "returned": N, "limit": L, "truncated": bool}. Do NOT report drift from a truncated list — re-run with a higher limit.

Args: device: Exact NetBox device name (see netbox_list_devices). limit: Maximum interfaces to return (default 100).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
deviceYes
Behavior4/5

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

With no annotations provided, the description carries full burden. It declares read-only intent with '[READ]', describes the return format (including 'truncated' bool), and explains truncation behavior. This is thorough, though it doesn't cover authentication or error scenarios.

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 well-structured with a summary line, usage context, return format, caveat, and parameter explanations. Every sentence adds value without redundancy.

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?

For a simple list tool with no output schema, the description covers the return format and truncation behavior. It could mention sorting or pagination beyond limit, but overall it's sufficiently complete for its complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It clearly explains both parameters: device as exact name with a reference to netbox_list_devices, and limit with default value and purpose. This adds significant meaning beyond the minimal schema.

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 clearly states the verb (List), resource (NetBox device's interfaces), and key fields (name, type, enabled, description). It distinguishes itself from the sibling get_interfaces tool by noting this is the source-of-truth inventory for drift detection.

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

Usage Guidelines5/5

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

It explicitly instructs to compare against get_interfaces to spot drift, warns against reporting drift from a truncated list, and suggests re-running with a higher limit. It also specifies that the device parameter requires an exact name from netbox_list_devices.

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/AIops-tools/Network-AIops'

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