Skip to main content
Glama

batch_analyze_overlap

Analyze multiple candidate firewall rules against an existing ruleset in one call, reusing the parsed rules for all candidates.

Instructions

Analyze multiple candidate rules against the same existing ruleset in a single call. More efficient than calling analyze_firewall_rule_overlap multiple times — existing_rules is parsed once and reused for each candidate. Use parse_policy first to get normalized rules, then pass all candidates at once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
existing_rulesNoArray of normalized rule objects from parse_policy output. Parsed once and reused for all candidates.
candidate_rulesNoArray of candidate rule objects to analyze. Each object: {"id": "candidate-1", "position": 1, "action": "permit"|"deny", "source_addresses": ["CIDR"], "destination_addresses": ["CIDR"], "services": [{"protocol": "tcp", "ports": "443"}], "source_zones": ["any"], "destination_zones": ["any"], "applications": ["any"]}.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries full burden. It reveals that existing_rules is parsed once and reused (a behavioral optimization), but does not disclose error handling, limitations, or whether the tool is read-only. More transparency on edge cases would improve the score.

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 consists of two concise, front-loaded sentences with no redundancy. Every sentence adds value: purpose, efficiency comparison, and prerequisite workflow.

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?

Given the tool has two well-described parameters, an output schema exists, and siblings are clearly listed, the description provides sufficient context: it explains the advantage over the sibling, the prerequisite step using parse_policy, and the usage pattern, making it complete for correct invocation.

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% with detailed parameter descriptions already explaining the structure and reuse behavior. The tool description reinforces the workflow but adds little new semantic insight beyond what the schema already provides, keeping the score at baseline 3.

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 multiple candidate rules against an existing ruleset in a single call, distinguishing it from the sibling analyze_firewall_rule_overlap by highlighting the efficiency of reusing parsed existing rules.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly recommends using parse_policy first to obtain normalized rules, advises to pass candidates all at once, and positions this tool as more efficient than calling the sibling multiple times, providing clear when-to-use guidance.

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/AutomateIP/fwrule-mcp'

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