Skip to main content
Glama

delete_keypair

Delete a Nova keypair from an OpenStack project by requiring confirm=true for this destructive action. It removes the keypair record, not keys already on guests.

Instructions

Delete a Nova keypair.

Service: Nova (compute). Mutates state. Destructive. Requires confirm=true. Refused when confirm is missing or false. This does not delete the key from guests that already have it.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 explicitly declares 'Mutates state. Destructive,' documents the confirm gate and the failure mode when confirm is absent or false, and warns that the key is not removed from guests that already hold it. It stops short of stating permissions/auth requirements, irreversibility, or behavior when the named keypair does not exist.

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?

Five short, front-loaded lines with zero filler: what it does, service, mutation/destructive profile, required confirmation, and a scope caveat. The 'Service: Nova (compute)' line adds disambiguation rather than repeating the name.

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 destructive two-parameter tool with no annotations, the description covers the critical facts an agent needs: destructiveness, the confirm requirement, the refusal behavior, and the partial-cleanup caveat. Since an output schema exists, return values need not be described; the only remaining gap is auth/permission and not-found behavior.

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 0%, so the description must compensate. It does explain the semantics of 'confirm' (must be true or the call is refused), which is the non-obvious parameter, but 'name' is left to inference as the keypair identifier with no format or scope detail (project vs user scope). Partial compensation only.

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?

States a specific verb and resource ('Delete a Nova keypair') and immediately scopes the service ('Nova (compute)'), which cleanly separates it from the many other delete_* siblings such as delete_server or delete_volume. An agent can identify the target of the operation without opening the schema.

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?

The definition supplies a hard call-time precondition ('Requires confirm=true. Refused when confirm is missing or false'), which is useful invocation guidance. However, it never states when an agent should choose this over an alternative course of action (e.g., rotating versus removing a keypair) or what preconditions about ownership/existence apply, so usage is only implied by the verb.

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