Skip to main content
Glama

traffic

Reads current session and monthly data usage counters from Huawei HiLink CPE routers for read-only usage monitoring.

Instructions

Read-only: current session and monthly traffic counters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "traffic"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description does the most important work by declaring 'Read-only', which confirms the call is non-mutating. It says nothing further about freshness, whether the monthly counter resets, units of measurement, or the cost of polling, so the behavioral picture is only partially covered.

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?

A single short sentence with the safety trait front-loaded and no filler. Every element ('read-only', 'current session', 'monthly') carries distinct meaning.

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 zero-parameter read tool this is close to adequate, but with no output schema the description should say what a 'traffic counter' actually contains (bytes/units, direction, or reset semantics). The agent knows what it will get in broad terms, not what shape the values take.

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, and the description correctly implies no input is required. Baseline 4 applies for a parameterless tool; nothing in the description conflicts with the empty schema.

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?

Names a concrete resource (traffic counters) and narrows the scope to two specific sets: current session and monthly. An agent can tell it apart from siblings like signal or telemetry by the 'traffic counters' wording, though the description never explicitly contrasts with them.

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 and no reference to alternatives such as telemetry or signal, which could plausibly overlap with usage stats. The 'Read-only:' prefix implies it is a safe polling call, but nothing states when it should be preferred over other status tools.

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