Skip to main content
Glama

Get server

get_server
Read-onlyIdempotent

Retrieve an OpenStack server's status, flavor, image, addresses, security groups, and volumes by server ID; use list_servers to find the ID first.

Instructions

Get one server by ID: status, flavor, image, addresses, security groups and volumes.

Use list_servers to find IDs by name or status. Returns not_found if the ID is not in the selected project.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "server_id": "<server_id>"
    },
    "name": "get_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesServer ID, as returned by list_servers.
project_idNoProject ID to work in; omit for the default project. Allowed values are listed by get_scope.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
imageNo
flavorNo
statusNo
hostnameNo
key_nameNo
addressesNo
created_atNo
updated_atNo
descriptionNo
security_groupsNo
attached_volumesNo
availability_zoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / server_id / description
      Added value: +"Server ID, as returned by list_servers."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile needs no restating. The description adds value beyond them by disclosing the not_found error behavior and that lookup is scoped to the selected project, both of which are non-obvious runtime traits.

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?

Two sentences, front-loaded with the core action and return fields, followed by disambiguation and one error case. Nothing is filler and no sentence repeats the schema or annotations.

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?

An output schema exists, so return values need no explanation, and annotations cover safety. What remains agent-relevant, which sibling supplies the ID and what happens on a bad ID, is stated explicitly, leaving no gap for a single-record read tool.

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 server_id (with its "as returned by list_servers" note) and project_id ("omit for default project", values from get_scope) are already fully documented. The description only repeats "by ID" and implies project scoping, adding no new parameter-level meaning; 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?

"Get one server by ID" names a specific verb and resource, then enumerates exactly what is returned (status, flavor, image, addresses, security groups, volumes). The final clause distinguishes it cleanly from list_servers, so an agent can tell them apart without opening either 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?

It explicitly routes ID discovery to list_servers ("to find IDs by name or status"), which is the exact condition that selects the sibling. It stops short of stating when not to use this tool (e.g., bulk retrieval) but the positive routing guidance is unambiguous.

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