Skip to main content
Glama
Mohamedaslam227

WiFi PCAP Analyzer MCP

reload_capture

Reload a loaded capture when its source file changes, refreshing metadata and revision without rescanning packets. Optionally clear stored decryption keys during the reload.

Instructions

Refresh a loaded capture after its source file changes.

The tool verifies the original file again, updates its path, size, modification time, and load time, and increments the capture revision. It does not scan packets during the reload.

Args: capture_id: ID of a currently loaded capture. clear_decryption_keys: When true, remove all keys stored for this capture. The default preserves them.

Returns: Refreshed metadata, new revision number, and a reloaded flag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capture_idYes
clear_decryption_keysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well: it discloses that the tool verifies the file, updates path/size/mtime/load time, increments revision, and notably does not scan packets. This gives an agent a realistic picture of side effects and scope.

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 efficiently structured with a purpose statement, a behavior paragraph, Args, and Returns. Every sentence adds value, and the key trigger condition is front-loaded.

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

Completeness5/5

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

The description covers purpose, side effects, parameter semantics, and return value nature. With only two simple parameters and an output schema present, nothing essential is missing for an agent to invoke this tool correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate. It does fully: capture_id is defined as a currently loaded capture, and clear_decryption_keys is explained with its behavior and default. No parameter is left ambiguous.

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 uses a specific verb ('Refresh') with a clear resource ('a loaded capture') and a precise trigger condition ('after its source file changes'). This clearly distinguishes it from loading, listing, or unloading captures.

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 description states clearly when to use it: after the source file changes while the capture is loaded. It does not explicitly name alternative tools or when-not-to-use it, but the context is clear enough to avoid confusion with load_capture or list_loaded_captures.

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