Skip to main content
Glama
AIops-tools

io.github.AIops-tools/network-aiops

get_mac_address_table

Read-only

Retrieve the MAC address table from a network device to see MAC addresses, interfaces, VLANs, and static/active flags. Specify the target device by name.

Instructions

[READ] MAC address table: MAC, interface, VLAN, static/active flags.

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 the safety profile, and the '[READ]' prefix largely restates it. The description does add value in the absence of an output schema by naming the returned fields (MAC, interface, VLAN, flags), but it says nothing about whether entries are scoped to one device or aggregated, how large the table can be, or how to interpret static vs active.

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?

Very short and front-loaded, with the read-only marker and returned fields in the first clause and the argument documented on its own line. No filler, though the 'Args:' block for a single parameter is slightly formulaic for the amount of content.

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 simple read-only getter with one optional parameter this is close to adequate, and the field list compensates for the missing output schema. The unresolved question of what an omitted target returns is the main shortfall.

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% for the single parameter, so the description is the only source: it identifies 'target' as a device name sourced from config, which is genuinely useful. It does not explain the null default, i.e. what happens when target is omitted, leaving a meaningful gap.

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 verb ([READ]) and resource (MAC address table) and enumerates the returned columns (MAC, interface, VLAN, static/active flags), so the agent immediately knows what it gets. It does not explicitly distinguish itself from the closely related get_arp_table or get_vlans siblings, which is the only thing keeping it from a 5.

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 guidance, no statement of prerequisites or which other tools to prefer. The only usage-adjacent line ('Device name from config') describes the parameter rather than the situation that calls for this tool.

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