Skip to main content
Glama
AIops-tools

io.github.AIops-tools/network-aiops

interface_health_rca

Read-only

Analyze network interface status and counters to flag admin-up/oper-down, erroring, discarding, or flapping ports, reporting measured findings with causes and actions.

Instructions

[READ] Flag admin-up/oper-down, erroring, discarding, or flapping interfaces.

Pulls get_interfaces + get_interfaces_counters and reports worst-first findings — each citing the measured number (error/discard count, last-flap seconds) that tripped it, with a cause and a concrete action.

Args: target: Device name from config; omit to use the default device.

Input Schema

NameRequiredDescriptionDefault
targetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, but the description adds real behavioral detail: it names the two upstream calls it makes, describes the output ordering (worst-first), and states each finding cites the measured number with a cause and concrete action. That is meaningful disclosure about what the tool does and returns 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the [READ] tag and a one-line purpose, then the mechanism, then the single arg. Every sentence earns its place with no filler.

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?

With no output schema, the description steps in by describing the report shape (worst-first findings, cited measurements, cause, action), so an agent knows what to expect. Still no mention of pagination or scoping limits, but for a single-param read diagnostic it is largely complete.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the parameter. It does: 'target: Device name from config; omit to use the default device' explains both the value source and the optional-default behavior, which the bare anyOf[string, null] schema does not convey.

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 verb 'Flag' and the resource 'interfaces' are specific, and the qualifying conditions (admin-up/oper-down, erroring, discarding, flapping) pin down exactly what it detects. It is clearly distinguishable from the sibling get_interfaces and get_interfaces_counters that it consumes as inputs.

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

Usage Guidelines3/5

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

By stating it 'pulls get_interfaces + get_interfaces_counters,' it implicitly positions itself as the diagnostic layer above those raw readers. However, it never explicitly says 'use this instead of get_interfaces_counters when you want interpreted findings,' so the when/when-not routing is left to inference.

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