Skip to main content
Glama

capture_live

Capture live packets from a network interface, applying optional filters, count, and duration limits, to obtain a summary for real-time traffic analysis.

Instructions

Capture live packets from a network interface.

Args: interface: Network interface name (use list_interfaces to find names) packet_count: Number of packets to capture (default: 50, max: 500) display_filter: Optional display filter to apply duration: Maximum capture duration in seconds (default: 10, max: 60)

Returns: Captured packet summary

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
durationNo
interfaceYes
packet_countNo
display_filterNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It lists defaults and max values but does not disclose whether the capture stops at packet_count, duration, or whichever comes first, nor does it mention permission requirements, blocking behavior, or error handling. The 'Returns' line only says 'Captured packet summary' without detailing its contents.

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 and well-structured: a single-purpose opening line, a clearly labeled Args block, and a Returns section. Every sentence provides necessary detail with no redundancy or fluff, making it easy for an agent to parse quickly.

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?

While an output schema exists, the description misses several contextual elements for a network capture tool: when to choose this over capture_and_decrypt, the capture termination logic (packet count vs. duration), and any system-level prerequisites (e.g., admin rights). The parameter details are solid but the body of behavioral and usage context is insufficient for full confidence.

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?

The schema has 0% description coverage, so the description compensates by explaining each argument: interface is named and points to list_interfaces, packet_count has default and max, display_filter is described as optional, and duration has default and max. This adds meaningful context beyond the bare schema titles and defaults.

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 opens with a specific and clear statement: 'Capture live packets from a network interface.' This pinpoints the exact resource (network interface) and distinguishes it from offline analysis tools like analyze_pcap_file. The verb 'capture' is precise and action-oriented.

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 gives one practical hint: 'use list_interfaces to find names' for the interface parameter. However, it does not explicitly state when to use capture_live versus siblings like capture_and_decrypt or analyze_pcap_file, nor does it mention any exclusions or prerequisites beyond listing valid interfaces.

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/ouonet/tshark-mcp'

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