Skip to main content
Glama

List Servers

list_servers
Read-onlyIdempotent

List the physical/virtual servers making up your Cycle infrastructure, grouped by cluster (Cycle uses clusters for physical isolation). Use to see what hardware exists, which cluster it belongs to, its provider and state, and the platform's view of its host agent (online, healthy, shutting_down, last_checkin; 'live' state alone does not mean reachable or healthy). hostname and nickname are matched as case-insensitive substrings, so a partial hostname is enough to find a specific server. cluster and state are exact filters applied by the Cycle API.

Each server also reports constraints: constraints.tags is the list of tags on that server, and constraints.allow.pool is true when the server accepts containers that specify no tags. Placement is driven by these SERVER tags — a container restricts itself to a subset of servers via its own config.deploy.constraints.node.tags (see deploy_application), and a Cycle cluster does NOT narrow placement on its own. Read tags here to confirm a tag exists before referencing it in a container constraint (set them with configure_server); note that if every server has allow.pool true, an unconstrained container can land on any of them.

Each server also reports 'virtualization': true means it can host virtual machines (see deploy_virtual_machine); absent means the capability is unknown (node stats unavailable). 'features' is the host configuration (base volume GB, ssh, sftp, gateway) and 'shared_file_systems' the shared directories and mounts (NFS etc.) the server exposes by identifier — the identifiers a container may mount via shared_file_systems; both are changed with configure_server. 'os' (kernel, CycleOS build), 'uptime', 'versions' (Cycle agent and compute) and 'drivers' are as of the node's last check-in. 'latest' holds Cycle's current platform and CycleOS versions; notes name online servers running older ones.

EVERY cluster visible to the credential is listed, including clusters that hold no servers at all (count 0, empty servers list) — a cluster exists on Cycle independently of any hardware in it, so an empty cluster here is a real cluster awaiting servers, not a missing one. This is the authoritative list of what clusters exist.

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
stateNoOnly return servers currently in this state.
clusterNoExact cluster identifier to scope to. Clusters are Cycle's unit of physical isolation.
contextNoWhy are you calling this tool? Briefly describe the user's goal.
hostnameNoCase-insensitive substring of a server hostname. A partial hostname is enough to locate a specific server.
nicknameNoCase-insensitive substring of a server's nickname (custom identification name).
workloadsNoAlso return, per server, the instances placed on it (container, environment, state, configured CPU/RAM reserve and limit) plus virtual machines and environment service instances, and Cycle's allocation totals: reserved CPU shares and RAM against what the server can allocate. Use to see what runs where or whether a server has room. Costs several extra API calls per server, so narrow with hostname, nickname, or cluster; refused when more than 25 servers match.
conversation_idNoConversation tracking id. Omit on your first tool call; every result then includes a conversation_id line — pass that exact value on all later calls in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workloads / description
      Previous value: -"Also return, per server, the instances placed on it (container, environment, state, configured CPU/RAM reserve and limit) and Cycle's allocation totals: reserved CPU shares and RAM against what the server can allocate. Use to see what runs where or whether a server has room. Costs two extra API calls per server, so narrow with hostname, nickname, or cluster; refused when more than 25 servers match."New value: +"Also return, per server, the instances placed on it (container, environment, state, configured CPU/RAM reserve and limit) plus virtual machines and environment service instances, and Cycle's allocation totals: reserved CPU shares and RAM against what the server can allocate. Use to see what runs where or whether a server has room. Costs several extra API calls per server, so narrow with hostname, nickname, or cluster; refused when more than 25 servers match."
  2. Changed1 schema field changed
    • addedInput schema / properties / workloads
      Added value: +{
      +  "description": "Also return, per server, the instances placed on it (container, environment, state, configured CPU/RAM reserve and limit) and Cycle's allocation totals: reserved CPU shares and RAM against what the server can allocate. Use to see what runs where or whether a server has room. Costs two extra API calls per server, so narrow with hostname, nickname, or cluster; refused when more than 25 servers match.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: 'live' state alone does not imply reachable or healthy, absent 'virtualization' means unknown capability, and empty clusters are real clusters rather than missing data. It also explains the semantics of constraints/allow.pool and that cluster does not itself narrow placement — none of which annotations or schema convey.

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?

Dense and front-loaded, with the core purpose in sentence one and the filters, constraints, and capabilities in ordered paragraphs. It loses a point for the closing cluster paragraph, which states the same point three times (every cluster listed / empty cluster is real / authoritative list).

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?

There is no output schema, yet the description enumerates the returned fields that matter — constraints, allow.pool, virtualization, features, shared_file_systems, os, uptime, versions, drivers, latest — and explains empty-cluster and state edge cases. For a 7-parameter read tool this leaves an agent nothing essential missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by adding domain semantics the schema lacks — that cluster is Cycle's unit of physical isolation and does NOT restrict container placement, and that tags are the real placement driver. It doesn't restate the workloads cost/refusal behavior because the schema already carries it.

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?

Opens with a specific verb+resource ("List the physical/virtual servers making up your Cycle infrastructure, grouped by cluster") and immediately scopes the concept of a cluster as physical isolation. This clearly separates it from list_containers, list_virtual_machines, and list_environments, which read different resource types.

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 usage conditions: read tags here before referencing them in a container constraint (set with configure_server), check 'virtualization' before deploy_virtual_machine, and confirm the container-placement relationship via deploy_application. It never states an explicit "do not use this when..." exclusion, but the sibling routing is largely implied by these pointers rather than spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources