Skip to main content
Glama

Audit all visible sites

audit_all_sites
Read-onlyIdempotent

Audit Omada sites in bounded batches to return fleet health rollups with per-site coverage and partial results; requires OMADA_ALLOW_CROSS_SITE=true.

Instructions

Bounded fleet health rollup with per-site coverage and partial results. Requires OMADA_ALLOW_CROSS_SITE=true.

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

Input Schema

NameRequiredDescriptionDefault
maxSitesNoMax sites to audit per call (default 20)

Output Schema

NameRequiredDescriptionDefault
sitesYes
completeYes
warningsYes
truncatedYes
totalSitesYes
auditedSitesYes
partialSitesYes
requestLimitYes
totalDevicesYes
completeSitesYes
unhealthySitesYes
controllerRequestsYes
siteDirectoryStatusYes
totalOfflineDevicesYes
totalUpgradePendingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds real value on top: results may be partial, coverage is per-site, and an environment flag gates execution. 'Partial results' is exactly the kind of runtime behavior an agent needs to know to interpret output, though it doesn't say how partiality is signaled or what the cap does when exceeded.

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

Conciseness5/5

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

Two sentences, no filler, with the capability stated before the prerequisite. Nothing here could be cut without losing information.

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 and annotations carry the safety profile, so the remaining burden is small. Still, an agent gets no warning about cost or latency at maxSites=100, no indication of how a partial rollup is reported, and no pointer to the narrower audit alternative.

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?

The single maxSites parameter is fully documented in the schema (default 20, max 100, min 1). The word 'bounded' gestures at the cap but adds no syntax or tradeoff detail beyond what the schema already gives, so this sits at the baseline for high coverage.

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 resource and output shape: a 'bounded fleet health rollup with per-site coverage and partial results.' That distinguishes it from the single-target diagnostic and getter siblings, though it never names the closest alternative (network_audit) or says explicitly that it audits all visible sites as the title implies.

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?

The only guidance is a hard prerequisite, 'Requires OMADA_ALLOW_CROSS_SITE=true,' which tells the agent when the call will fail but not when to prefer this over network_audit or a per-site tool. Usage is implied by the fleet-wide framing rather than stated.

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