Skip to main content
Glama

set_wireless_passphrase

Idempotent

Update the WiFi passphrase on RouterOS v7 wireless interfaces, with optional WPA2/WPA3 authentication types.

Instructions

Sets the WiFi passphrase directly on a RouterOS v7 wireless interface (/interface wifi or wifiwave2).

Notes: authentication_types: comma-separated RouterOS auth types, e.g. "wpa2-psk,wpa3-psk"; unset keeps the current setting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
deviceNo
passphraseYes
authentication_typesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.4

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already mark the operation as non-destructive and idempotent, so this description only needs to add context. It adds the useful behavior that leaving authentication_types unset keeps the current setting, and it clarifies the exact RouterOS interface family. It does not discuss side effects or access requirements, but those are covered by the annotation profile.

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?

The main action is front-loaded in a single specific sentence, followed by one compact note about a non-obvious parameter. There is no repetition of schema or annotation information and 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-value behavior does not need to be described. However, the definition leaves three parameters under-specified and does not route the agent away from sibling tools, making it adequate but not fully complete for a 4-parameter configuration tool.

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 description coverage is 0%, so the description must compensate, but it only explains authentication_types (format, example, and unset behavior). Name, device, and passphrase receive no semantic detail beyond their property names; name could be mistaken for an SSID rather than an interface name.

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?

The description states a concrete action and target: it sets the WiFi passphrase on a RouterOS v7 /interface wifi or wifiwave2 interface. This is clearer than the title, but it does not explicitly differentiate itself from sibling tools such as set_wireless_security_profile or update_wireless_interface.

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 explicit guidance on when to choose this tool over security-profile-based or interface-update alternatives. The phrase "directly on a RouterOS v7 wireless interface" hints at the distinction but never states exclusions or alternative tool names.

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