Skip to main content
Glama

wireshark_text2pcap_import

Import ASCII or hex dump files as pcap capture files for network packet analysis.

Instructions

Convert an ASCII or hex dump into a capture file using text2pcap.

Args: input_text_file: Source text or hexdump file output_file: Destination capture file encapsulation: Output link-layer encapsulation, default is ether timestamp_format: Optional strptime-compatible timestamp format ascii_mode: Enable ASCII dump detection when the input includes an ASCII column

Returns: Success message or JSON error

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ascii_modeNo
output_fileYes
encapsulationNoether
input_text_fileYes
timestamp_formatNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so the description carries full burden. It mentions conversion and returns (success or error) but omits side effects (e.g., file overwriting), required permissions, or limitations on input formats.

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?

Description is brief and front-loaded with the core purpose, followed by a parameter list and return info. Every sentence is necessary; no wasted words.

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?

Despite having 5 parameters and no annotations, the description does not fully explain return values (only 'success message or JSON error'), lacks output schema details, and does not cover edge cases or typical use scenarios.

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 coverage is 0%, so the description provides all parameter meaning. It explains each parameter (source file, destination, encapsulation, timestamp format, ASCII mode) with default values and usage hints, adding value beyond the schema titles.

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 'convert' and the specific resource 'ASCII or hex dump into a capture file using text2pcap', distinguishing it from sibling tools like capture, analysis, or editing tools.

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 explicit guidance on when to use this tool versus alternatives. It does not mention prerequisites, when not to use, or how it differs from other conversion or import tools.

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