Skip to main content
Glama

List servers

list_servers
Read-onlyIdempotent

Lists OpenStack servers in a project with status, flavor, image, addresses, and volumes, supporting name/status filters and pagination for browsing large sets.

Instructions

List servers in the project with status, flavor, image, addresses and volumes.

Paged with limit and marker. Use get_server for one server by ID.

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
nameNoName regex filter.
limitNoMaximum items to return (1-100, default 50).
markerNonext_marker from the previous page; omit for the first page.
statusNoServer status filter, for example ACTIVE or SHUTOFF.
project_idNoProject ID to work in; omit for the default project. Allowed values are listed by get_scope.

Output Schema

NameRequiredDescriptionDefault
itemsYes
limitYesMaximum number of items requested.
completeYesTrue when no more items exist beyond this page.
resourceYesResource type of the items.
project_idYesProject whose session produced the list.
next_markerNoPass as marker to read the next page; null when complete or when the API has no marker paging.
observed_atYesUTC time the list was read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / status / description
      Added value: +"Server status filter, for example ACTIVE or SHUTOFF."
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile carries no weight here. The description adds useful context that results are paged with limit/marker and that servers are returned enriched with flavor/image/addresses/volumes, but says nothing about cross-project visibility or page-size behavior beyond what the schema states.

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 with no filler; purpose and returned fields come first, then paging mechanics, then the sibling redirect. Every clause earns its place.

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 a full output schema the description need not explain return values, and the input schema covers all filters, so the description is nearly complete. The only minor gap is that 'in the project' versus the optional project_id override is left entirely to the schema.

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 description coverage is 100%, so all five parameters (name regex, limit, marker, status enum, project_id) are already documented in the schema. The description only echoes the limit/marker paging semantics and adds no filter behavior detail, so baseline 3 applies.

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 servers in the project') and immediately enumerates the returned fields (status, flavor, image, addresses, volumes), which tells an agent exactly what data this tool yields versus the single-object siblings.

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?

Explicitly routes the agent: 'Use get_server for one server by ID' names the alternative and the condition selecting it, and the paging sentence flags the paged nature. It stops short of guidance on when to use the name/status filters versus other list tools like list_flavors or list_volumes.

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