Skip to main content
Glama

Summarise buffered client HTTP requests

lol_cdp_network_summary
Read-onlyIdempotent

Summarize captured HTTP requests by method and URL pattern with status breakdown, total bytes, and median duration to analyze polling traffic, top endpoints, and failure rates.

Instructions

Aggregate and summarize captured HTTP requests by method and endpoint URL pattern with status breakdown, total byte volume, and median duration. Use this tool to analyze high-volume client polling traffic, discover top endpoints, or spot systemic failure rates over time without reading raw request logs. For individual request inspection with timestamps, use lol_cdp_network_tail instead. Behavior: Safe and read-only; summarizes in-memory buffer without consuming or altering stream cursors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoLower timestamp bound in epoch milliseconds; excludes older requests
untilNoUpper timestamp bound in epoch milliseconds; excludes newer requests
methodNoHTTP method filter matching verbs case-insensitively, e.g. "GET" or "POST"
urlContainsNoCase-insensitive substring filter matching request URLs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds non-obvious value beyond them: it summarizes an in-memory buffer and does not consume or alter stream cursors, which matters given the sibling stream/polling tools. It stops short of describing buffer limits or how long data is retained.

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?

Three sentences, front-loaded with purpose, then usage/routing, then behavior. Every sentence carries distinct load and none repeats the structured fields verbatim.

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?

With no output schema, the description compensates by enumerating what the summary returns (status breakdown, total byte volume, median duration). Combined with the read-only/non-consuming behavior note and explicit sibling routing, an agent has everything needed to invoke it correctly.

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 100%, so the schema already documents since/until/method/urlContains in detail. The description mentions the filtering concepts in prose but adds no syntax, format, or default behavior beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource ('Aggregate and summarize captured HTTP requests') plus the exact aggregation dimensions (method, endpoint URL pattern, status breakdown, bytes, median duration). It also distinguishes itself from lol_cdp_network_tail by scope, so an agent can separate the two without opening schemas.

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?

Explicitly names the use cases (high-volume polling traffic, top endpoints, systemic failure rates) and names the alternative tool (lol_cdp_network_tail) with the condition that selects it (individual request inspection with timestamps). Nothing is left to inference.

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