Skip to main content
Glama

get_client_details

Read-only

Retrieve a complete UniFi client record by MAC address, including identity, connection state, IP, signal/AP association, and history. Use when you need deeper details than summary client lists provide.

Instructions

Get the full device record for one client by MAC address.

Read-only operation: returns the client's identity, connection state, IP, signal/AP association, and history. Deeper than list_clients/list_all_clients, which return summarized rows only.

Args: mac: Client MAC address to target. site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
macYesClient MAC address to target.
siteNoSite to operate on. Defaults to "default".default
deviceNoOptional device name to target a specific console; omit for default.
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, and the description reinforces this with 'Read-only operation'. It adds valuable behavioral context by enumerating what the response covers: identity, connection state, IP, signal/AP association, and history. No hidden mutation or side effects are implied.

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?

The description is well-structured and front-loaded: purpose, then read-only/return content, then sibling differentiation, then args. The Args block is somewhat redundant with the schema, but the overall length is appropriate and every section is clearly organized.

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?

The tool is a simple read operation, annotations cover safety, and the description lists the categories of returned data even without an output schema. It is complete enough for an agent to understand what it will get and when to use it, though exact response fields are not enumerated.

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 description coverage is 100%, so the schema already documents all parameters. The Args section in the description mostly repeats the schema fields and defaults, adding little new meaning beyond restating that 'device' is optional and defaults apply.

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?

The description states a specific verb ('Get'), a specific resource ('full device record for one client'), and the lookup key ('by MAC address'). It also explicitly differentiates itself from list_clients/list_all_clients by explaining it returns deeper detail than summarized rows.

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

Usage Guidelines5/5

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

The description explicitly names the alternative tools (list_clients/list_all_clients) and gives the distinguishing condition: use this when you need depth beyond summarized rows. This gives an agent clear routing guidance for choosing this tool over its closest siblings.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikeholownych/unifi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server