Skip to main content
Glama
mcpcap

mcpacket

by mcpcap

analyze_icmp_packets

Analyze ICMP packets from local or remote PCAP files to inspect network traffic, diagnose connectivity issues, and support security investigations.

Instructions

Analyze ICMP packets from a PCAP file and return comprehensive analysis results.

FILE UPLOAD LIMITATION: This MCP tool cannot process files uploaded through Claude's web interface. Files must be accessible via URL or local file path.

SUPPORTED INPUT FORMATS:

UNSUPPORTED:

  • Files uploaded through Claude's file upload feature

  • Base64 file content

  • Relative file paths

Args: pcap_file: HTTP URL or absolute local file path to PCAP file

Returns: A structured dictionary containing ICMP packet analysis results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pcap_fileYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changedv1.0.0
    • removedInput schema / properties / pcap_file / title
      Removed value: -"Pcap File"
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations, so the description carries the full burden. It clearly discloses a critical operational limitation (no web-upload files, no base64, no relative paths) that materially affects invocation. It doesn't discuss auth, rate limits, or reversibility, but the key behavioral constraint is surfaced.

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?

Front-loaded with the core purpose, then organized into clearly labeled sections (limitation, supported, unsupported). It is slightly longer than needed and the 'Returns' section is redundant given the output schema, but every other line earns its place.

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?

For a single-parameter tool with an output schema already describing return values, the description covers the purpose, the exact accepted value forms, and the hard limitation that would otherwise cause silent failures. An agent has everything needed to call it correctly.

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 coverage is 0%, so the description must compensate. It does so by fully specifying the parameter: HTTP URL or absolute local file path, with explicit examples of each and a list of unsupported forms. Only the single parameter exists, so this is nearly complete.

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?

Specific verb (Analyze) and resource (ICMP packets from a PCAP file), clearly distinguishable from siblings like analyze_dns_packets or analyze_tcp_connections. The scope is narrow and precise.

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?

Provides strong input-format guidance (what's supported vs unsupported) but never states when to choose this tool over the many sibling analyzers. An agent can infer the protocol-specific scope from the name, but the description doesn't reinforce it.

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