Skip to main content
Glama

vyos_delete_interface

Deletes a VyOS interface by type and name or disconnects a physical interface's configuration. Use it to remove unneeded interfaces and optionally persist the change after commit.

Instructions

Delete an interface or disconnect a physical interface's configuration.

Args: type: Interface type, e.g. "dummy", "wireguard", "vxlan". name: Interface name, e.g. "dum1", "wg0". save: Persist after commit (default False).

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": {
      "type": "<type>",
      "name": "<name>"
    },
    "name": "vyos_delete_interface"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
saveNo
typeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it never says this is destructive, whether it commits immediately or requires a separate commit, or what happens to dependent config (addresses, NAT, firewall references). The 'save' arg hints at a commit model but the description never explains what commit means here or whether the operation is reversible.

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?

Front-loaded purpose sentence followed by a compact Args list; every line corresponds to a parameter an agent must supply. No filler or restatement of the tool name.

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 parameters are well covered. What is missing is the destructive/commit semantics that matter most for a delete tool with zero annotation coverage, which leaves the agent under-informed about consequences.

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 description coverage is 0%, so the description must compensate, and it documents all three parameters with concrete examples for type and name. It does not enumerate valid interface types or name formats, and 'Persist after commit' is left partially unexplained, but overall it adds real meaning beyond the bare schema titles.

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+resource ("Delete an interface") and adds a second mode, disconnecting a physical interface's configuration. It is clearly narrower than the generic sibling vyos_delete, but it never states that distinction, so the agent must infer it from the name alone.

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 guidance on when to use this instead of vyos_delete, vyos_configure_interface, or other delete_* siblings, and no prerequisites such as required permissions or ordering (e.g., remove addresses first). The only implied usage is 'you want an interface gone.'

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