Skip to main content
Glama

create_keypair

Create a Nova keypair for OpenStack compute access: import an existing public key or generate a new keypair, with the private key returned only once at creation.

Instructions

Create a Nova keypair. A generated private key is returned once.

Service: Nova (compute). Mutates state. Pass public_key to import an existing key (no private key is returned). Otherwise Nova generates a keypair and the private key is included only in this response. It is not logged.

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": {
      "name": "<name>"
    },
    "name": "create_keypair"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
key_typeNossh
public_keyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares that the tool mutates state, that the private key appears only in this response, and that it is not logged. It leaves out idempotency behavior on repeated names and whether the operation is reversible via delete_keypair.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the core action and the one-shot return semantics. The line-broken phrasing is slightly fragmented, but no sentence is 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?

For a three-parameter mutation tool with an output schema available, the description covers the critical risk points (mutation, one-time private key, logging). The remaining gap is key_type semantics, which is not covered anywhere else.

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 0%, so the description must compensate. It explains public_key well (import mode suppresses the returned private key), but 'name' and especially 'key_type' (default 'ssh') receive no explanation of expected format or allowed values, so a third of the parameters remain opaque.

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 ('Create a Nova keypair') plus the key distinguishing behavior (private key returned once). It is clearly separable from delete_keypair and the countless other create_* siblings by resource name alone, though it never explicitly contrasts its scope with them.

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?

Gives explicit branching guidance: pass public_key to import an existing key, otherwise Nova generates one. That tells an agent which mode to pick, but there is no guidance on when to use this versus managing keys elsewhere or on prerequisites such as name uniqueness or required permissions.

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