Skip to main content
Glama

List compute services

list_compute_services
Read-onlyIdempotent

Lists running Nova daemons such as nova-compute with host and state; supports host, binary, and project filters. Requires elevated role; forbidden means missing permission, not an empty list.

Instructions

List running Nova daemons such as nova-compute with host and state. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

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

Input Schema

NameRequiredDescriptionDefault
hostNoHost name filter.
limitNoMaximum items to return (1-100, default 50).
binaryNoService binary, for example nova-compute.
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. Changed2 schema fields changedv0.1.2
    • addedInput schema / properties / binary / description
      Added value: +"Service binary, for example nova-compute."
    • addedInput schema / properties / host / description
      Added value: +"Host name filter."
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the privilege requirement ('usually needs more than a project reader role') and, critically, the error semantics — 'forbidden means the role is missing, not that the list is empty' — which prevents a serious misdiagnosis. It also states the result is unpaged, so the agent knows not to look for a cursor.

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, each carrying distinct information: what is listed, the auth/error caveat, and the pagination/filtering behavior. The most consequential point sits first and nothing is repeated.

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 an output schema present, return values need no explanation, and the description covers auth, error interpretation, and pagination. Minor gaps remain around default project behavior, which the schema covers and the description does not reinforce.

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 host, binary, limit and project_id are already documented in structured form. The description only echoes 'narrow with filters' and mentions host without adding syntax or interaction rules, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'List running Nova daemons such as nova-compute with host and state' — which is concrete enough to separate it from list_services and list_volume_services by scope. It stops short of explicitly naming those siblings, so an agent must infer the boundary rather than being routed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

'Not paged; narrow with filters' gives a usable invocation hint, and the role caveat tells the agent what a 'forbidden' outcome means. It never states when to prefer this over list_services or list_hypervisors, so the when-to-use decision is only implied.

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