Skip to main content
Glama

fleet_status

Read-onlyIdempotent

Polls Tailscale and SSH hosts to return a plain-English health summary plus structured host facts. Use it to check hosts under pressure or live capacity, with hints for partial collection.

Instructions

Poll the Tailscale/SSH fleet and return a plain-English health summary plus structured host facts. Degraded hosts include collectionIssues (code, severity, impact, hint)—use those hints when collection is partial. Use when the user asks how the fleet looks, which hosts are under pressure, or for live capacity. Prefer fleet_headroom for spare capacity above floors, fleet_maintenance for reboot/kernel/failed units. Optional teach=true adds trigger-driven teachNotes (ontology concept slugs). Read-only — does not change hosts.

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

Input Schema

NameRequiredDescriptionDefault
teachNoIf true, include teachNotes[] keyed by ontology slugs (load-per-core, drift, …) for signals observed in this run.
inventoryNoOptional path to servers.json (absolute or ~/…). Overrides FLEETLOOM_INVENTORY for this call. When omitted, uses FLEETLOOM_INVENTORY or the Go CLI default (~/.config/fleetloom/servers.json).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.6
    • changedInput schema / properties / inventory / description
      Previous value: -"Optional path to servers.json. Defaults to FLEETLOOM_INVENTORY or the Go CLI default (~/.config/fleetloom/servers.json)."New value: +"Optional path to servers.json (absolute or ~/…). Overrides FLEETLOOM_INVENTORY for this call. When omitted, uses FLEETLOOM_INVENTORY or the Go CLI default (~/.config/fleetloom/servers.json)."
  2. First observedv0.2.5

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety restatement earns no credit, but the description discloses non-obvious behavior a caller needs: degraded hosts carry collectionIssues with code/severity/impact/hint, and partial collection should trigger the use of those hints. It stops short of describing polling cost, latency, or failure modes of the Tailscale/SSH sweep.

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 on what the tool returns, then alternatives, then the optional teach behavior; almost every sentence carries distinct information. The closing "Read-only — does not change hosts" is mildly redundant with the readOnlyHint annotation but serves as a useful reassurance.

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?

With no output schema, the description does the work of sketching the return payload (health summary, host facts, collectionIssues fields, teachNotes), which is enough for an agent to interpret results and react to degraded collection. Minor gap: polling cadence and what happens when the inventory path is missing are unaddressed.

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 both parameters are already documented, and the description only re-touches teach=true (teachNotes keyed by ontology slugs) without adding syntax or format beyond the schema. The inventory override parameter is not mentioned in the description at all, so nothing is added there.

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?

States a specific verb and resource ("Poll the Tailscale/SSH fleet") and immediately defines the return shape ("plain-English health summary plus structured host facts"), which separates it from diagnostic siblings like fleet_doctor or explain_host.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete triggering conditions ("how the fleet looks, which hosts are under pressure, or for live capacity") and explicitly routes the agent elsewhere with named alternatives: fleet_headroom for spare capacity above floors and fleet_maintenance for reboot/kernel/failed units.

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