Skip to main content
Glama

auto_webshell

Enumerate HTTP streams, detect webshell tool family, extract or guess keys, decrypt payloads, and extract loot from a PCAP or session in one automated analysis.

Instructions

One-shot webshell analysis: enumerate HTTP streams, detect tool family, extract/guess key, decrypt, and extract loot to workdir/loot. Accepts session_id or pcap_path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loot_dirNoDirectory to save extracted loot (default: workdir/loot)
pcap_pathNoOptional PCAP path (absolute or relative to workdir)
session_idNoOptional session ID of loaded PCAP
max_packetsNoMaximum number of packets to process (when pcap_path is used)
max_streamsNoMaximum number of HTTP-related TCP streams to try
min_confidenceNoMinimum confidence threshold to report
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the main actions and the output location ('extract loot to workdir/loot'), which implies filesystem writes. However, it does not mention whether it modifies PCAP state, what happens if neither session_id nor pcap_path is provided, or failure behavior. Some key behavioral traits are guessable but not explicit.

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 a single, information-dense sentence that front-loads the tool's purpose ('One-shot webshell analysis') and lists the steps in logical order. No filler or redundant wording.

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?

This is a complex multi-step pipeline with 6 optional parameters, no output schema, and no annotations. The one-sentence description omits what the tool returns, how results are presented, and how it handles edge cases like both session_id and pcap_path being provided. The description is insufficient for an agent to confidently invoke this tool in varied contexts.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds the relationship 'Accepts session_id or pcap_path', which clarifies the input requirement, but it does not add meaning for the other parameters (loot_dir, max_packets, max_streams, min_confidence) beyond what the schema already describes. Minimal added value.

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 explicitly names the tool as 'One-shot webshell analysis' and lists the full pipeline: enumerate HTTP streams, detect tool family, extract/guess key, decrypt, and extract loot. This clearly differentiates it from sibling tools like detect_webshell, extract_webshell_key, and decrypt_webshell, which handle individual steps.

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

Usage Guidelines4/5

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

The 'one-shot' phrasing and the enumerated steps give clear context that this tool is the all-in-one alternative to running separate sibling tools. It also states it accepts 'session_id or pcap_path', implying when input sources are available. However, it does not explicitly state when not to use it or mention alternative tools by name.

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/Gentle-bae/mcp-wireshark'

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