Skip to main content
Glama

vyos_reconnect

Reconnect a PPPoE or WWAN interface by cycling it down and up to restore connectivity after a link or session failure.

Instructions

Bring a connection-oriented interface down and up again (PPPoE, WWAN).

Args: interface: Interface name, e.g. "pppoe0".

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": {
      "interface": "<interface>"
    },
    "name": "vyos_reconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
interfaceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the key trait that the operation is disruptive (the interface goes down before coming back up), but omits whether a commit is required afterwards, whether the interface must already be configured, and whether existing sessions/traffic are dropped.

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?

One tight sentence front-loads the behavior, followed by a short Args block with a useful example. The Args formatting is slightly redundant for a single parameter but nothing is 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. However, for a disruptive network operation with zero annotation coverage and no parameter documentation in the schema, the description should mention commit/permission requirements and any preconditions on the interface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter is documented only as a bare string titled 'Interface'. The description adds just a name and one example ('pppoe0'), without saying whether non-connection-oriented names (e.g. eth0) are rejected or what naming convention is expected. This does not compensate for the empty schema coverage.

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 ('bring a connection-oriented interface down and up again') with an explicit scope restriction to PPPoE and WWAN links, which distinguishes it from configuration siblings like vyos_configure_interface. It stops short of naming any sibling it overlaps with, so it is clear but not fully differentiated.

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 '(PPPoE, WWAN)' parenthetical implies the intended scenario — re-establishing a connection-oriented link — but there is no explicit when-to-use, when-not-to-use, or alternative named. An agent must infer that this is for stuck/dropped WAN links rather than general interface management.

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