Skip to main content
Glama

configure_ios

Destructive

Apply a block of IOS commands to a router or switch, including interface sub-modes; stops at the first rejected command and runs write memory when save is true.

Instructions

Apply a block of IOS configuration commands to a router or switch, as if typed after configure terminal: the first command enters global configuration and the rest follow the prompt, so interface ... sub-modes work. Stops at the first command IOS rejects, always leaves configuration mode, and runs write memory when save is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
saveNoRun `write memory` afterwards so the configuration survives a reload.
deviceYesRouter or switch name.
commandsYesConfiguration commands in order, for example `hostname R1`, `interface GigabitEthernet0/0`, `ip address 10.0.0.1 255.255.255.0`, `no shutdown`. A leading `enable` or `configure terminal` and a trailing `end` are handled for you.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
savedYes
totalYes
deviceYes
appliedYes
resultsYes
completedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing failure semantics (stops at the first rejected command), cleanup behavior (always leaves configuration mode), and the effect of `save` (runs `write memory`). These are exactly the behavioral traits an agent needs before issuing a destructive multi-command mutation.

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?

One dense but well-ordered sentence plus a short clarification – no filler, and the operational model (enter config, follow the prompt) is front-loaded before the edge-case behavior.

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

Completeness5/5

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

With an output schema available and annotations covering the safety profile, the description supplies everything else an agent needs: how commands are sequenced, failure handling, mode cleanup, and persistence via `save`. Nothing material is missing for a destructive tool of this complexity.

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 description coverage is 100%, so the baseline is 3. The description restates the `save` behavior and the prompting model already documented in the schema, adding little new meaning about individual parameters.

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?

States a precise verb+resource: apply a block of IOS configuration commands to a router or switch. The 'as if typed after `configure terminal`' framing pins down the exact operation and separates it from siblings like configure_host, configure_access_point, or run_cli.

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

Usage Guidelines4/5

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

Gives strong operational context (commands execute in order, sub-modes work, leading enable/configure terminal and trailing end are handled) so an agent knows exactly when this tool applies. It does not, however, explicitly compare itself to run_cli or the other configure_* siblings for exclusion cases.

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