Skip to main content
Glama
labeveryday
by labeveryday

plan_subnets

Plan VLAN subnet allocations from a parent IPv4 block by specifying required hosts or prefix per VLAN. No network calls needed.

Instructions

Allocate VLAN subnets from a parent IPv4 block (deterministic, no network calls).

Each requirement is 1 subnet per VLAN. Use either hosts (alias: needed_hosts) OR prefix (alias: desired_prefix).

Example: parent_cidr="10.0.0.0/23" requirements=[ {"vlan_id": 10, "name": "Users", "hosts": 120}, {"vlan_id": 20, "name": "Voice", "hosts": 60}, {"vlan_id": 30, "name": "Printers", "prefix": 26}, ]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parent_cidrYes
requirementsYes
Behavior3/5

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

With no annotations, the description partially discloses behavior: 'deterministic, no network calls' suggests a safe computation. However, it doesn't clarify side effects, permissions, or whether the tool modifies any state.

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?

The description is two sentences plus an example, with no filler. The key information is front-loaded, and the example effectively illustrates usage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers inputs well but lacks information about the output format or return value. Given no output schema, describing what the tool returns would improve completeness for a planning tool.

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%, so the description must compensate. It explains parent_cidr as parent IPv4 block, requirements as array of objects with vlan_id, name, and hosts/prefix, including aliases. This provides essential meaning beyond the bare 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?

The description clearly states the tool allocates VLAN subnets from a parent IPv4 block, specifying determinism and no network calls. This distinguishes it from sibling tools like ping, traceroute, or dns_lookup, which are network diagnostics.

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 provides an example and notes to use either 'hosts' or 'prefix' per requirement, giving some usage guidance. However, it lacks explicit when-to-use or when-not-to-use instructions relative to alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/labeveryday/network-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server