Skip to main content
Glama

pentest_ctf_pcap

Analyze PCAP files with tshark to summarize traffic, list endpoints, inspect HTTP, or follow the first TCP stream for CTF and pentest investigations.

Instructions

PCAP analysis via tshark: summary, endpoints, http, or follow first TCP stream.

Input Schema

NameRequiredDescriptionDefault
modeNosummary
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description still discloses two useful behavioral facts beyond the schema: the analysis is delegated to tshark (implying a local-file, read-only parse and an external dependency), and the stream-following mode is limited to the FIRST TCP stream rather than an arbitrary selectable one. It does not state output format, size/runtime limits, or failure modes for malformed paths.

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?

A single front-loaded fragment with zero filler; the engine and capability list come first. Slight cost: the comma-separated mode list is not labeled as such, so it reads as a capability list rather than an explicit enumeration of the 'mode' parameter's accepted values.

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?

For a two-parameter analysis tool with no output schema, the definition covers the core intent and effectively documents the undocumented mode parameter. It stops short of describing the shape of returned results, which matters here since there is no output schema and four distinct modes produce very different output.

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% and 'mode' has no enum, but the description compensates by enumerating the valid mode concepts (summary, endpoints, http, follow first TCP stream). The word 'PCAP' likewise clarifies that 'path' refers to a capture file on disk, adding meaning the bare string schema does not convey.

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?

States a specific verb and resource ('PCAP analysis via tshark') and enumerates the four analysis capabilities it supports, so an agent knows exactly what the tool analyzes and with what engine. It does not differentiate from siblings, though no sibling in the list covers PCAP traffic, so ambiguity risk is low.

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?

Lists available modes but gives no guidance on when to choose which mode, nor any exclusions or prerequisites (e.g., use before pentest_ctf_strings when the artifact is a capture rather than a binary). The agent must infer that 'summary' is the default triage step and the others are follow-ups.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools