Skip to main content
Glama
gxxHuang
by gxxHuang

Get Traffic Audit By Mac

get_traffic_audit_by_mac
Read-only

Retrieves traffic audit data for a specific device by MAC address. Enables monitoring of network usage and detection of anomalies.

Instructions

按 MAC 审计终端流量

实测:设备没有 audit_terminal_stat_mac(返回 1003), 统一入口是 audit_terminal_stat。

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description does add real behavioral context beyond the annotations: an error code (1003) observed in testing and the existence of a unified entry point. This is genuinely useful, but it is stated cryptically and without explaining what the agent should do when the tool fails.

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, front-loaded lines with no padding; the primary purpose is stated first and the caveat second. The inline markdown code fences are slightly noisy but do not waste reader attention.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be described, and the parameter surface is empty. But for a tool whose own description says it may not exist on the device, the definition never resolves the ambiguity, never says what to do on failure, and never explains the missing MAC input.

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?

With zero parameters the baseline is 4, but the tool name and description promise an audit 'by MAC' while the schema accepts no MAC identifier and sets additionalProperties=false. The description never explains how the MAC target is supplied or why the parameter is absent, which is a meaningful gap rather than a benefit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first line states a specific verb+resource (audit terminal traffic, scoped by MAC), which distinguishes it from the sibling get_traffic_audit_by_user. However, the second half of the description immediately undercuts the tool's purpose by asserting the device lacks `audit_terminal_stat_mac` and that the real entry point is `audit_terminal_stat`, leaving the agent unsure whether this tool actually works.

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?

It does gesture at an alternative ('unified entry is audit_terminal_stat'), which is more than nothing, but that alternative is not among the sibling tools, so the guidance is not actionable. There is no clear statement of when this tool should be used versus when it should be avoided.

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

Deploy Server

Other Tools