Skip to main content
Glama

extract_packet_details

Extract detailed information for a specific packet from a PCAP file by providing the file path and packet number for in-depth network analysis.

Instructions

Extract detailed information about a specific packet.

Args: file_path: Path to the PCAP file packet_number: The packet number to analyze (1-based)

Returns: Detailed packet information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
packet_numberYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It only reveals that packet_number is 1-based and fails to mention error handling, file type requirements, or what constitutes 'detailed packet information.' This is a significant gap for an extraction tool.

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?

The description is concise and well-structured with Args and Returns sections. Every sentence contributes value, and there is no fluff or repetition. It is appropriately sized for the tool's simplicity.

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?

Although an output schema exists, the description lacks contextual completeness. It does not explain how this tool fits among the many siblings, and the 'Returns: Detailed packet information' is vague and unhelpful for an agent trying to choose the right tool. The missing usage guidance is a significant omission.

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

Parameters4/5

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

The input schema has 0% description coverage, but the description compensates by providing plain-language meaning for both file_path ('Path to the PCAP file') and packet_number ('The packet number to analyze (1-based)'). This exceeds the baseline for low-coverage cases and adds useful context.

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 clearly states the action ('Extract') and resource ('detailed information about a specific packet'), which distinguishes it from sibling tools that operate on aggregates or whole files. However, it does not explicitly name any alternative tools, so it misses the highest level of differentiation.

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 description provides no guidance on when to use this tool versus alternatives like extract_fields, analyze_pcap_file, or get_packet_statistics. It does not mention any exclusions or conditions, leaving the agent without direction for tool selection.

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/ouonet/tshark-mcp'

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