Skip to main content
Glama
labeveryday
by labeveryday

analyze_dns_traffic

Analyze DNS traffic from pcap files to identify top queried domains, failed queries (NXDOMAIN, SERVFAIL), and slow responses over 100ms.

Instructions

Analyze DNS queries and responses in a packet capture.

Use this tool to understand DNS activity including:

  • Most queried domains

  • Failed queries (NXDOMAIN, SERVFAIL)

  • Slow DNS responses (>100ms)

Args: file_path: Path to the pcap or pcapng file max_packets: Maximum packets to analyze (default: 100000)

Returns: DNS traffic analysis with top domains, failures, and slow queries

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
max_packetsNo
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses the non-destructive analytical nature and what outputs to expect (top domains, failures, slow queries). It does not mention file size limits or error handling, but is fairly transparent for a read-only analysis tool.

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 well-structured with clear sections (description, bullet points, Args, Returns). It is concise with no extraneous words, front-loading the purpose and key details.

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?

Given the moderate complexity (2 parameters, no output schema), the description adequately covers inputs, outputs, and what the tool does. It could mention potential file size limitations, but overall it is complete enough for the agent to understand and use the tool.

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?

The description adds no additional meaning beyond the schema: it simply repeats the parameter names and the default for max_packets. With 0% schema coverage, the description should compensate, but it fails to provide any new information about parameter constraints, formats, or usage nuances.

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 tool analyzes DNS queries and responses from a packet capture, listing specific outputs like top domains, failures, and slow queries, distinguishing it from sibling tools like dns_lookup which is likely a simple query tool.

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 provides examples of when to use the tool ('to understand DNS activity including...') but lacks explicit guidance on when not to use it or comparisons to siblings like filter_packets or find_tcp_issues. It is adequate but missing 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/labeveryday/network-mcp'

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