Skip to main content
Glama

update_wlan

Destructive

Change an existing UniFi SSID: update passphrase, enable/disable, hide SSID, WPA3, roaming, or PMF mode. Only supplied fields are changed; target resolved by ID or name.

Instructions

Update a wireless network (SSID); only the fields you provide change.

Mutating operation: applied immediately and persisted on the UniFi console. Any single field updates the matching SSID (resolved by ID or name). Requoting passphrase sets the WiFi password; pmf_mode is disabled|optional|required. Inspect with get_wlans.

Args: wlan: WLAN id or SSID name to update. enabled: Enable or disable the SSID. hide_ssid: Hide the SSID from beacon broadcasts. passphrase: New WiFi password (minimum 8 characters). wpa3_support: Enable WPA3 support on the SSID. wpa3_transition: WPA2/WPA3 transition mode (keeps WPA2 for legacy clients). pmf_mode: Protected Management Frames mode — "disabled", "optional", or "required". bss_transition: Enable 802.11k/v band and AP steering. fast_roaming_enabled: Enable 802.11r fast roaming. site: Site to operate on. Defaults to "default". device: Optional console name to target a specific UniFi device; omit for default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoSite to operate on. Defaults to "default".default
wlanYesWLAN id or SSID name to update.
deviceNoOptional console name to target a specific UniFi device; omit for default.
enabledNoEnable or disable the SSID.
pmf_modeNoProtected Management Frames mode — "disabled", "optional", or "required".
hide_ssidNoHide the SSID from beacon broadcasts.
passphraseNoNew WiFi password (minimum 8 characters).
wpa3_supportNoEnable WPA3 support on the SSID.
bss_transitionNoEnable 802.11k/v band and AP steering.
wpa3_transitionNoWPA2/WPA3 transition mode (keeps WPA2 for legacy clients).
fast_roaming_enabledNoEnable 802.11r fast roaming.
Install Server

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only carry destructiveHint=true, and the description enriches this substantially: 'Mutating operation: applied immediately and persisted on the UniFi console', the partial-update guarantee ('only the fields you provide change'), and the passphrase/pmf_mode behavioral notes. No contradiction with the destructiveHint annotation exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening paragraph is tightly worded and front-loaded, with every sentence earning its place. However, the Args section copies the full 11-parameter schema verbatim, which is redundant noise for an agent that already receives the input schema, making the description longer than needed.

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

Completeness4/5

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

For an 11-parameter destructive mutation with no output schema, the description covers the essential ground: target resolution, partial-update semantics, persistence, allowed pmf_mode values, and an inspection path. It omits failure modes and preconditions (e.g., what happens to connected clients), but an agent can call this tool correctly with what is provided.

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 100%, so the baseline is 3. The description's Args block is a near-verbatim duplicate of the schema. It adds global framing (partial updates) and a subtle passphrase hint, but individual parameter meaning is not enriched beyond what the schema already provides.

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 opens with a specific verb and resource: 'Update a wireless network (SSID)'. It immediately disambiguates from siblings like create_wlan and delete_wlan, and clarifies partial-update semantics. The phrase 'Inspect with get_wlans' further separates it from its read-mode counterpart.

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?

The description gives clear operational context: how the target is resolved ('resolved by ID or name'), that the operation is applied immediately, and that get_wlans is the companion inspection tool. However, it never explicitly states when NOT to use this tool in favor of create_wlan or delete_wlan, so the exclusion guidance is left to inference.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikeholownych/unifi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server