Skip to main content
Glama

unifi_create_wifi

Creates a WiFi broadcast (SSID) on a UniFi network with configurable security, passphrase, bands, and client isolation. Use it to add a new wireless network through the official API.

Instructions

Create a WiFi broadcast (SSID) (official POST /wifi/broadcasts), from the official Wifi broadcast create or update request. Security: {type OPEN|WPA2_PERSONAL|WPA3_PERSONAL|WPA2_WPA3_PERSONAL|WPA2_ENTERPRISE|..., passphrase (8-63), pmfMode, presharedKeys, ...}. The passphrase is never shown back.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "type": "<type>",
      "enabled": "<enabled>",
      "hideName": "<hideName>",
      "clientIsolationEnabled": "<clientIsolationEnabled>",
      "multicastToUnicastConversionEnabled": "<multicastToUnicastConversionEnabled>",
      "uapsdEnabled": "<uapsdEnabled>",
      "securityConfiguration": "<securityConfiguration>"
    },
    "name": "unifi_create_wifi"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSSID
siteNoSite name, id or reference; optional while the console has a single site
typeYes
enabledYes
networkNoWhich network the SSID puts clients on: NATIVE (the default network) or SPECIFIC
hideNameYes
mloEnabledNo
uapsdEnabledYes
arpProxyEnabledNoSTANDARD only (required there)
channel2gLockedTo6No
advertiseDeviceNameNoSTANDARD only (required there)
bandSteeringEnabledNo
bssTransitionEnabledNoSTANDARD only (required there)
hotspotConfigurationNoHotspot (captive portal, Passpoint) (official request schema)
clientFilteringPolicyNoMAC filtering (official request schema)
dtimPeriod2gLockedTo3No
securityConfigurationYesSecurity: {type OPEN|WPA2_PERSONAL|WPA3_PERSONAL|WPA2_WPA3_PERSONAL|WPA2_ENTERPRISE|..., passphrase (8-63), pmfMode, presharedKeys, ...}. The passphrase is never shown back.
clientIsolationEnabledYes
mdnsProxyConfigurationNomDNS proxy (official request schema)
broadcastingDeviceFilterNoWhich APs broadcast it (official request schema)
multicastFilteringPolicyNoMulticast filtering (official request schema)
broadcastingFrequenciesGHzNoSTANDARD only (required there): bands to broadcast on
dnsAssistanceConfigurationNoDNS assistance (official request schema)
blackoutScheduleConfigurationNoBlackout schedule (official request schema)
basicDataRateKbpsByFrequencyGHzNoMinimum data rates (official request schema)
handoffSuggestionsConfigurationNoHandoff suggestions (official request schema)
dtimPeriodByFrequencyGHzOverrideNoDTIM periods (official request schema)
multicastToUnicastConversionEnabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so safety is covered. The description usefully adds that this maps to the official create/update request and, importantly, that the passphrase is write-only and never returned - real behavior beyond the annotations. It does not disclose what happens on SSID name collision, partial failures, or why the operation is non-idempotent.

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

Conciseness4/5

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

Front-loaded with the action and endpoint, then the security sub-detail, in three dense sentences with no filler. The endpoint citation is arguably internal plumbing, but overall it is efficient for the amount of information conveyed.

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

Completeness2/5

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

For a 28-parameter, 8-required, deeply nested creation tool with no output schema, the description is thin: it never explains the IOT_OPTIMIZED vs STANDARD branch that makes many fields conditionally required, nor the site scoping default. It does cover the security object and a notable return-value constraint, but a caller cannot assemble a valid body from this text and the schema alone with confidence.

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?

With 28 parameters at 64% schema coverage, the description only touches the securityConfiguration object and largely restates that field's own schema description (type enum, passphrase 8-63, pmfMode, presharedKeys). The four unlabeled required booleans (hideName, clientIsolationEnabled, multicastToUnicastConversionEnabled, uapsdEnabled) and the two SSID "type" values get no explanation of meaning or interaction, so little is added beyond the schema.

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 concrete verb and resource ("Create a WiFi broadcast (SSID)") plus the underlying official endpoint (POST /wifi/broadcasts), which is unambiguous. Separation from siblings like unifi_update_wifi or unifi_list_wifi is implied by the create/list/update naming rather than stated in the text, so it stops short of a 5.

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 guidance on when to create a new SSID versus using unifi_update_wifi, nor on prerequisites such as site selection, the single-site default, or how the STANDARD vs IOT_OPTIMIZED choice changes required fields. The agent is left to infer everything about timing and preconditions.

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