Skip to main content
Glama

dividir_vlsm

Splits a base network into VLSM subnets ordered from largest to smallest host requirement, returning each subnet's address and mask for IP planning.

Instructions

Reparte una red entre varias subredes con VLSM (de mayor a menor número de hosts).

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": {
      "red_base": "<red_base>",
      "subredes": "<subredes>"
    },
    "name": "dividir_vlsm"
  }
}

Input Schema

NameRequiredDescriptionDefault
red_baseYesRed a repartir, p. ej. 192.168.1.0/24
subredesYes

Output Schema

NameRequiredDescriptionDefault
red_baseYes
subredesYes
direcciones_libresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 carries the disclosure burden but does add a real behavioral trait: allocation proceeds from largest to smallest host requirement, which is the core VLSM semantics. It says nothing about validation (e.g. whether requirements overflowing red_base cause an error) or failure behavior.

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 sentence with zero filler, front-loading the action and ending with the ordering rule that matters most for interpreting the result.

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?

This is a simple pure-computation tool with two parameters and an output schema, so return values need not be explained. The only gap is unstated error or capacity behavior when subnet requirements cannot fit in red_base, which matters for a repo/algorithm tool with no annotations.

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 50%, and the schema itself already documents red_base with an example and the RequisitoSubred fields (nombre, hosts). The description only indirectly ties the "hosts" field to the descending order, adding marginal meaning beyond the schema.

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?

States a specific verb ("Reparte") plus the resource and output ("una red entre varias subredes") and names the algorithm (VLSM). "Varias subredes" implicitly contrasts with a single-subnet calculator like calcular_subred, but no sibling is named explicitly.

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 phrase "de mayor a menor número de hosts" implies the input must be a set of host requirements to be ordered, so usage is inferable. However, there is no explicit when-to-use, when-not, or routing between this and calcular_subred.

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