Skip to main content
Glama

vyos_get_interface

Fetch the configuration for one VyOS interface using its type and name; optionally return unredacted secrets when needed.

Instructions

Get the configuration of a single interface.

Args: type: Interface type, e.g. "ethernet", "wireguard", "bridge", "dummy". name: Interface name, e.g. "eth0", "wg0", "br0". include_secrets: Return keys unredacted (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_get_interface"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
typeYes
include_secretsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 burden. It does add real behavioral context via include_secrets ('Return keys unredacted (default False)'), which tells the agent about redaction. It does not state whether the call is read-only, what happens if the interface does not exist, or what the returned configuration looks like.

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-sentence purpose line front-loaded, followed by a compact args block with no redundant prose. Nothing is padded, though the example lists repeat the same 'e.g.' pattern that could be tightened.

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?

No output schema and no annotations mean the description must cover everything, and for a simple read it covers the inputs well. It leaves the agent without knowledge of error behavior for a bad type/name or the shape of the returned config, which matters for a tool returning structured configuration.

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% — schema properties carry only titles — so the description must compensate, and it does: it explains type as an interface kind with concrete examples and name as the device name with matching examples. The include_secrets semantics and default are also clarified. It stops short of stating whether values must match existing device configuration.

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 verb and resource: 'Get the configuration of a single interface.' The word 'single' scopes it against a broader info/config dump, so an agent can distinguish it from a general info tool without more help, though no sibling is named.

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: an agent infers this is the read path for one interface's config. There is no explicit statement of when to prefer it over vyos_get_info or when-not to use it, and no prerequisites are mentioned.

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