Skip to main content
Glama

find_client

Read-onlyIdempotent

Locate a client by MAC, IP, or name and show its network connection, access point or switch port, and recent performance and connectivity issues.

Instructions

Find a client (laptop, phone...) and show where it connects and how it fares.

query is a MAC address, an IP address (IPv4 or IPv6), or part of a user name or device description. A MAC is looked up directly; an IP or a name searches the clients seen in the last hours (an IP over a day takes about 25 seconds at a busy site; a name scans at most 5,000 clients and says capped when there were more). For the best match it shows the client record (IP, VLAN, SSID, user, OS, last access point or switch port) and, for wireless clients over the last hours, its connection stats per step, connectivity events by type and access point with signal strength, the latest problems, and latency.

Args: query: MAC, IP, or part of a user name or description. network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window for the search and the history, 1-24 (default 1). top: How many other matches and events to list (1-20, default 5).

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": {
      "query": "<query>"
    },
    "name": "find_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
hoursNo
queryYes
networkNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered; the description goes further by disclosing latency, the 5,000-client scan cap with an explicit 'capped' marker, and that per-step connection stats are only produced for wireless clients within 'hours'. It stops short of covering failure/no-match behavior or any rate limiting, so not a 5.

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 summary sentence is front-loaded with scope and payoff, then a paragraph explains input-format tradeoffs and cost, then an Args block. The Args block partially duplicates the schema (defaults and 1-24 / 1-20 ranges) and repeats the query formats already defined in prose, which is minor waste but keeps the docstring self-contained.

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?

Despite 0% schema description coverage, an agent gets everything needed to call this correctly: accepted query formats, the search strategy per format, the network omission rule, the time window, result-count limits, and expected latency. Since an output schema exists, the extra prose describing the returned record and stats is bonus context rather than a required gap-filler.

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

Parameters5/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 it does: 'query' is fully specified as MAC, IPv4/IPv6, or a fragment of a user name or description, and each accepted format is tied to a different lookup strategy. 'network' is explained as omittable when only one network is in scope, and 'hours' (1-24, default 1) and 'top' (1-20, default 5) get ranges, defaults and meaning ('how many other matches and events to list').

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?

The description states a specific verb and resource ('Find a client (laptop, phone...)') and even previews the returned record ('where it connects and how it fares', then explicitly IP, VLAN, SSID, user, OS, last AP or switch port). It is clearly distinguishable from reporting siblings like health_check or daily_brief. It does not name a sibling such as find_api or resolve_entity to rule out overlap, which keeps it from a 5.

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 concrete per-input-mode guidance: MAC is looked up directly, while IP or name searches are bounded by the 'hours' window, plus practical cost expectations ('an IP over a day takes about 25 seconds at a busy site'; names capped at 5,000 clients and the response says 'capped'). What is missing is explicit when-not-to-use guidance or routing to an alternative tool for related questions.

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