Skip to main content
Glama

Stackhal

Calculate CIDR Overlap

calculate_cidr_overlap
Read-only

Analyze IPv4/IPv6 CIDR subnets for range collisions, full containment, 2D bit-tree matrix partition, and available free subnet allocation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidrsYesArray of IPv4 or IPv6 CIDR strings to analyze for collisions and tree partition.
parent_cidrNoOptional parent CIDR string (e.g. 10.0.0.0/16) to constrain free subnet allocation search.
requested_free_prefixNoOptional target prefix length (e.g. 20, 24) to find available free subnet block inside parent range.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true and openWorldHint=false, covering the safety and scope profile. The description adds functional details but no additional behavioral traits like performance, limits, or side effects; with annotations present, this is adequate.

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?

Single sentence, front-loaded with the verb and resource, with zero filler. Efficient and well-structured for an agent scanning tool options.

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 exists, yet the description does not explain the return format or structure of results. It covers what analyses are performed, which partially compensates, but an agent still lacks clarity on what to expect back.

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 all three parameters are fully documented in the schema. The description mentions 'free subnet allocation' and 'parent range' but adds no syntax or format beyond the schema, so the baseline of 3 applies.

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?

States a specific verb 'Analyze' and resource 'IPv4/IPv6 CIDR subnets', and enumerates the four analysis outputs (collisions, containment, bit-tree partition, free allocation). Siblings are unrelated, so no differentiation is needed. An agent can immediately tell this is a CIDR range analysis 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?

Provides implied usage by listing the analysis types, but gives no explicit when-to-use, prerequisites, or exclusions. There are no similar siblings to distinguish from, so guidance is minimal but not misleading.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.