Skip to main content
Glama

pcap_dns_analysis

Extract and analyze DNS queries from PCAP files to identify query patterns, DNS servers, and IPv6 endpoints for network forensics and security testing.

Instructions

Extract and analyze DNS queries from a PCAP. Returns dns_queries_by_frequency, dns_servers, and ipv6_dns_endpoints. Read-only file analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pcap_pathYesPath to the PCAP file
source_ipNoFilter DNS queries from a specific source IP
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: it's read-only (safe operation), performs file analysis (not live traffic), and returns three specific data structures. However, it doesn't mention potential limitations like file size constraints, processing time, or error conditions.

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 perfectly concise - two sentences that each earn their place. First sentence states purpose and outputs, second sentence adds crucial behavioral context. No wasted words, front-loaded with the core functionality.

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

Completeness4/5

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

For a read-only analysis tool with 2 parameters (100% schema coverage) and no output schema, the description provides good completeness. It covers purpose, outputs, and safety profile. The main gap is lack of output format details (structure of returned data), but given the tool's relative simplicity, this is a minor omission.

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 schema already documents both parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema (e.g., file format requirements for pcap_path, IP format for source_ip). Baseline score of 3 is appropriate when schema does the heavy lifting.

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 clearly states the specific action ('Extract and analyze DNS queries from a PCAP') and lists the exact outputs (dns_queries_by_frequency, dns_servers, ipv6_dns_endpoints). It distinguishes itself from sibling tools like 'pcap_detect_scan' or 'pcap_tls_analysis' by focusing exclusively on DNS analysis.

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 implies usage context through 'Read-only file analysis' and the tool's name suggests it's for DNS analysis within PCAP files. However, it doesn't explicitly state when to use this tool versus alternatives like 'recon_dns' or 'pcap_llmnr_ntlm', nor does it mention prerequisites or exclusions.

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/operantlabs/operant-mcp'

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