Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-cidr

CIDR: Compute network, broadcast, netmask and usable-host count from a CIDR block (e.g. 192.168.1.0/24) with validation. 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cidr": "<cidr>"
    },
    "name": "x402-cidr"
  }
}

Input Schema

NameRequiredDescriptionDefault
cidrYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "cidr"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / cidr / description
      Removed value: -"Cidr to process"
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose that the tool validates input and what it returns (network, broadcast, netmask, usable-host count), plus a quota/auth note about 5 free trial calls per signed wallet. However, it never says what happens on an invalid CIDR, whether the wallet requirement blocks calls, or confirms this is a side-effect-free computation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The functional sentence is front-loaded and dense with no waste. The trailing emoji pricing line is somewhat promotional padding, but it does carry real quota information, so it roughly earns its place.

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?

There is no output schema, yet the description enumerates the computed fields, which largely substitutes for one. Combined with the input example and validation note, an agent has enough to call this correctly; only invalid-input behavior and the exact wallet/payment gating remain unstated.

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 coverage is 0% and the single parameter is an undescribed string, so the description must compensate. It does so effectively by naming the format ("CIDR block") and supplying a concrete example value, which is exactly the missing information an agent needs to build a valid argument.

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?

"Compute network, broadcast, netmask and usable-host count from a CIDR block" gives a specific verb and resource plus an enumerated list of outputs, and the inline example (192.168.1.0/24) makes the input shape unambiguous. It does not distinguish itself from the closely related sibling x402-cidr-to-range, so it stops short of a 5.

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?

Usage is implied rather than stated: the CIDR example shows the expected invocation context, and "with validation" hints at error behavior. There is no explicit when-to-use framing and no routing to x402-cidr-to-range, so an agent must infer which of the two CIDR tools to pick.

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.