Skip to main content
Glama

vyos_configure_bgp

Configures BGP on a VyOS router by setting the local AS, global options, and neighbor policies in a single commit, with optional persistence.

Instructions

Configure BGP: local AS, global settings and neighbors in one commit.

Args: local_as: Local autonomous system number. settings: Global BGP settings as {space-separated path: value}, e.g. {"parameters router-id": "192.0.2.1", "address-family ipv4-unicast network": "203.0.113.0/24"}. neighbors: Map of neighbor IP -> settings map, e.g. {"192.0.2.2": {"remote-as": "65002", "address-family ipv4-unicast soft-reconfiguration": "inbound"}}. 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": {
      "local_as": "<local_as>"
    },
    "name": "vyos_configure_bgp"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
local_asYes
settingsNo
neighborsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose two useful traits beyond the schema: changes are applied atomically as one commit, and save defaults to False so persistence is opt-in. It omits important behavior for a mutation tool, such as whether existing BGP config is merged or replaced, how failures/rollback are handled, and whether a confirm step is needed.

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?

Front-loaded summary line followed by per-argument entries; each sentence carries information, and the examples clarify an otherwise opaque free-form object. The args block is somewhat long relative to the summary, but no line is filler.

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?

With an output schema present, return values need no explanation, and all four inputs are covered with examples. For a config-mutating tool with no annotations, the main remaining gap is operational context: merge-vs-replace semantics, prerequisite state, and failure behavior.

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 largely does: all four parameters are documented, including the non-obvious "space-separated path: value" convention for settings and the neighbor-IP-keyed nested map, each with a concrete example. It does not enumerate valid path keys or how conflicts between settings and neighbors are resolved, so it falls short of exhaustive.

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?

Opens with a specific verb and resource ("Configure BGP") and enumerates the scope: local AS, global settings, and neighbors applied in a single commit. An agent can distinguish this from sibling tools like vyos_configure_ospf or vyos_add_static_route without reading the schema. It stops short of naming any sibling alternative, so it does not reach a 5.

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 explicit when-to-use or when-not-to-use guidance, no mention of prerequisites (device connectivity, an existing config session, or whether a commit must be confirmed), and no pointer to alternatives such as vyos_configure_batch for multi-feature changes. The only usage signal is the implicit "one commit" atomicity phrase.

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