Skip to main content
Glama

get_protocol_statistics

Read-onlyIdempotent

Retrieve protocol hierarchy statistics from a PCAP or PCAPNG file to analyze network traffic distribution across protocols.

Instructions

Get protocol hierarchy statistics from a PCAP file.

Args: filepath: Path to PCAP/PCAPNG file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYes
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so description adds no behavioral context beyond stating it's read-only. Does not discuss file path validation, error handling, or output characteristics.

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?

Extremely concise: two sentences, no fluff. Purpose and parameter description are front-loaded and clear.

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?

Given no output schema and a single parameter, description should explain what protocol hierarchy statistics include (e.g., packet counts, protocols). Lacks completeness for an analysis tool among 40+ siblings.

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?

With 0% schema description coverage, description merely restates parameter name and type from schema ('Path to PCAP/PCAPNG file'). Adds no semantic meaning like accepted formats, file size limits, or examples.

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?

Description clearly states verb (get), resource (protocol hierarchy statistics), and source (PCAP file). Distinguishes from siblings like get_conversation_stats or get_io_statistics.

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?

No guidance on when to use this tool versus alternatives like analyze_pcap_file or detect_network_protocols. No context on prerequisites or typical use cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cortexc0de/netmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server