Skip to main content
Glama

Search clients

search_clients
Read-onlyIdempotent

Find and filter online or historical clients by MAC, name, hostname, IP, SSID, VLAN, or network to locate devices on an Omada site.

Instructions

Search online and offline/historical clients by MAC, name, hostname, IP, SSID, or VLAN/network, with…

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": "search_clients"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNo
ssidNo
vlanNoFilter by VLAN id (exact), e.g. 20
guestNo
limitNoMax clients (1-5000, default 500)
queryNo
activeNo
cursorNo
fieldsNo
pageSizeNoOpt-in page size; excludes limit. Resume…
wirelessNo
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",
      +      "blocked",
      +      "fixedIp",
      +      "fixedNetId"
      +    ],
      +    "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

C2.9/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 is covered. The description adds genuine value beyond them by disclosing that results span online AND offline/historical clients, which an agent could not infer from the annotations or schema. It does not disclose anything about result volume, pagination behavior, or the limit/pageSize tradeoff, and the sentence is truncated before completing its behavioral claims.

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

Conciseness2/5

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

The definition is short but structurally broken: it ends in an ellipsis mid-sentence, leaving an incomplete clause. Brevity here reflects truncation rather than disciplined editing, so the fragment does not earn its place as a complete statement.

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?

This is a 12-parameter search tool with 25% schema coverage and no required parameters, where the description carries most of the burden for explaining how to combine filters and paginate. An output schema exists so return values need not be explained, but the description is truncated and leaves the agent without guidance on pagination, filter combination, or alternatives. It is not complete enough to invoke confidently beyond the simplest single-identifier search.

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 only 25% across 12 parameters, so the description must compensate and largely does not. It maps loosely to query/ssid/vlan by naming MAC, name, hostname, IP, SSID and VLAN/network, but says nothing about cursor, pageSize vs limit interplay, fields projection, resultFormat, guest/active/wireless filters, or site scoping. The dangling 'with…' suggests that parameter detail was intended but lost.

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 ('Search ... clients') plus the searchable dimensions (MAC, name, hostname, IP, SSID, VLAN/network) and the scope 'online and offline/historical', which distinguishes it from the plain listing siblings such as list_clients. However, the sentence is cut off mid-clause ('with…'), so the full statement of purpose is never delivered.

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?

Usage is implied rather than stated: the enumerated identifiers tell an agent this is the lookup-by-attribute tool, and 'offline/historical' hints at the historical scope. There is no explicit when-to-use, no exclusion, and no named alternative (e.g. get_client for a single known client, list_clients for enumeration) — and the truncated tail likely contained that guidance.

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