Skip to main content
Glama

unifi_get_client

Read-onlyIdempotent

Retrieve a UniFi client by name, MAC, IP, or ID to view connection details, signal, rates, uptime, and traffic. Ambiguous names return candidates instead of guessing.

Instructions

Show one client by name, MAC, IP or id: network, AP or switch port, signal, rates, uptime, traffic and first/last seen. An ambiguous name returns the candidates, not a guess.

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_get_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite name, id or reference; optional while the console has a single site
clientYesClient name, MAC, IP address or id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral value the annotations do not: ambiguous names return candidate matches instead of a guessed single record, which changes how an agent must handle the response. It stops short of noting what happens when nothing matches.

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?

Two tight sentences, front-loaded with the action and identifier forms, followed by the most decision-relevant caveat. No filler or restated title.

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 read-only single-record lookup with no output schema, enumerating returned fields plus the ambiguity behavior covers nearly everything needed to call and interpret it. The only gap is the optional `site` scoping, which the schema itself already explains.

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 both parameters are already documented, including the accepted identifier forms for `client`. The description restates those forms and adds nothing about the optional `site` parameter or identifier precedence when a value could match multiple forms, so baseline 3 applies.

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 ("Show") and resource ("one client") plus the accepted identifiers, and the phrasing "one client" implicitly separates it from unifi_list_clients. It also enumerates the returned attributes (network, AP/switch port, signal, rates, uptime, traffic, first/last seen), so an agent knows both what it fetches and roughly what comes back.

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?

The "one client" framing implies lookup-of-a-single-entity versus the list tool, but no alternative is named and no when-not-to-use condition is given. The ambiguity sentence is genuinely useful context about behavior, but it is resolution guidance rather than usage guidance.

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