Skip to main content
Glama

x402-cidr

CIDR: Compute network, broadcast, netmask and usable-host count from a CIDR block (e.g. 192.168.1.0/24) with validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidrNoCidr to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It discloses that the tool validates input and computes four specific values, but it does not describe the return format, error handling, or whether IPv6 CIDR blocks are supported.

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?

One compact sentence contains the operation, resource, output list, validation behavior, and an illustrative example. There is no redundant or excessive wording.

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?

For a single-parameter pure calculation tool, the description is mostly complete: it names the input format and the computed results. Minor gaps remain around the exact return structure and validation failure behavior, but the agent has enough information to invoke the tool correctly.

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?

The schema has 100% coverage with 'Cidr to process', and the description adds a concrete example ('192.168.1.0/24'), which clarifies the expected string format beyond the minimal schema text. This is useful for an agent constructing the input.

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 states a specific verb ('Compute'), a resource ('CIDR block'), and enumerates the computed outputs: network, broadcast, netmask, and usable-host count. It also clarifies validation behavior and provides an example. This clearly distinguishes it from sibling tools like x402-cidr-to-range, which focuses specifically on range conversion.

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 implies usage: call this when you need these CIDR-derived values from a block. However, it does not explicitly state when to prefer this tool over alternatives like x402-cidr-to-range or other IP utilities, leaving the agent to infer selection from context.

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.

Resources