Skip to main content
Glama

capture_targeted_traffic

Capture network packets filtered by host IP, port, or protocol to analyze targeted traffic.

Instructions

Capture traffic targeted to specific host, port, or protocol.

Args: interface: Network interface name target_host: Filter by host IP (optional) target_port: Filter by port number (optional) protocol: Filter by protocol (tcp, udp, icmp, http) duration: Max capture duration in seconds packet_limit: Maximum packets to capture ctx: Optional MCP context for progress reporting

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
interfaceYes
target_hostNo
target_portNo
protocolNo
durationNo
packet_limitNo
Behavior2/5

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

Annotations indicate readOnlyHint=false (possible mutation) and destructiveHint=false but the description does not explain what side effects occur (e.g., where traffic is stored, if it's returned, or if it requires cleanup). The Args mention progress reporting but omit overall behavior and output format.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but includes a redundant Args paragraph that duplicates schema information. It could be streamlined while adding essential guidance. The first sentence is clear but not sufficiently informative.

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?

With 6 parameters, no output schema, and openWorldHint=true, the description should explain capture behavior, output, and how filters work. It falls short, providing minimal context for correct invocation, especially for an agent unfamiliar with network capture tools.

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

Parameters2/5

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

Schema coverage is 0%, so the description must explain parameters. It lists names and types but offers no syntax, constraints (e.g., IP format, port range), or how protocols are specified. The protocol list is mentioned in the Args but not as an enum in schema, causing ambiguity.

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?

The description states 'Capture traffic targeted to specific host, port, or protocol.' It clearly indicates the tool's action and the filtering criteria, distinguishing it from broader capture tools like capture_live_packets. However, it lacks explicit differentiation from siblings like quick_capture.

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?

No guidance is provided on when to use this tool vs alternatives such as capture_live_packets or analyze_http_traffic. There is no mention of prerequisites, limitations, or how filters interact, leaving the agent to guess.

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/cortexc0de/netmcp'

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