Skip to main content
Glama
MCP-OpenStack-Ops

MCP-OpenStack-Ops

by call518

Get Compute Agents

get_compute_agents

List OpenStack Nova compute services and hypervisors, or retrieve one service by ID, with optional host filtering; use it to inspect cloud-wide compute agent status and capacity.

Instructions

List Nova compute services with their hypervisors, or show one service (like 'openstack compute service list' and 'openstack hypervisor list').

This is a cloud-wide administrative API; cloud policy usually restricts it to administrators. Hypervisor capacity is capacity, not measured usage.

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

Input Schema

NameRequiredDescriptionDefault
hostNoOptional host name that filters the list.
agent_idNoOptional compute service ID. When provided, show that service; otherwise list services and hypervisors.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.1.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does useful work: it discloses the administrative/policy restriction and adds the non-obvious semantic caveat that "Hypervisor capacity is capacity, not measured usage," which prevents misreading the results. It implies read-only access through "List" and "show" but never states it explicitly, and says nothing about pagination or result limits.

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, front-loaded with the capability and followed by the access constraint and the interpretation caveat. The parenthetical CLI references are compact and genuinely aid recognition; nothing is filler.

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?

An output schema exists, so return-shape explanation is not required, and both parameters are documented in the schema. The description covers the two things structured data cannot: the admin policy gate and the capacity-vs-usage interpretation. Only a note on read-only behavior or result volume is missing.

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 both parameters (host filter, agent_id) are already fully documented in the schema, including the mode switch behavior. The description's "or show one service" restates that same mode distinction rather than adding syntax, format, or interaction details. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description gives a specific verb and resource ("List Nova compute services with their hypervisors, or show one service") and even anchors it to the CLI equivalents, so an agent knows exactly what data comes back. It falls short of a 5 because a sibling, get_hypervisor_details, also concerns hypervisors and the description does not say how this listing differs from that detail view.

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 clearly describes both usage modes: list everything (optionally filtered by host) versus show a single service when an ID is supplied, matching the 'service list' / 'hypervisor list' framing. It also warns that cloud policy usually restricts the call to administrators, which is real pre-call context. It does not name any alternative tool or state when another listing tool should be chosen instead.

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

Deploy Server

Other Tools