Skip to main content
Glama

list_clients

Read-onlyIdempotent

Retrieves connected and optionally inactive network clients from a TP-Link router or modem, showing hostname, IP, MAC, connection type, SSID, signal strength, and link rate.

Instructions

Devices on the network: hostname, IP, MAC, wired or Wi-Fi band and SSID, signal (dBm, closer to 0 is better; below -75 is weak) and link rate where the router reports them.

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
deviceNoName of a device from devices.toml (see the 'devices' command); omit for the default device.
include_inactiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • addedInput schema / properties / device
      Added value: +{
      +  "default": "",
      +  "description": "Name of a device from devices.toml (see the 'devices' command); omit for the default device.",
      +  "title": "Device",
      +  "type": "string"
      +}
  2. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful interpretation beyond that: dBm semantics ('closer to 0 is better; below -75 is weak') and the caveat 'where the router reports them', warning that some fields may be absent. It does not cover ordering, pagination or whether inactive/offline clients are included by default.

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 that leads with the resource and enumerates fields with the most useful caveats parenthesized. Dense but every clause carries information; no filler or repetition.

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?

With an output schema present, return values need not be explained, and annotations cover the safety profile, so the essentials are there for a two-parameter read tool. The gaps are the undefined include_inactive flag and the absence of routing guidance against client_history and find_client, which an agent would need to choose correctly.

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 50%: 'device' is documented in the schema, while 'include_inactive' has no description at all. The description adds no parameter meaning whatsoever, so the undocumented flag — which materially changes the result set — is left for the agent to guess. With zero parameters the baseline would be 4, but here the gap is real, dragging it to 3.

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 the resource and its fields concretely: 'Devices on the network: hostname, IP, MAC, wired or Wi-Fi band and SSID, signal ... and link rate'. This tells an agent it retrieves currently connected clients, implicitly distinguishing it from history- or lookup-oriented siblings, but it never uses an explicit verb like 'list' nor names a sibling to disambiguate.

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?

There is no when-to-use or when-not-to-use guidance. Nothing says whether this returns live association state versus the historical data in client_history, or when find_client should be preferred. The include_inactive toggle is the clearest usage decision point and the description is silent on it.

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