Skip to main content
Glama

wireshark_extract_smtp_emails

Extract SMTP email metadata including sender, recipient, subject, and server info from pcap files.

Instructions

[SMTP] Extract SMTP email metadata (sender, recipient, subject, mail server info).

Args: pcap_file: Path to capture file limit: Maximum emails to extract (default: 50)

Returns: SMTP email metadata or JSON error

Example: wireshark_extract_smtp_emails("email_traffic.pcap")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
pcap_fileYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It states the tool extracts metadata and returns JSON, but does not disclose side effects, permissions, or performance characteristics. It mentions 'JSON error' but no details.

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: a one-line summary, defined args/returns, and an example. No extraneous text; information is front-loaded.

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

Completeness4/5

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

Given the output schema exists, return details are unnecessary. The description covers the purpose and parameters adequately for a two-parameter tool. Additional info on error handling or file type support could improve completeness.

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%, but the description adds meaning: pcap_file is 'Path to capture file' and limit is 'Maximum emails to extract (default: 50)'. This goes beyond type-only schema, though format constraints (e.g., valid file path) are missing.

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 it extracts SMTP email metadata (sender, recipient, subject, mail server info). This distinguishes it from sibling extract tools like wireshark_extract_credentials or wireshark_extract_dns_queries by specifying the protocol.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides an example call but does not explicitly guide when to use this tool vs alternatives. It lacks 'when-not' conditions or prerequisites for effective use.

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