Skip to main content
Glama

unifi_delete_wifi

DestructiveIdempotent

Deletes a UniFi WiFi broadcast, causing connected clients to drop off. Requires confirm: true; without it, only previews the change and warns about protected-network lockout.

Instructions

Delete a WiFi broadcast (official DELETE): its clients drop off. Always needs confirm: true; without it the tool previews. A broadcast that serves a protected network (pi-cluster by default), directly or through a pre-shared key, before or after the change, carries a lock-out warning.

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

Input Schema

NameRequiredDescriptionDefault
siteNoSite name, id or reference; optional while the console has a single site
wifiYesWiFi broadcast SSID (name) or id
confirmNoMust be true to carry out a guarded change; without it the tool only previews it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description adds real context beyond them: client disconnection as the side effect, the preview-vs-execute split tied to confirm, and a lock-out warning when the broadcast serves a protected network (pi-cluster by default) directly or via a pre-shared key, before or after the change. That is exactly the kind of blast-radius information an agent needs before a destructive call.

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?

Three compact sentences, front-loaded with the action and its consequence, then the guard, then the warning. The parenthetical '(official DELETE)' is minor noise, but nothing else is wasted.

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 destructive, three-parameter mutation with no output schema, the definition covers consequence, guard condition and a specific lock-out hazard. It leaves out permission requirements and whether the deletion is recoverable, which are the only notable gaps.

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 coverage is 100%, so the baseline is 3; the schema already documents site, wifi and confirm including the const-true constraint and preview behavior. The description's confirm guidance restates what the schema says rather than adding new semantics, and it says nothing extra about site scoping.

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?

States a specific verb and resource ('Delete a WiFi broadcast') and immediately names the consequence ('its clients drop off'), which lets an agent separate it from unifi_create_wifi, unifi_update_wifi, unifi_list_wifi and unifi_set_wifi_enabled without opening any schema.

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?

Gives a concrete invocation precondition ('Always needs confirm: true; without it the tool previews'), which tells the agent exactly how to call it safely. It does not explicitly route to a sibling (e.g. disabling via unifi_set_wifi_enabled instead of deleting), so it falls short of full when/when-not guidance.

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