Skip to main content
Glama

create_wlan

Destructive

Create a secure Wi-Fi SSID on UniFi with WPA2/WPA3 transition, optional VLAN, guest isolation, or hidden broadcast. Set name and passphrase to deploy the wireless network immediately.

Instructions

Create a wireless network (SSID) with WPA2/WPA3 transition security by default.

Mutating operation: applied immediately and persisted on the UniFi console. Passphrase must be 8-63 characters. WPA2/WPA3 transition is enabled unless wpa3_transition is False, keeping WPA2 for legacy clients. Attach to a VLAN via network_conf_id, or mark is_guest for an isolated guest SSID. Inspect with get_wlans.

Args: name: SSID broadcast name. passphrase: WiFi password, 8-63 characters. network_conf_id: Network id to attach the SSID to; omit for the default LAN. wpa3_transition: Use WPA2/WPA3 transition mode. Defaults to True. hide_ssid: Broadcast the SSID hidden when True. Defaults to False. is_guest: Mark the SSID as an isolated guest network. Defaults to False. 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
nameYesSSID broadcast name.
siteNoSite to operate on. Defaults to "default".default
deviceNoOptional console name to target a specific UniFi device; omit for default.
is_guestNoMark the SSID as an isolated guest network. Defaults to False.
hide_ssidNoBroadcast the SSID hidden when True. Defaults to False.
passphraseYesWiFi password, 8-63 characters.
network_conf_idNoNetwork id to attach the SSID to; omit for the default LAN.
wpa3_transitionNoUse WPA2/WPA3 transition mode. Defaults to True.
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

While destructiveHint already marks mutation, the description adds concrete behavioral context: immediate application, persistence on the UniFi console, WPA2/WPA3 transition behavior, legacy client support, and guest isolation. This meaningfully expands on the annotation.

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 summary sentence is front-loaded, followed by a clear mutation warning and an organized Args list. Despite covering eight parameters, every sentence carries useful information and the structure is easy to scan.

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

Completeness5/5

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

For an 8-parameter create operation with only destructiveHint as annotation, the description covers required inputs, all defaults, security behavior, VLAN/guest options, site/device selection, and verification via get_wlans. Nothing essential for a correct call is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description improves on the schema by explaining why wpa3_transition retains WPA2 for legacy clients and by relating network_conf_id and is_guest to networking intent, though much of the Args section mirrors the schema.

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?

Opens with a specific verb and resource: 'Create a wireless network (SSID)' and immediately names the default security mode. This clearly distinguishes it from siblings like get_wlans, update_wlan, and delete_wlan.

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 context: it is a create operation applied immediately and persisted, and it explicitly routes to get_wlans for inspection. It does not explicitly state when not to use it or point to update_wlan/delete_wlan for existing SSIDs, so it stops short of full exclusion guidance.

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