Skip to main content
Glama

ScorpTech x402 Tools

Ip Range Merge

ip_range_merge
Read-onlyIdempotent

Aggregate IP allow/deny lists: merges any mix of IPv4/IPv6 addresses, CIDRs, "a-b" ranges and "ip netmask" entries into the minimal set of CIDR blocks, optionally subtracts an exclude list, reports address counts and tests IPs for membership. For firewall rules, WAF / CDN allowlists and cloud security groups. POST JSON body {items, exclude?, check?}. Returns JSON with: inputCount, ipv4, ipv6, merged, check. Price: $0.002 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/ip-range-merge

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": {
      "items": "<items>"
    },
    "name": "ip_range_merge"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkNoIPs to test against the merged result
itemsYes
excludeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavioral facts beyond that: the optional exclusion subtraction, the per-call price ($0.002 USDC via x402 on Base or Solana) and a mirrored HTTPS endpoint — payment cost is exactly the kind of context annotations cannot convey.

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 core operation is front-loaded in the first sentence, followed by use cases, wire format, return fields and pricing in a logical order. It is dense and near the limit of comfortable length, but nearly every clause carries information an agent needs.

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?

With no output schema, listing the return keys (inputCount, ipv4, ipv6, merged, check) is necessary and done. Three simple flat parameters are adequately framed. Minor gaps: the 10,000-item and 100-character size limits and array element limits are left entirely to the schema.

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 only 33% — only 'check' is documented in the schema, while 'items' and 'exclude' are bare arrays. The description compensates by explaining the accepted entry syntax for 'items' and that 'exclude' subtracts from the merged result, which is real meaning beyond the schema.

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 and resource ('Aggregate IP allow/deny lists: merges ... into the minimal set of CIDR blocks') and enumerates the accepted input forms (IPv4/IPv6 addresses, CIDRs, 'a-b' ranges, 'ip netmask'). This is clearly distinguishable from lookup-style siblings such as ip_intel and ip_reputation.

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 names target domains ('firewall rules, WAF / CDN allowlists and cloud security groups'), which implies when the tool is appropriate. However, it gives no explicit when-not guidance and never names an alternative tool for the non-merging cases (e.g. inspecting a single IP), so routing must be inferred.

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