Skip to main content
Glama

unifi_unblock_client

Idempotent

Unblock a blocked client to restore network access. Ambiguous names return candidates and change nothing.

Instructions

Unblock a blocked client (legacy cmd/stamgr unblock-sta). It gives access back, so it is never guarded. An ambiguous name returns the candidates and changes nothing.

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": {
      "client": "<client>"
    },
    "name": "unifi_unblock_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite name, id or reference; optional while the console has a single site
clientYesClient name, IP, MAC 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.2/5.0
Behavior4/5

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

Annotations already declare non-destructive, idempotent, closed-world behavior, and the description adds genuinely new traits: no confirmation guard is applied to this direction, and an ambiguous name is non-mutating, returning candidate matches instead. The legacy cmd reference is low-value filler but the safety semantics are useful.

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, action front-loaded, each carrying distinct information (what it does, that it is unguarded, and how ambiguity is handled). No waste.

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 tool with annotations but no output schema, the description covers the mutation profile and the ambiguity return path, which is what an agent needs to act safely. Minor gaps: no note on the optional site scoping or what a successful result contains.

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, but the description adds real meaning about the 'client' parameter's failure mode (ambiguous name → candidates, no change) and effectively explains why confirm is optional here, going beyond what the schema documents.

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+resource ('Unblock a blocked client'), names the underlying operation, and is unambiguously the inverse of the sibling block_client and distinct from unblock_ip which targets an address rather than a client.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the action itself and it clarifies that no confirmation gate applies ('never guarded'), which steers the agent away from stalling on the confirm parameter. It does not, however, state when to prefer this over related tools like reconnect_client or how to react to the ambiguity case beyond returning candidates.

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