Skip to main content
Glama
unifi-mcp-server

unifi-mcp-server

by PainInTheNic

Create WiFi Network (SSID)

unifi_create_wifi

Create a new UniFi WiFi network (SSID) by submitting a complete broadcast config; copy an existing SSID's shape and supply a real passphrase, since redacted values are refused.

Instructions

Create a new WiFi network (SSID / broadcast). 'config' is the full broadcast object. Because the required fields vary by type (a STANDARD SSID additionally needs advertiseDeviceName, arpProxyEnabled, broadcastingFrequenciesGHz, and bssTransitionEnabled on top of the base name, enabled, type, securityConfiguration, network, hideName, clientIsolationEnabled, uapsdEnabled, channel2gLockedTo6, dtimPeriod2gLockedTo3, multicastToUnicastConversionEnabled), the reliable path is to fetch an existing SSID with unifi_get_wifi (responseFormat='json'), copy its shape, and change name/network. Reads show the passphrase as '[redacted]' and a config still containing that placeholder is refused, so set a real passphrase in securityConfiguration (ask the user). Returns the created SSID.

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": {
      "config": "<config>"
    },
    "name": "unifi_create_wifi"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesFull WiFi broadcast object. Required: name, enabled, type, securityConfiguration, network, and the radio booleans. See unifi_get_wifi (json) for the shape. A config with any value still containing "[redacted]" (how reads show credentials) is refused: put the real value in, or leave the field out.
siteIdNoSite ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only say this is a non-idempotent, non-destructive, open-world write; the description adds genuinely new behavior: reads return '[redacted]' passphrases, a config containing that placeholder is refused, and a real passphrase must be supplied by asking the user. It also states the return value ('Returns the created SSID'). This is exactly the kind of validation/quirk disclosure annotations cannot carry.

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?

Purpose and the recommended procedure are front-loaded, and the redaction trap follows before the return note. The one cost is the long embedded parenthetical enumerating fourteen field names, which is dense to parse, though each element is informative rather than filler.

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 a create tool with a free-form nested object, no output schema, and 2 parameters, the definition covers shape discovery, the credential redaction pitfall, and the return value. Remaining gaps are minor: behavior on duplicate SSID names, permission requirements, and any need to enable the SSID after creation.

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 would be 3, but the description adds real meaning: required fields vary by SSID type and a STANDARD SSID needs advertiseDeviceName, arpProxyEnabled, broadcastingFrequenciesGHz and bssTransitionEnabled beyond the base set. That tells the agent the schema's free-form object is under-constrained, going beyond the schema text which only gestures at 'the radio booleans'.

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?

Opens with a specific verb and resource: 'Create a new WiFi network (SSID / broadcast)', which is unambiguous about the operation and target object. The only gap is sibling differentiation: 'unifi_create_network' sits in the catalog too, and nothing here clarifies that this tool creates a wireless broadcast rather than a VLAN/network object.

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?

Explicitly routes the agent: fetch an existing SSID with unifi_get_wifi (responseFormat='json'), copy the shape, then change name/network. That is a concrete, actionable procedure rather than vague context. It stops short of naming when NOT to use it (e.g., use unifi_update_wifi for existing SSIDs), so no exclusions are drawn.

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