Skip to main content
Glama
AIops-tools

io.github.AIops-tools/network-aiops

get_interfaces_ip

Read-only

Retrieve IPv4 and IPv6 addresses and prefix lengths per interface on a network device. Use it to inspect device IP configuration.

Instructions

[READ] Per-interface IPv4/IPv6 addresses and prefix lengths.

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?

Annotations already declare readOnlyHint=true, and the description's '[READ]' marker merely restates that, so no credit there. What it does add is that results are per-interface and cover both IPv4 and IPv6 with prefix lengths, which is genuine behavioral context. It says nothing about pagination, device reachability failures, or whether a missing target means all devices, leaving real gaps for a tool with only annotation coverage of safety.

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?

Two short lines, front-loaded with the scope marker and the return content before the Args block. Every element is short and readable, though the '[READ]' prefix is redundant with the annotation and the Args section is formatted for a docstring rather than for agent parsing.

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?

No output schema exists, so the description should characterize the return value; it does so only in one clause ('per-interface IPv4/IPv6 addresses and prefix lengths') without indicating the shape (interface-keyed mapping) or empty/missing-device behavior. For a single-parameter read tool this is adequate but marginal.

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 burden, and it does partly by defining target as 'Device name from config'. However, it does not explain that target is optional with a null default, nor what behavior results when it is omitted (all devices vs error), which is the most important ambiguity for this single parameter.

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 a specific resource (per-interface IPv4/IPv6 addresses and prefix lengths) and the implied retrieval verb, so an agent can distinguish it from the plain get_interfaces sibling by the IP/prefix payoff. It stops short of explicitly naming or contrasting with get_interfaces, so the differentiation is inferred rather than stated.

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 '[READ]' tag hints at a safe read context, but there is no statement of when to call this versus get_interfaces, get_interfaces_counters, or device_facts. No prerequisites, no exclusions, no alternatives — usage is left entirely to inference from the name.

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