Skip to main content
Glama

List clients

list_clients
Read-onlyIdempotent

Lists connected WiFi and wired clients from a TP-Link Omada controller with MAC, IP, SSID, AP, VLAN, traffic counters, and session duration for monitoring and troubleshooting.

Instructions

List connected clients (WiFi and wired) with MAC, IP, SSID, AP, VLAN, traffic counters, session duration and…

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_clients"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNo
limitNoMax clients (1-5000, default 500)
cursorNo
fieldsNo
pageSizeNoOpt-in page size; excludes limit. Resume…
resultFormatNo

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.5.2
    • addedInput schema / properties / cursor
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / fields
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "mac",
      +      "name",
      +      "hostName",
      +      "ip",
      +      "wireless",
      +      "guest",
      +      "active",
      +      "ssid",
      +      "apName",
      +      "networkName",
      +      "vlan",
      +      "download",
      +      "upload",
      +      "duration",
      +      "lastSeen",
      +      "signal",
      +      "rssi",
      +      "signalLevel",
      +      "snr",
      +      "txRate",
      +      "rxRate",
      +      "uptime",
      +      "connectType",
      +      "radioId",
      +      "channel"
      +    ],
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array",
      +  "uniqueItems": true
      +}
    • addedInput schema / properties / pageSize
      Added value: +{
      +  "description": "Opt-in page size; excludes limit. Resume…",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / resultFormat
      Added value: +{
      +  "enum": [
      +    "legacy",
      +    "envelope"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv2.0.0
    • addedInput schema / properties / site
      Added value: +{
      +  "type": "string"
      +}
  3. First observedv1.2.2

TDQS

B3.1/5.0
Behavior3/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 needs no restating. The description adds useful context about what the results contain (traffic counters, session duration, VLAN/AP bindings) but says nothing about pagination behavior, result caps, or how cursor/pageSize interact with limit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence is efficient, but it is visibly truncated with a trailing ellipsis, so the one sentence it does have is incomplete rather than tight. There is no structural separation between what the tool returns and how to call it.

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

Completeness3/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, but with six parameters and 33% schema coverage the description should carry more weight on paging and the site scoping. The truncation leaves the definition feeling unfinished for a list endpoint with cursor-based pagination.

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 only 33%, and the description compensates partially by naming the kinds of fields available (MAC, IP, SSID, AP, VLAN, traffic counters, duration), which maps to the `fields` array. It adds no meaning for `site`, `limit`, `cursor`, `pageSize` or `resultFormat`, whose behavior must be inferred from terse schema text.

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?

States a specific verb and resource ("List connected clients") and scopes it to WiFi and wired, which implicitly separates it from list_wifi_clients and list_wired_clients. The sentence trails off with "...and", so the enumeration of returned attributes is never finished, leaving the scope slightly open-ended.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is given. With siblings like list_wifi_clients, list_wired_clients, search_clients and list_blocked_clients present, the agent gets no explicit routing rule; it must infer from the parenthetical that this is the unfiltered, all-client list.

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