Skip to main content
Glama

wireshark_editcap_split

Split a packet capture file into smaller files by number of packets or elapsed time, enabling easier handling of large captures.

Instructions

Split a capture into multiple files using editcap.

Args: input_file: Source capture file output_prefix: Output filename prefix or base path packets_per_file: Split after this many packets per file seconds_per_file: Split after this many seconds per file

Returns: Success message or JSON error

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_fileYes
output_prefixYes
packets_per_fileNo
seconds_per_fileNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are present, so the description must bear the full burden of disclosing behavioral traits. It fails to mention side effects (e.g., creation of multiple files, overwrite behavior), required permissions, or error conditions beyond a generic 'success or error'. The description lacks sufficient operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but front-loaded with the main action. However, it sacrifices valuable details for brevity. A bit more context (e.g., the output format, splitting logic) would improve usefulness without making it verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that there is no output schema provided (but context says 'Has output schema: true', yet the schema is not shown), the description's mention of return values is minimal. The complexity of splitting files (potential for many outputs, naming convention) is not addressed. It is adequate but not thorough.

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?

The input schema has no parameter descriptions (coverage 0%). The description lists the arguments but adds no extra meaning beyond their names. For example, it does not clarify that `packets_per_file` and `seconds_per_file` default to 0 (which may imply a different splitting strategy) or that they are mutually exclusive.

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 that the tool splits a capture file into multiple files using editcap. The verb 'split' and resource 'capture' are specific. However, it does not differentiate from sibling editcap tools like deduplicate or time_shift, which also modify capture files.

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 is provided on when to use this tool versus alternatives like wireshark_editcap_trim or wireshark_editcap_deduplicate. The description does not explain the use case for splitting by packets versus seconds, nor does it mention prerequisites or limitations.

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/bx33661/Wireshark-MCP'

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