Skip to main content
Glama
MCP-OpenStack-Ops

MCP-OpenStack-Ops

by call518

Get Domains

get_domains

List Keystone domains subject to cloud policy or show one domain by name/ID, enabling OpenStack domain lookup for scoped operations.

Instructions

List Keystone domains subject to cloud policy, or show one domain.

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

Input Schema

NameRequiredDescriptionDefault
domain_nameNoOptional domain name or ID. When provided, show that domain; otherwise list domains.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.1.3
    • addedInput schema / properties / domain_name
      Added value: +{
      +  "default": "",
      +  "description": "Optional domain name or ID. When provided, show that\ndomain; otherwise list domains.",
      +  "type": "string"
      +}
  2. Addedv3.6.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. The verbs 'List' and 'show' imply a read-only, non-destructive operation, which is useful, but the description does not explain what 'subject to cloud policy' filters out, whether a missing domain raises an error or returns empty, or any pagination behavior. The presence of an output schema removes the need to document return values.

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?

A single sentence with no filler, front-loading the primary list behavior before the single-item variant. Nothing is repeated or wasted.

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?

This is a simple one-optional-parameter read tool with an output schema, so the description only needs to cover both modes, which it does. The only real gap is the unexplained 'subject to cloud policy' scoping, which could matter to an agent deciding whether this tool returns complete domain data.

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% and the single optional parameter already documents the list-vs-show switch in detail. The description mirrors that behavior but adds no extra semantics such as whether the value may be a name or an ID in a specific format beyond what the schema states. Baseline 3 applies since the schema does the work.

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 names a specific resource (Keystone domains) and two distinct operations (list vs. show one), which is a clear verb+resource statement. The qualifier 'subject to cloud policy' narrows scope but is jargon that an agent may not be able to resolve without outside knowledge. Sibling tools are all unrelated OpenStack resources, so no differentiation is required.

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?

Usage is implied rather than stated: 'or show one domain' signals the two modes, and the schema param confirms that supplying domain_name switches to single-domain mode. There is no explicit when-to-use/when-not-to-use guidance, no note on what the tool excludes, and no named alternative for domains outside the cloud-policy scope.

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