Skip to main content
Glama
UniFi Network API MCP Server

UniFi Network API MCP Server

by sevaepsteyn

client_details

Retrieve detailed information for a specific client using site and client UUIDs, enabling inspection of client attributes in the UniFi Network Controller.

Instructions

Get detailed information about a specific client.

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": {
      "site_id": "<site_id>",
      "client_id": "<client_id>"
    },
    "name": "client_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesSite UUID
client_idYesClient UUID

Output Schema

NameRequiredDescriptionDefault
idYesClient UUID
nameNo
typeYes
accessYes
ipAddressNo
connectedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; "Get" strongly implies a read-only lookup, which is the main behavioral signal available. It does not state what happens if the client_id or site_id is unknown, whether errors are raised or empty results returned, or any permission/scoping requirements for site_id.

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?

A single front-loaded sentence with zero filler. It is efficient, though its brevity leaves several agent-relevant questions unanswered rather than being maximally informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a simple two-parameter getter with a fully documented schema and an output schema, so return-value explanation is unnecessary. The remaining gap, error behavior on invalid IDs, is minor for a tool of this complexity.

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%, and the schema already labels both parameters with their UUID semantics, so the description adds no meaning beyond it. Baseline 3 applies when the schema does the work.

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?

"Get detailed information about a specific client" names a specific verb (get), resource (client), and scope (a single client), which separates it from the list-style sibling "clients." It stops short of naming that sibling explicitly, so the differentiation is inferred rather than stated.

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 phrase "a specific client" implies the tool is for single-record lookups once a client_id is known, but there is no explicit when-to-use guidance and no mention of when to prefer the "clients" list tool or how to obtain the required identifiers.

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