Skip to main content
Glama

unifi_reconnect_client

Disconnects a UniFi client to trigger reconnection; protected networks require confirm=true, otherwise the change is previewed.

Instructions

Disconnect a client so it reconnects (legacy cmd/stamgr kick-sta). A client on a protected network (pi-cluster by default) needs confirm: true; without it the tool previews. 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_reconnect_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.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses the guard behaviour (protected networks such as pi-cluster), a preview/dry-run mode when confirm is absent, and the failure mode for ambiguous names. Those are exactly the traits an agent needs before calling a disruptive-sounding tool, and none contradict destructiveHint=false, because the disconnect is transient by design.

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 tight sentences, front-loaded with the action and mechanism, then the guard, then the ambiguity case. No filler and nothing repeated.

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 mutation tool with no output schema, it covers the main behavioural questions: dry-run, guard, and the ambiguous-input outcome. It doesn't say what the client experiences (how long until reconnect) or whether special permissions are needed, but nothing essential to a correct call is missing.

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 meaning the schema does not: the protected-network condition that determines when confirm is required and what an ambiguous client value returns. The explanation of confirm largely restates 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?

The description states a specific verb and resource ('Disconnect a client so it reconnects') plus the underlying mechanism ('legacy cmd/stamgr kick-sta'), so the effect is unambiguous. It never names a sibling, so the agent must infer on its own that this differs from unifi_block_client, which is a real distinction here.

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 concrete usage conditions: a protected network needs confirm: true, without it the tool previews, and an ambiguous name is a no-op that returns candidates. What's missing is an explicit statement of when to pick this over unifi_block_client or unifi_unblock_client.

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