Skip to main content
Glama

list_servers

Read-onlyIdempotent

List configured Fleetloom inventory hosts and their IDs, tags, and optional live memory, disk, and reachability so you can discover valid serverId values before placement or host comparisons.

Instructions

List configured Fleetloom inventory hosts: ids, tags, and optional live memory/disk/reachability. Use to discover valid serverId values before place_service, explain_host, or compare_hosts. With live=false (default), returns inventory only without SSH. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
liveNoIf true, SSH-poll each host and attach live memory/disk/reachability. If false or omitted, return inventory config only (faster, no SSH).
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. Changed2 schema fields 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)."
    • changedInput schema / properties / live / description
      Previous value: -"If true, poll hosts and include memory/disk reachability."New value: +"If true, SSH-poll each host and attach live memory/disk/reachability. If false or omitted, return inventory config only (faster, no SSH)."
  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, and non-destructive, so safety is covered. The description adds the behavior annotations cannot express: live=true SSH-polls every host, while the default mode is faster and makes no SSH connections — a real cost/latency signal for an agent. The trailing "Read-only" merely restates the annotation and earns no credit.

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 short sentences, capability first, then routing guidance, then the default-mode caveat. Nothing is padded and the most decision-relevant information is front-loaded.

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?

With no output schema, the description carries the burden of describing the return value, and it does so by naming the returned fields. Combined with the mode explanation and sibling routing, an agent has everything needed to call this correctly.

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 the schema already documents both the live flag and the inventory path override. The description restates the live default and its no-SSH consequence but adds no syntax or semantics beyond the field descriptions. Baseline 3 applies when the structured fields do the heavy lifting.

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 ("List configured Fleetloom inventory hosts") and enumerates what comes back: ids, tags, and optional live memory/disk/reachability. An agent can tell this is an enumeration tool 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 Guidelines4/5

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

Gives concrete when-to-use guidance by naming the downstream tools that consume its output (place_service, explain_host, compare_hosts), which is exactly the discovery-before-action pattern. It does not state when NOT to use it, but for a prerequisite listing tool that is a minor gap.

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