Skip to main content
Glama

site-health-timeline

Read-only

Aggregates a per-site health snapshot including device stability, reboot count, WAN uptime, and optional client count over a lookback window, replacing five or more sequential API calls.

Instructions

Per-site health snapshot over a lookback window: devices with stability scores, reboots, WAN uptime, optional client count. Replaces 5+ sequential calls (devices + wan + reboots + clients). Caveats[] surfaces partial-data and API limitations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNameYesSite host name (e.g. 'USM')
lookbackDaysNoWindow for reboot detection in days (1-90, default 7)
extractFieldsNoComma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response tokens dramatically on large entities.
Behavior4/5

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

Annotations already indicate readOnlyHint and openWorldHint. The description adds context: it is a snapshot over a lookback window, includes multiple data points, and surfaces caveats about partial data and API limitations, which is valuable beyond the annotations.

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?

The description is concise (two sentences plus a parenthetical), front-loaded with the main purpose, and every sentence adds value without waste.

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?

Given no output schema, the description provides a high-level idea of returned fields (devices, stability scores, etc.) and notes caveats. It is fairly complete for agent understanding, though more detail on output structure would be beneficial.

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 100%, so baseline 3 is appropriate. The description does not add significant meaning beyond the schema; it mentions 'lookback window' but the schema already describes 'lookbackDays'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it provides a 'per-site health snapshot' with specific metrics (stability scores, reboots, WAN uptime, optional client count), distinguishing it from siblings that focus on individual metrics like 'detect-recent-reboots' or 'wan-uptime-trend'.

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?

The description mentions it 'replaces 5+ sequential calls', guiding the agent to use it when a combined snapshot is needed. However, it does not explicitly state when to use alternatives (e.g., for a single metric) or exclude edge cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/us-all/unifi-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server