Skip to main content
Glama

troubleshoot_client

Read-only

Troubleshoot a specific UniFi client by MAC address, analyzing connection history, signal quality, AP associations, roaming events, and potential issues to identify root causes.

Instructions

Run a deep-dive troubleshooting analysis for one specific client.

Read-only operation: it examines connection history, signal quality, AP associations, roaming events, and potential issues for the named client. Use get_client_experience_report for a site-wide client-quality overview, or get_client_details for the raw record of one client without the analysis.

Args: mac: MAC address of the client to troubleshoot. site: Site to query. Defaults to "default". device: Optional console/device name to target a specific UniFi console; omit to use the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
macYesMAC address of the client to troubleshoot.
siteNoSite to query. Defaults to "default".default
deviceNoOptional console/device name to target a specific UniFi console; omit to use the default.
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds value beyond that by disclosing exactly what the analysis examines: connection history, signal quality, AP associations, roaming events, and potential issues. It also reinforces the read-only nature in plain language. Minor gap: no mention of what the output looks like, but the behavioral scope is well disclosed.

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 front-loaded with the core purpose, followed by the read-only note and sibling routing, then argument details. Every section earns its place. The Args block is mildly redundant with the schema, but the structure is clean and scannable.

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?

Given 100% schema coverage, a read-only annotation, and the absence of an output schema, the description is nearly complete: it states scope, behavior, alternative routing, and parameters. The one gap is that it never hints at what the analysis returns (a report? a diagnosis list?), which would matter to an agent since no output schema exists.

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 fully documents all three parameters. The Args section in the description essentially repeats the schema's parameter descriptions without adding new semantics. Per the rubric, baseline 3 is correct when the schema carries the load.

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 uses a specific verb+resource pair ('Run a deep-dive troubleshooting analysis for one specific client') and explicitly differentiates from the two most relevant siblings: get_client_experience_report (site-wide overview) and get_client_details (raw record without analysis). An agent can tell exactly what this tool is for and what it is not.

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 names alternatives explicitly and gives the selection condition: use get_client_experience_report for site-wide overview, or get_client_details for a raw record without analysis. It also states the scope constraint ('one specific client') upfront, so the agent knows not to reach for this when a broader view is needed.

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