Skip to main content
Glama

Traffic By Path

traffic_by_path

Summarize request traffic for a single path, aggregating log counts by time window and top values to profile endpoint usage.

Instructions

Aggregated traffic summary (see search_logs) scoped to a single request path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
top_nNo
windowNo-1h
accountNo
path_fieldNo
sample_sizeNo
bucket_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Aggregated traffic summary' implies a read-only aggregation, but nothing is said about return shape, pagination, cost, or the time window semantics implied by the parameters. For a 7-parameter analytics tool, this is 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 front-loaded sentence with no filler and an efficient parenthetical cross-reference. It is well-structured, though its brevity here reflects under-specification rather than disciplined editing.

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?

With 7 undocumented parameters, no annotations, and no output schema, the description is far too sparse to let an agent call this correctly. The window, bucket_count, and top_n semantics are essential for a traffic aggregation and are entirely absent.

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

Parameters1/5

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

Schema description coverage is 0% across 7 parameters, and the description compensates only by naming 'path' implicitly via 'single request path'. Nothing explains top_n, window, bucket_count, sample_size, account, or path_field, so an agent must guess at their meaning and units.

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 output (aggregated traffic summary) and scope (single request path), which distinguishes it from traffic_by_ip and traffic_by_host. However, it does not clarify how it differs from the sibling group_by_path, leaving one likely-overlapping alternative undifferentiated.

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?

The only guidance is a parenthetical pointer to search_logs, which names a related tool but does not state when this tool should be chosen over traffic_by_ip, traffic_by_host, or group_by_path. No conditions, prerequisites, or exclusions are given.

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