Skip to main content
Glama

list_devices

Query all devices on an Omada site with normalized fields like status, uptime, and WiFi channels, so you can inspect device state without handling auth-mode differences.

Instructions

List devices on a site, normalized to one consistent shape regardless of auth mode (see formatting.normalize_device): connected, uptime_seconds, per-radio wifi_2g/wifi_5g channel info, and every raw field this package knows how to normalize - fields unavailable in the active auth mode are present as null rather than omitted, so a caller never has to branch on auth mode.

site_id defaults to OMADA_SITE_ID, or auto-selects if the controller manages exactly one site (legacy auth only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well for return-shape behavior: fields unavailable under the active auth mode appear as null rather than being omitted, so callers never branch on auth mode. It omits read-only/pagination/rate-limit disclosure, which is a gap for a list tool, but the null-filling contract is genuinely non-obvious behavioral information.

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?

Front-loaded with the purpose, then the normalization contract, then the parameter default. Two short paragraphs, no filler sentences. The detail on return shape is somewhat long for a one-parameter tool but each clause carries information.

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

Completeness4/5

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

An output schema exists, so raw return values need not be explained, yet the description usefully adds the null-semantics contract that the schema likely cannot express. It leaves out pagination/result-size behavior and any explicit read-only statement, which are the only notable gaps for a zero-required-arg list tool.

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

Parameters4/5

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

Schema coverage is 0% (the schema only says 'Site Id', default null), so the description must compensate — and it does: site_id falls back to OMADA_SITE_ID or auto-selects when the controller manages exactly one site (legacy auth only). That is real added meaning beyond the schema, including an auth-mode caveat.

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 devices on a site') and immediately qualifies the scope with the normalization guarantee. It does not name or contrast with any sibling (e.g. get_device_detail or get_clients), so the agent must infer boundaries itself, but the core purpose is unambiguous.

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 site_id defaulting rules (OMADA_SITE_ID, single-site auto-select) tell the agent it can call this with no arguments, which is useful context. However, there is no explicit when-to-use-this vs get_device_detail/get_clients guidance and no exclusions.

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