Skip to main content
Glama

apply_changes

Execute arbitrary RouterOS commands when no dedicated tool fits, using backup, rollback timer, and stop-on-first-error safety.

Instructions

Apply arbitrary RouterOS commands (one per list item) when no dedicated tool fits. Same safety net: backup + rollback timer + stop on first error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNorouter
dry_runNo
commandsYes
descriptionYes
rollback_minutesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose key behaviors: backup, rollback timer, stop on first error. It omits what dry_run defaults to and how errors are surfaced, so it is strong but not complete.

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 compact sentences, front-loaded with the core purpose and then the safety behavior. Every clause earns its place with no filler.

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

Completeness3/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. But for a high-risk mutation tool with zero schema coverage and no annotations, the description should say more about dry_run, rollback semantics, and the run_command boundary.

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 coverage is 0%, so the description must compensate and it partly does by implying the commands parameter is a one-command-per-item list. But the more consequential parameters (dry_run default true, rollback_minutes, name, description) get no explanation, leaving a meaningful gap.

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+resource: apply arbitrary RouterOS commands. The routing note 'when no dedicated tool fits' distinguishes it from run_command and other siblings, though the exact boundary between apply_changes and run_command is somewhat blurry.

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?

Gives a clear condition: use when no dedicated tool fits. That is a genuine when-to-use gate. It does not, however, explain when to prefer run_command or the other command-oriented sibling, leaving one ambiguity.

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