Skip to main content
Glama
industrial-aiops

OT-AIops Energy

fleet_status

Read-only

Aggregate per-site status reports into one fleet health view, revealing overall status, score, and worst-performing sites.

Instructions

[READ][risk=low] Roll up per-site status reports into one fleet health view.

The tier above data_quality_fleet_rollup (per-endpoint within one site): this aggregates across
many edge SITES for central management. A site is 'offline' if its last_seen is older than
stale_after_s; fleet_status is the worst site status present. Read-only, pure; no device I/O.

Args:
    sites: Per-site reports, each
        [{site, location?, profile?, status?, score?, issues?, last_seen?}]; status ∈
        ok|degraded|critical|offline (else derived from score); score 0..1.
    stale_after_s: A site with no report newer than this is 'offline' (default 300).
    now: Optional ISO-8601 'now' for deterministic staleness (default: current UTC).

Returns dict: {site_count, fleet_status, fleet_score, by_status, worst_sites[], sites[]}.

Example: fleet_status(sites=[{"site":"sh","score":0.9},{"site":"bj","status":"critical"}]).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nowNo
sitesYes
stale_after_sNo
Behavior5/5

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

Annotations already mark it as read-only and non-destructive, and the description goes further by adding 'Read-only, pure; no device I/O,' explaining the offline logic based on stale_after_s, and clarifying that fleet_status is the worst site status present. This adds valuable behavioral context beyond the structured 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 well-structured with clear Args, Returns, and Example sections. Every sentence adds value—no filler—and the length is justified given the need to document three parameters and return semantics in the absence of schema descriptions.

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 no output schema, the description lists the return dict keys and explains the input behavior and output structure. It also provides an example, making the tool self-contained and fully understandable for an agent to select and invoke correctly.

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?

The schema provides no parameter descriptions (0% coverage), but the description fully compensates. It details the sites argument structure including optional fields and status values, defines stale_after_s with its default, explains now as an optional ISO-8601 timestamp for deterministic staleness, and even includes a usage example.

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 the tool's function: 'Roll up per-site status reports into one fleet health view.' It also differentiates itself from sibling data_quality_fleet_rollup by noting it aggregates across edge SITES rather than per-endpoint within one site, making its purpose distinct.

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 explicitly positions this tool as 'the tier above data_quality_fleet_rollup' for central management across sites, giving clear context for when to use it. However, it does not explicitly state when not to use it or mention alternatives beyond that one sibling, so it stops short of full exclusionary guidance.

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/industrial-aiops/industrial-aiops-energy'

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