Skip to main content
Glama

list_clients_by_organization

Read-only

List stable client identities that match a single local tag or group. Supply exactly one of tag or group to get matching client MACs; list_client_groups shows available group names.

Instructions

List stable client identities for exactly one local tag or group.

Read-only operation: returns the persisted client keys (MACs) that match a single tag or group filter (local_only). Exactly one of tag or group must be supplied; supplying neither or both is an error. Use list_client_groups to discover group names.

Args: tag: Optional local tag to filter clients by; mutually exclusive with group. group: Optional local group name to filter clients by; mutually exclusive with tag. 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
tagNoOptional local tag to filter clients by; mutually exclusive with group.
siteNoSite to operate on. Defaults to "default".default
groupNoOptional local group name to filter clients by; mutually exclusive with tag.
deviceNoOptional device name to target a specific console; omit for default.
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

The description affirms the read-only behavior, adds that the result contains persisted MAC-based identities, and discloses the error condition for missing/conflicting filters. Since the readOnlyHint annotation already covers safety, the description adds meaningful operational context without contradicting the annotation.

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 opening sentences are tight, front-loaded, and high-value. The Args section mostly duplicates schema descriptions, adding minor redundancy, but the overall length is still proportionate and the layout is clear.

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?

All needed info is present: what is returned, the required filter constraint, error behavior, defaults, and a sibling pointer for discovering valid group names. The absence of an output schema is mitigated because the description states the return content (client keys/MACs).

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. The description adds a crucial semantic above the schema: the exact-one-of requirement for tag/group, which the schema's optional fields would otherwise obscure. It also explains site and device defaults, though this largely mirrors the schema descriptions.

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 names a specific operation ('List stable client identities') and a precise scope ('for exactly one local tag or group'). It also clarifies it returns persisted client keys (MACs), making the resource unambiguous. The pointer to list_client_groups further separates it from group-management siblings.

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 explicit invocation constraints: exactly one of tag or group must be supplied, and neither/both is an error. It also directs the agent to list_client_groups for discovering group names. However, it does not explicitly state when to prefer this over list_clients or list_all_clients, so it falls short of full alternative routing.

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