Skip to main content
Glama

fritz_traffic

Read-only

Measure WAN traffic per direction—current and peak rates, line maximum, utilization, byte and packet totals, and optional averaged samples over up to 10 seconds.

Instructions

Measures the WAN traffic per direction: current and peak rate and line maximum in bit/s, utilization in percent, byte and packet totals, and upstream by priority and multicast where the device reports them. Without sample_seconds it reads once. With it, it reads twice that many seconds apart (at most 10; the call waits that long) and adds sample with the averages in between. supported is false on devices without these counters. For the counters of each LAN interface use fritz_interfaces.

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": "fritz_traffic"
  }
}

Input Schema

NameRequiredDescriptionDefault
sample_secondsNoRead twice this many seconds apart, at most 10, and add `sample` with the averages of the byte counters in between.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the non-obvious cost of the sampling mode ('at most 10; the call waits that long'), which tells the agent the call blocks for up to ten seconds. It also discloses capability degradation ('`supported` is false on devices without these counters') and a structural side effect ('adds `sample` with the averages in between'), so the agent knows the response shape changes conditionally. Nothing here contradicts the annotations.

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 front-loaded with purpose and return fields, then moves to the optional sampling mode, then to the capability caveat, then to the sibling redirect. Each sentence carries distinct information, and no phrase merely restates the tool name or annotations.

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

Completeness5/5

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

There is no output schema, and the description compensates by enumerating the returned metrics and the conditional `sample` object, plus the `supported` flag semantics for devices lacking counters. For a single-optional-parameter read tool with annotations already declaring its safety profile, nothing needed to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds value the schema alone does not: it explains that the parameter causes two reads N seconds apart and that a `sample` object with averages is appended to the result. That links the parameter to its output consequence rather than just restating its type and bounds.

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 opens with a specific verb and resource ('Measures the WAN traffic per direction') and then enumerates the exact metrics returned: current and peak rate, line maximum in bit/s, utilization percent, byte and packet totals, upstream by priority, and multicast. It explicitly distinguishes itself from the sibling that covers a different scope ('For the counters of each LAN interface use fritz_interfaces'), so an agent can route between the two without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states both modes of use precisely: 'Without `sample_seconds` it reads once. With it, it reads twice that many seconds apart.' It also names the alternative tool and the condition that selects it (per-LAN-interface counters → fritz_interfaces). Both when-to-use and when-to-use-something-else are covered.

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