Skip to main content
Glama

vyos_show_routes

Displays the VyOS operational routing table (FIB) so you can inspect active IPv4 or IPv6 routes, including lookup for a specific destination prefix.

Instructions

Show the operational routing table (FIB).

Args: family: "ip" for IPv4 (default) or "ipv6". prefix: Optional destination prefix to look up, e.g. "10.0.0.0/8".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vyos_show_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
familyNoip
prefixNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 clarify that this reads the live forwarding table rather than configuration, which is meaningful behavioral context, but it says nothing about permissions, whether the full table can be large, or how results are scoped.

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?

Two short elements — a one-line purpose followed by an args list — with zero filler and the purpose front-loaded. Every sentence earns its place.

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 both parameters are documented. For a two-parameter read-only tool this is essentially complete, with only minor room to state that the FIB reflects current operational state rather than committed config.

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%, and the description compensates well: it gives the accepted values for 'family' ('ip' vs 'ipv6', default ip) and explains that 'prefix' is an optional destination prefix with a concrete example. The only gap is that the allowed family values are prose rather than formalized, but the meaning is fully conveyed.

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 ('Show the operational routing table (FIB)'), and the FIB qualifier implicitly separates it from config-reading siblings such as vyos_show_config. It does not explicitly name an alternative, so it stops short of 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase 'optional destination prefix to look up' hints at the lookup scenario, and 'operational' hints at live-state inspection. There is no explicit when-to-use, when-not-to-use, or pointer to a sibling tool.

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