Skip to main content
Glama

generar_config_router

Read-only

Generates Cisco IOS router-on-a-stick configuration with 802.1Q subinterfaces per VLAN and DHCP pools from interface and subnet inputs, eliminating manual command assembly.

Instructions

Genera la configuración router-on-a-stick: subinterfaces 802.1Q por VLAN y DHCP.

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": {
      "interfaz": "<interfaz>",
      "subredes": "<subredes>"
    },
    "name": "generar_config_router"
  }
}

Input Schema

NameRequiredDescriptionDefault
dnsNoServidor DNS para los clientes DHCP8.8.8.8
con_dhcpNo
interfazYesInterfaz hacia el switch, p. ej. Gi0/0
subredesYes

Output Schema

NameRequiredDescriptionDefault
pasosYes
config_completaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the agent knows nothing is applied to a live device. The description adds useful context about what the output contains (802.1Q subinterfaces per VLAN plus DHCP), but it never states whether the result is a text configuration, how DHCP relates to con_dhcp, or what happens when subredes is large. Given the annotation coverage, this is a moderate contribution.

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?

A single front-loaded sentence with no filler and the key artifact named immediately. It is lean to the point of under-specification, but no words are wasted.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. Still, for a generator with four parameters and a nested subredes array, the definition omits behavioral essentials such as whether each VLAN requires its own subnet, how the interface/subinterface numbering is derived, and what the agent should verify first.

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%: interfaz and the SubredVlan fields are documented inline, while dns and con_dhcp have no descriptions. The description partly compensates by tying 'por VLAN' to subredes and 'DHCP' to con_dhcp, but it adds no format or constraint detail (e.g. gateway derivation, CIDR expectations) 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?

The description gives a specific verb ('Genera') and a specific artifact ('configuración router-on-a-stick: subinterfaces 802.1Q por VLAN y DHCP'), which is clearly distinct from generar_config_switch or the calculation tools. It stops short of explicitly differentiating itself from those siblings, but the resource named is unambiguous.

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, no mention of prerequisites (e.g. VLANs must map one-to-one to subnets, the interface must face a trunk port), and no reference to alternatives such as generar_config_switch. The agent must infer the scenario entirely from the title of the artifact.

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