Skip to main content
Glama

netwatch

List RouterOS host reachability monitors to inspect up/down status, intervals, comments, and script-presence flags for failover diagnostics.

Instructions

List Netwatch host monitors (/tool/netwatch): host, status (up/down), interval, since, comment, disabled, plus has-up-script/has-down-script booleans.

Netwatch is the usual way a RouterOS device itself watches a gateway or peer's reachability (e.g. to drive a failover script on down/up) - this is read-only groundwork for future failover tooling; see README's "VPN & routing diagnostics".

The up-script/down-script fields are surfaced only as presence booleans (has-up-script/has-down-script), never as the raw script body, which can contain arbitrary RouterOS commands (e.g. route/credential changes) that don't belong in a read tool's output.

Returns an empty list (never an error) for a device with no Netwatch entries configured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it declares read-only behavior, explains that script bodies are deliberately reduced to presence booleans for safety, and states that an empty list is returned (never an error). It omits any auth/pagination detail, but the disclosed behaviors are substantial and beyond schema scope.

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 with the field list and purpose, and the security rationale for the script booleans earns its place. It is slightly verbose with the README reference, but every sentence adds usable context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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, yet the description still summarizes them helpfully. For a single-parameter read tool, nothing an agent needs in order to call it correctly is missing.

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% and the description adds no meaning for device_name. It is a single, self-explanatory parameter, so the gap is minor, but the description does not compensate for the missing schema documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("List Netwatch host monitors") and enumerates the returned fields (host, status, interval, since, comment, disabled, script-presence booleans). The action is unambiguously distinct from the add_netwatch/remove_netwatch siblings, which use different verbs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives clear context: Netwatch is how a RouterOS device watches a gateway/peer's reachability, and this tool is read-only groundwork for failover tooling. However, it names no explicit alternative or when-not-to-use condition (e.g., versus ping or ip_routes) that would round this out to a 5.

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

Deploy Server

Other Tools