Skip to main content
Glama

Get client

get_client
Read-onlyIdempotent

Retrieves details for a single client from a TP-Link Omada controller using a MAC address, hostname, or IP address for inspection and troubleshooting.

Instructions

Get one client by MAC address, hostname or IP address.

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": {
      "mac": "<mac>"
    },
    "name": "get_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
macYes
siteNo

Output Schema

NameRequiredDescriptionDefault
ipYes
macYes
nameYes
ssidYes
vlanYes
guestYes
activeYes
apNameYes
signalYes
uploadYes
downloadYes
durationYes
hostNameYes
lastSeenYes
wirelessYes
networkNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.5.2
    • changedOutput schema / properties / active / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
  2. Changed1 schema field changedv2.0.0
    • addedInput schema / properties / site
      Added value: +{
      +  "type": "string"
      +}
  3. First observedv1.2.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered without help from the description. The description adds no behavioral context of its own — nothing about what happens when the identifier matches multiple clients, when no client is found, or how 'site' scopes the lookup. It does not contradict the annotations, but it contributes nothing beyond them.

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. Its brevity is appropriate, though it is under-specified rather than genuinely tight.

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

Completeness2/5

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

An output schema exists, so return values need not be explained. However, for a lookup tool with an ambiguous identifier parameter and an entirely undocumented 'site' parameter, the description should clarify identifier resolution and site scoping, and it does neither.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and fails to. It claims lookup by MAC, hostname or IP, yet the schema exposes only a required field literally named 'mac' and an undescribed 'site' — leaving it unclear whether 'mac' accepts a hostname/IP or where site scoping applies. This ambiguity is created by the description rather than resolved by it.

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?

Concrete verb plus resource ('Get one client') with a clear single-record scope, which implicitly distinguishes it from the list_* siblings. It does not name list_clients or diagnose_client explicitly, so the differentiation is left to inference.

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 'one client' signals that this is a per-record lookup rather than a listing or diagnostic, which is usable guidance. There is no explicit statement of when to prefer it over list_clients or diagnose_client, and no prerequisites or failure conditions are described.

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