Skip to main content
Glama
gxxHuang
by gxxHuang

Get Traffic Audit By User

get_traffic_audit_by_user
Read-only

Audit terminal traffic by user account to identify per-account bandwidth usage and support network monitoring or troubleshooting.

Instructions

按账号审计终端流量(同上,走 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.7/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read. The description adds only that it audits by account and routes through an internal function name, disclosing nothing about time range, scope, or what constitutes the audit. It contributes almost nothing 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.

Conciseness3/5

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

It is short, but the brevity reflects under-specification rather than tight structure. The dangling 'same as above' reference is unparseable in a standalone definition and should not have survived.

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 explained, but a traffic-audit tool with no parameters leaves the account scoping, time window, and result granularity entirely undefined while the description offers no compensation.

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?

The tool takes zero parameters, so the baseline is 4. There are no parameters for the description to clarify, and it sensibly does not attempt to.

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 description states 'audit terminal traffic by account,' giving a recognizable verb+resource, and the sibling get_traffic_audit_by_mac implies the by-account vs by-mac split. However, it never explicitly contrasts the two, and the parenthetical 'same as above, goes through audit_terminal_stat' is an internal backend reference with no antecedent that adds noise rather than precision.

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 when-to-use, prerequisites, or exclusions are given. The phrase 'same as above' points to context an agent does not have, so there is effectively no routing guidance between this and get_traffic_audit_by_mac or get_terminal_log.

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