Skip to main content
Glama

PacketFabric

pf_get_traffic

Read-only

Traffic rate time series for a port (or one VC on a port).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNobps
sinceNoRelative start, e.g. '24 hours ago', '7 days ago'.24 hours ago
untilNonow
intervalNoBucket size in seconds, e.g. 300, 3600.
vc_circuit_idNoIf given, traffic for this VC on that port instead of the whole port.
port_circuit_idYesPort circuit id, e.g. PF-AP-LAX1-1234.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds essentially nothing beyond the name: no mention of data freshness, rate limits, pagination, or what happens when the VC is not on the port. With annotations carrying the main burden, this leaves the description thin.

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?

A single short sentence that front-loads the resource and its scope; nothing is wasted. It is arguably terse to the point of under-specification, but there is no filler.

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?

An output schema exists, so return values need not be explained, and the schema documents most parameters. However, for a 6-parameter tool there is no guidance on defaults (e.g., '24 hours ago', 'now') or on choosing this tool over sibling port tools, leaving a real gap.

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 67%, with since, interval, vc_circuit_id and port_circuit_id documented inline. The description restates the port-vs-VC distinction that the schema already explains and adds nothing about type or until. Baseline 3 is appropriate when the schema does most of the work.

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?

The description names a specific verb+resource: a traffic rate time series for a port, with an optional VC scope. It is clearly distinct from siblings like pf_get_port or pf_list_ports, though it does not name those siblings explicitly to sharpen the distinction.

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 statement of when to use this tool versus alternatives (pf_get_port, pf_list_ports), nor any prerequisites or exclusions. The parenthetical about VC scope is the only usage hint, and it is applied implicitly rather than as guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources