Skip to main content
Glama

vyos_show_log

Retrieve recent VyOS system log entries, optionally scoped to a log subtree like firewall or image, to inspect and troubleshoot router events.

Instructions

Show recent system log entries.

Args: count: Number of lines to return (1-1000, default 50). path: Optional log subtree, e.g. "firewall" or "image". Omit for the main log.

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_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
countNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

With no annotations, the description carries the full burden. The verb "Show" signals a read-only operation and the examples clarify the subtree concept, but nothing addresses output size behavior, whether logs are pulled live from the device, timeouts, or required credentials. The presence of an output schema excuses it from describing return values.

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?

It is short and front-loaded, with the one-line purpose followed by a compact Args block. Every line earns its place given the empty schema coverage; only the Python-style signature formatting is slightly heavier than needed for two parameters.

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?

For a two-parameter read-only tool with an output schema, the description supplies what the structured data omits: parameter ranges, defaults, and path semantics. Remaining gaps around log source and volume of output are minor for this complexity level.

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

Parameters3/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. It does document both parameters meaningfully: count with its 1-1000 range and default of 50 (details the schema lacks), and path with two concrete examples plus the omit-for-main-log rule. That covers the parameters but adds no insight into how path values are validated or what happens with an invalid subtree.

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?

"Show recent system log entries" gives a specific verb (Show) and resource (system log entries), and the Args block scopes it further with named log subtrees. No sibling offers log access, so there is no ambiguity to resolve, but the description also does not explicitly position itself against the general vyos_show tool.

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 implied rather than stated: the description explains that omitting path returns the main log and that path selects a subtree like "firewall" or "image", which tells an agent how to pick parameter values. It never says when to choose this tool over vyos_show or the specialized vyos_show_firewall-style tools.

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