Execute RouterOS API commands directly against a MikroTik router
Single tool with adequate schema and description, but significant gaps in parameter documentation, error handling guidance, and security practices. Tool name lacks action verb. Description is 380+ chars (above 200-char baseline for optimal LLM parsing). Password exposed as parameter violates secret-injection pattern. No output schema documented. Error messages are generic. Composition is monolithic, tool combines command parsing, API connection, and result serialization without clear separation.
Execute a RouterOS API command directly against a MikroTik router. Args: host: Router IP or hostname username: Router username password: Router password command: Full RouterOS API-style command such as: - /system/resource/print - /ip/service/print - /ip/service/set numbers=telnet disabled=yes - /ip/service/set [find name=telnet] disabled=yes - /interface/disable numbers=ether2 - /ip/firewall/filter/add chain=input action=drop comment="Block input"
Tool name 'mikrotik_terminal' lacks action verb. Should be 'execute_mikrotik_command' or 'run_mikrotik_api_command' to signal intent clearly to LLMs.
Password parameter exposed as tool input. Violates secret-injection pattern, credentials must never appear in tool parameters as they are logged in traces. Use server-side environment variable injection instead.
No output schema documented. LLMs cannot predict response structure (success, target, command, arguments, matched_rows, count, rows fields). Add explicit return type documentation.
Error messages lack recovery guidance. 'No rows matched the [find ...] expression' and 'Matched rows do not expose .id values' do not tell LLM what to do next. Add actionable suggestions.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | 2026-07-28+ | v2 |
Parameter descriptions are verbose (380+ chars) and include example commands inline. LLMs reuse examples literally. Move examples to separate documentation; use enum/pattern constraints instead.