Skip to main content
Glama
AIops-tools

io.github.AIops-tools/network-aiops

get_interfaces

Read-only

Retrieve interface details for a target network device, including up/down state, enabled flag, speed, and description. Supports read-only network operations across multi-vendor devices.

Instructions

[READ] Interfaces with up/down state, enabled flag, speed, and description.

Args: target: Device name from config.

Input Schema

NameRequiredDescriptionDefault
targetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already establishes this is a safe, non-mutating read, and the '[READ]' tag merely repeats that. The description does add value by naming the fields the agent will receive, which is useful given there is no output schema, but it discloses nothing about result size, filtering, or device reachability.

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?

One sentence of purpose plus a compact Args block; front-loaded and free of filler. The Google-style Args formatting is boilerplate-heavy for a single parameter but not wasteful.

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?

For a single-parameter read tool with no output schema and readOnly annotations, the description is adequate: it describes the returned fields in lieu of a schema. It falls short on the optional/null target semantics and on any indication of scope or result volume.

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 0%, so the description must carry the parameter burden and it does partially: 'Device name from config' clarifies that target is a config-defined device name. It does not explain the null/default behavior (the parameter is optional with default null) or what happens if the target is omitted.

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?

States the resource (interfaces) and enumerates the attributes returned (up/down state, enabled flag, speed, description), so an agent can distinguish it from get_interfaces_ip and get_interfaces_counters. The verb is only implied via the '[READ]' tag rather than stated, but the scope is clear.

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?

There is no when-to-use or when-not-to-use guidance and no reference to alternatives such as get_interfaces_ip or get_interfaces_counters for related data. The only prose is an argument glossary, leaving selection between the many sibling 'get_*' tools to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.