Skip to main content
Glama

export_packets_json

Read-onlyIdempotent

Export network packets from PCAP files to structured JSON format using Wireshark display filters and packet limits.

Instructions

Export packets from a PCAP file as structured JSON.

Args: filepath: Path to PCAP/PCAPNG file display_filter: Wireshark display filter max_packets: Maximum packets to export

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYes
display_filterNo
max_packetsNo
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, covering the safety profile. The description adds minimal behavioral context (export from PCAP, not from other sources). It does not elaborate on limitations, side effects, or return behavior, but does not contradict annotations.

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?

The description is concise with a front-loaded summary and a structured Args section. Each sentence adds value, though the Args section essentially repeats schema information. Overall efficient for a tool with three parameters.

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 the complexity of exporting packets and the absence of an output schema, the description lacks details on the output format (JSON structure), limitations (e.g., file size, performance), and error handling. Annotations cover safety, but the description does not fully equip an agent to understand the tool's behavior and outputs.

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?

Schema description coverage is 0%, but the tool description provides brief yet clear explanations for each parameter (e.g., 'Path to PCAP/PCAPNG file', 'Wireshark display filter', 'Maximum packets to export'). This adds meaning beyond schema titles and types, though more detail (e.g., default behavior, format constraints) would improve completeness.

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?

The description clearly states the verb 'export', the resource 'packets from a PCAP file', and the output format 'structured JSON'. It distinguishes the tool from siblings like export_packets_csv by specifying the JSON output format.

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 explicit guidance on when to use this tool versus alternatives. It does not mention when not to use it, nor does it reference sibling tools like export_packets_csv or analyze_pcap_file. The usage is implied but not clarified.

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