Skip to main content
Glama

FernTool Network Tools

subnet_how_many_fit

How many smaller subnets fit inside a bigger one, e.g. how many /64 networks fit in a /48 (65,536) or how many /24 in a /16 (256). Returns the count, addresses in each, usable hosts each (IPv4) and the power of 2.

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": {
      "big": "<big>",
      "small": "<small>"
    },
    "name": "subnet_how_many_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
bigYesPrefix length of the bigger block, e.g. 48 or 16
smallYesPrefix length of the smaller subnets, e.g. 64 or 24
versionNoIP version (default 6; use 4 for IPv4)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full disclosure burden; it explains that the tool returns a count, addresses per subnet, usable hosts for IPv4, and the power of 2. This is a useful disclosure of the result shape for a pure calculation tool, though it omits behavior for invalid inputs such as a smaller prefix than the larger block.

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?

A single compact sentence front-loads the core question and follows with two well-chosen examples plus a brief return summary. Every element earns its place with no redundant restatement of the name or schema.

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 simple arithmetic tool with a fully described three-parameter schema and no output schema, the description covers the operation, typical inputs, and returned values. It is nearly complete, with only edge-case or error behavior left unstated.

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 100% and each parameter is documented there, so the baseline is 3. The description's examples reinforce the meaning of big and small with sample values like /48 and /64, but they add little beyond what the schema already states, and the version parameter is not mentioned in the description.

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 operation (counting how many smaller subnets fit in a larger block) with concrete examples that separate it from a general subnet calculator sibling. The verb and resource are unambiguous, so an agent can identify the tool without opening the schema.

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 examples imply the intended use case, but there is no explicit guidance on when to choose this over subnet_calc or other networking siblings. No prerequisites or exclusions are stated, leaving the agent to infer the boundary.

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