Skip to main content
Glama
WLAN-Pi
by WLAN-Pi

get_interface_link_stats

Get speed, duplex, errors, and drops for a network interface via ethtool to assess link quality and troubleshoot connectivity.

Instructions

Get per-interface link statistics (via ethtool): speed, duplex, errors, drops.

Args: interface: Interface name (e.g. 'eth0')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
interfaceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing behavior. It does not explicitly state that the operation is read-only, require special permissions, or describe error behavior for invalid interfaces. The reference to ethtool hints at a system command but no concrete behavioral traits are disclosed.

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 extremely concise: one leading sentence states the purpose and expected output, followed by a one-line argument explanation. No redundant wording or extraneous information is present.

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 one-parameter read-only tool with an output schema, the description covers the core purpose and parameter adequately. However, it omits any error or edge-case context (e.g., invalid interface handling) and does not mention the output format, though an output schema exists. Overall, it is sufficient for a basic retrieval tool.

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?

The schema provides only the parameter name 'interface' with no description (0% coverage). The description adds a helpful example ('eth0') and clarifies it is an interface name, but it does not specify constraints, format beyond an example, or behavior for nonexistent interfaces. This partially compensates for the schema gap.

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 tool gets per-interface link statistics via ethtool, listing specific metrics (speed, duplex, errors, drops). This verb-resource combination distinguishes it from siblings like get_hotspot_link_stats and get_network_interfaces.

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 is provided about when to use this tool versus alternatives. There is no mention of preferred conditions, exclusions, or related tools such as get_hotspot_link_stats for wireless links, leaving the agent to infer usage from the name alone.

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