Skip to main content
Glama
unifi-mcp-server

unifi-mcp-server

by PainInTheNic

Delete WiFi Network (SSID)

unifi_delete_wifi
DestructiveIdempotent

Permanently removes a WiFi SSID from a UniFi network. Use to delete an unwanted broadcast; confirm first because connected clients lose the network.

Instructions

Delete a WiFi SSID. CAUTION: irreversible — connected clients lose this network. Confirm with the user. Set force=true to delete even if other resources reference it. IDs come from unifi_list_wifi.

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": {
      "wifiId": "<wifiId>"
    },
    "name": "unifi_delete_wifi"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoDelete even if other resources still reference this SSID (default false)
siteIdNoSite ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically.
wifiIdYesWiFi broadcast ID (UUID from unifi_list_wifi)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses the concrete consequence that connected clients lose this network and that the action is irreversible, plus a user-confirmation requirement and the force-override precondition. That is exactly the kind of impact information an agent needs before destroying a resource.

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?

Three short sentences, front-loaded with the action and immediately followed by the caution; every clause (irreversibility, client impact, confirmation, force, ID source) earns its place with no 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 3-parameter destructive tool with no output schema, the description covers the risk, the override parameter, and where IDs originate, while annotations handle the safety profile. The siteId auto-selection behavior is left entirely to the schema, which is a minor but real gap in the prose.

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 adds provenance for wifiId via unifi_list_wifi and frames force as an override of referential integrity, which is more useful than the schema's terse parenthetical. It says nothing extra about siteId, keeping it just above baseline.

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 opens with a specific verb+resource pair, 'Delete a WiFi SSID,' which is actionable and distinct from list/create/update siblings. It does not explicitly differentiate itself from the similarly named unifi_delete_network, so it falls short of a 5 on sibling differentiation.

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?

It gives clear operating conditions: confirm with the user first, and use force=true only when other resources may reference the SSID. It does not name an alternative tool or state when deletion should be avoided entirely, so it stops short of explicit when-not guidance.

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