Skip to main content
Glama

traffic_overview

Get a one-call traffic snapshot for an HTTP load balancer, including request totals, rates, top response codes, source IPs, paths, hosts, countries, ASNs, and methods.

Instructions

One-call picture of traffic: total, requests/min, and top response codes, source IPs, paths, hosts, countries, ASNs and methods.

lb: HTTP load balancer name (builds the vh_name selector), or pass a raw label-selector query. Start here for "what is happening on ?".

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_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
lbNo
topkNo
queryNo
minutesNo
end_timeNo
namespaceNo
start_timeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load: it conveys that everything is returned in one call (no pagination/chaining) and what dimensions come back. It says nothing about read-only vs mutating semantics, permission or auth requirements, query cost, or how the time window behaves when unspecified.

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 paragraphs, front-loaded with the payload description and followed by the lb/query routing hint. Nothing is padded, though the inline schema-style gloss for lb is slightly awkward to parse.

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?

The tool is a 7-parameter, all-optional analytics call with no annotations and 0% schema coverage. Missing time-window semantics (what minutes/start_time/end_time default to and how they interact) and the meaning of namespace are real gaps an agent needs before calling it correctly; the output schema covers the return side, so that omission is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 7 parameters. The description adds genuine meaning only for lb and query, explaining that lb builds the vh_name selector and that query is a raw label-selector alternative. It is silent on topk, minutes, start_time, end_time, and namespace, leaving most of the schema undocumented in both places.

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 the resource (traffic) and enumerates exactly what the overview contains: totals, requests/min, top response codes, IPs, paths, hosts, countries, ASNs, methods. That is far more specific than the tool name alone. It stops short of differentiating itself from analogous siblings such as lb_summary or access_log_aggregate.

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

Usage Guidelines4/5

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

"Start here for 'what is happening on <lb>?'" gives a clear entry-point rule and implicitly positions this as the first call before drilling into log search or aggregation tools. It offers no explicit when-not condition or named alternative, so it falls short of a 5.

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