Skip to main content
Glama

analyze_dns_traffic

Read-onlyIdempotent

Extract DNS query names, types, and response codes from PCAP files to detect suspicious patterns and DNS tunneling.

Instructions

Analyze DNS queries and responses from a PCAP file.

Extracts DNS query names, types, response codes, and identifies potential DNS tunneling or suspicious patterns.

Args: filepath: Path to PCAP/PCAPNG file max_queries: Maximum number of DNS rows to process

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYes
max_queriesNo
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds specific behaviors: extracting DNS query names, types, response codes, and identifying potential DNS tunneling or suspicious patterns. This goes beyond the annotations by detailing the analysis performed.

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 extremely concise: two brief paragraphs and an Args list. Every sentence provides value, and the main purpose is front-loaded. No redundant or extraneous information is present.

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?

No output schema is provided, so the description must explain return values. It mentions extracted fields and detection of patterns, giving a reasonable overview. However, it lacks details on output format (e.g., list, table) or structure, which would be helpful for an analysis tool. The annotations' openWorldHint suggests variable output, so the description is adequate but not complete.

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 description coverage is 0%, so the input schema provides no parameter descriptions. The description compensates fully by including an Args section with clear explanations: 'filepath: Path to PCAP/PCAPNG file' and 'max_queries: Maximum number of DNS rows to process'. This adds significant meaning beyond the schema.

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 clearly states 'Analyze DNS queries and responses from a PCAP file', specifying the action and resource. The name 'analyze_dns_traffic' is self-explanatory and distinguishes it from sibling tools like 'analyze_http_traffic' or 'analyze_pcap_file', though it does not explicitly contrast them.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, limitations, or context for use, leaving the agent to infer from the name alone.

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