Skip to main content
Glama

mechacut

net_cidr

CIDR math: network/broadcast/prefix/usable hosts, contains(IP|subnet) verdict, split_into N-bit subnets (capped 256 listed). The cloud/infra agent chore done exactly. Free.

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": "net_cidr"
  }
}

Input Schema

NameRequiredDescriptionDefault
cidrYes
containsNo
split_intoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose one genuinely useful trait — split results are capped at 256 listed subnets — but says nothing about invalid CIDR handling, whether contains is strictly boolean, or the response shape, and 'Free' is promotional noise rather than behavioral information.

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

Conciseness3/5

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

The operation list is front-loaded and dense, which is good, but the trailing sentence 'The cloud/infra agent chore done exactly. Free.' is marketing that occupies space without informing an agent.

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?

No output schema and no annotations exist, so the description must stand in for both; it partially does by naming the computed fields (network/broadcast/prefix/usable hosts) and the 256 cap. Gaps remain around error behavior and the exact return format for the contains verdict, but for a three-mode helper it is close to sufficient.

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 0%, so the description must compensate for all three parameters. It does explain contains (IP or subnet) and split_into (N-bit subnets), which is meaningful added value, but 'merely N-bit' is ambiguous about whether the integer is a new prefix length or a count, and the required cidr parameter's accepted format is never stated.

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?

The description names the resource (CIDR math) and enumerates the three concrete operations: computing network/broadcast/prefix/usable hosts, a contains verdict, and split_into subnetting. That is specific enough to separate it from net_ip or address_parse, though it never explicitly contrasts with a named sibling.

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

Usage Guidelines2/5

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

There is no when-to-use guidance versus alternatives such as net_ip or address_parse, and no conditions for choosing between the three modes. 'The cloud/infra agent chore done exactly' gestures at context but gives the agent nothing actionable about selection.

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.