Skip to main content
Glama

zeek_query_connections

Search Zeek connection logs with filters for IPs (CIDR), ports, protocol, connection state, duration, bytes, and time range.

Instructions

Search Zeek connection logs with flexible filters. Supports CIDR notation for IPs, connection state filtering, duration/byte thresholds, and time ranges.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dstIpNoDestination IP address (supports CIDR notation)
limitNoMax results (default 100)
protoNoTransport protocol
srcIpNoSource IP address (supports CIDR notation like 10.0.0.0/8)
sortByNoSort field (default: ts descending)
timeToNoEnd time (ISO 8601)
dstPortNoDestination port number
serviceNoDetected service (http, ssl, dns, ssh, smtp, etc.)
srcPortNoSource port number
minBytesNoMinimum total bytes transferred
timeFromNoStart time (ISO 8601)
connStateNoConnection state (S0, S1, SF, REJ, RSTO, etc.)
maxDurationNoMaximum connection duration in seconds
minDurationNoMinimum connection duration in seconds
Behavior2/5

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

With no annotations, the description should disclose behavioral traits. It does not mention that the tool is read-only (query), any required permissions, rate limits, or pagination behavior. The query nature is implied but not explicitly stated.

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 sentences that front-load the main purpose ('Search Zeek connection logs') and list key capabilities. No redundant or unnecessary information.

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?

Given 14 parameters, no annotations, and no output schema, the description is adequate but incomplete. It covers high-level filter capabilities but omits details about default behavior (e.g., default limit, sort order) and response format.

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 coverage is 100% for 14 parameters. The description adds high-level context (e.g., 'CIDR notation', 'connection state filtering') but does not provide additional meaning or details beyond what the schema already describes. Baseline of 3 is appropriate.

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 starts with 'Search Zeek connection logs', clearly indicating the verb and resource. It mentions flexible filters, but does not differentiate from sibling tools like zeek_query_dns or zeek_query_http, which are for other log types.

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 lists supported filter types (CIDR, connection state, duration/byte thresholds, time ranges), implying usage for connection log filtering. However, it does not provide explicit when-to-use or when-not-to-use guidance relative to alternatives.

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/lidless-labs/zeek-mcp'

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