Skip to main content
Glama

fleet_headroom

Read-onlyIdempotent

Report usable capacity above configured floors: free memory, disk and load headroom per host and tag profile, plus next-server sizing. Use it for capacity planning and fit checks.

Instructions

Report usable capacity above configured floors: free memory/disk and load headroom per host and per tag profile (e.g. storage-heavy, memory-heavy), plus next-server sizing when a profile is saturated. Use for capacity planning and “will another service fit?” questions. Prefer fleet_status for live health/pressure, place_service to choose a host, explain_host for one machine, and fleet_maintenance for reboot/kernel issues. Read-only SSH poll — does not place or change workloads. Call with no arguments to use the default inventory.

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_headroom"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
    • addedInput schema / properties / inventory / description
      Added 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.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is known. The description still adds real context beyond them: the data is gathered by a live 'Read-only SSH poll' (implying per-host latency/availability risk) and that it 'does not place or change workloads' clarifies scope. It does not mention failure behavior when a host is unreachable, which keeps it short of a 5.

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?

Three sentences, front-loaded with what the tool returns, then routing guidance, then the read-only caveat and default behavior. Every clause carries information an agent needs; nothing is padding.

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?

For a one-parameter read-only tool with no output schema, the description is nearly complete: it describes the returned content, the default invocation, and how it relates to every relevant sibling. The only gap is how partial failures or unreachable hosts surface in the report, which matters for a live SSH poll across a fleet.

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% for the single optional inventory parameter, and the schema itself already documents the FLEETLOOM_INVENTORY fallback chain. The description's 'Call with no arguments to use the default inventory' restates that default rather than adding new meaning, so this lands at the baseline of 3.

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 names a specific verb and resource ('Report usable capacity above configured floors') and enumerates what that includes (free memory/disk, load headroom per host and per tag profile, next-server sizing when saturated). It is immediately distinguishable from siblings like fleet_status and place_service, so an agent can choose it without opening the schema.

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?

It states the intended use case explicitly ('capacity planning and "will another service fit?" questions') and names four alternatives with the conditions that select them: fleet_status for live health/pressure, place_service for host selection, explain_host for a single machine, fleet_maintenance for reboot/kernel issues. Both when-to-use and when-not-to-use are covered.

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