Skip to main content
Glama

vyos_delete

Delete a VyOS configuration path and commit the change immediately, with optional commit-confirm rollback protection and persistence to the boot config.

Instructions

Apply a single delete command and commit it immediately.

Args: path: Configuration path to delete (list or space-separated string). Include a trailing value to delete only one entry of a multi-valued node. confirm_time: If > 0, commit-confirm (reverts unless confirmed). save: Persist to /config/config.boot after a successful 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": {
      "path": "<path>"
    },
    "name": "vyos_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
saveNo
confirm_timeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that the change is committed immediately, that confirm_time enables commit-confirm which auto-reverts unless confirmed, and that save persists to /config/config.boot. It omits what happens on an invalid path or commit failure, and does not state whether the operation is destructive/irreversible beyond the implied revert window.

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 imperative sentence followed by terse per-argument notes; every line adds information and nothing is padded. The docstring layout makes scanning easy.

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?

An output schema exists, so return values need not be explained, and all three parameters are covered. For a mutating tool with zero annotations, some behavior (error handling, whether a config-mode lock is required, and that vyos_confirm_commit is the confirming counterpart) is still missing.

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, and it does: path accepts a list or space-separated string with an optional trailing value to address one entry of a multi-valued node, confirm_time is a revert-unless-confirmed window, and save controls persistence with its default. The only gap is that confirm_time's unit and the mechanism for confirming are not stated.

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 action (apply a single `delete` command) and its effect (commit immediately) on the VyOS configuration. It is distinguishable from the specialized siblings like vyos_delete_interface only by implication, since the description never says it is the generic path-based variant that covers arbitrary nodes.

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?

Usage is only implied by the path semantics: delete an arbitrary configuration path, whereas the sibling names suggest task-specific deletes exist. There is no explicit 'use this when/not when' or pointer to an alternative for specialized operations.

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