Skip to main content
Glama

Traceroute from the router

mikrotik_traceroute
Read-onlyIdempotent

Trace the network path from the router to a specified host to diagnose connectivity and routing issues.

Instructions

Trace the path from the router to a host.

Input Schema

NameRequiredDescriptionDefault
deviceNoName of the configured device. Defaults to the first device (see mikrotik_list_devices).
addressYes
maxHopsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds one useful behavioral fact — execution happens on the router itself — but says nothing about how long a trace blocks, whether the target must be resolvable from the device, or what hops output 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?

A single front-loaded sentence with no waste and the scope constraint ('from the router') placed early. It is arguably under-specified rather than over-long, so conciseness itself is fine but earns no bonus.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a network diagnostic with no output schema and two undocumented parameters, the description leaves too much open: nothing about hop output, timeout/failure behavior, or what maxHops controls. Annotations cover safety but not operation, so the definition is thin for the task.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%: only 'device' is documented. The required 'address' is bare, and 'maxHops' has no description in either the schema or the description, so the agent gets no guidance on its default, units, or the 1-64 bound's meaning. 'to a host' barely implies that address is a target host/IP.

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 ('Trace') and resource ('the path from the router to a host'), and the phrase 'from the router' pins down that the probe originates on the device rather than the caller. It is clearly distinct from siblings like mikrotik_ping or mikrotik_run_command, though it never names them.

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 statement of when to prefer this over mikrotik_ping (reachability) or mikrotik_run_command (arbitrary command), nor any exclusion or prerequisite. The agent must infer the use case entirely from the tool name.

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