Skip to main content
Glama
hcloud-mcp
by Xodus-CO

create_ssh_key

Creates a new SSH key in Hetzner Cloud from a name and public key, trimming leading whitespace so the API accepts the input.

Instructions

Create a new SSH key (public_key is trimmed; the API rejects leading whitespace)

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>",
      "public_key": "<public_key>"
    },
    "name": "create_ssh_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
labelsNo
public_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=false, openWorldHint=true), so the description earns credit only for what it adds: the public_key trimming behavior and the fact that the upstream API rejects leading whitespace. That is a genuinely useful operational detail, but duplicate-name behavior, required permissions, and failure modes go unmentioned.

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?

One front-loaded sentence with a tight parenthetical; every clause carries information. The parenthetical placement is slightly awkward but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent create call against an external API with no output schema and zero documented parameters, the description should cover naming conventions, label semantics, and duplicate handling. It only covers public_key normalization, leaving most of the calling contract to guesswork.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description carries the full burden and covers only public_key. The mandatory 'name' parameter and the nested 'labels' map (additionalProperties string) receive no explanation of format or constraints.

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 states a specific verb and resource ('Create a new SSH key'), which clearly separates it from delete_ssh_key, update_ssh_key and list_ssh_keys. It stops short of naming those siblings, but the operation is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance: nothing about prerequisites, what to do if a key with the same name exists, or why one would pick create over update. The agent must infer the whole usage context from the name and siblings.

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