Skip to main content
Glama

ecs__NovaCreateKeypair

Creates an SSH key pair or imports an existing public key for Huawei Cloud ECS, enabling secure SSH access for cloud instances.

Instructions

[ECS] 创建SSH密钥,或把公钥导入系统,生成密钥对。

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": {
      "keypair": "<keypair>",
      "project_id": "<project_id>"
    },
    "name": "ecs__NovaCreateKeypair"
  }
}

Input Schema

NameRequiredDescriptionDefault
keypairYes创建或导入的SSH密钥信息。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden, yet it says nothing about required permissions, name-uniqueness constraints, or the fact that a generated private key is typically returned only once at creation. The only behavioral hint is the create-vs-import branch, which is thin for a mutating tool.

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 compact sentence with no filler, and the dual-mode behavior is front-loaded. It is efficient, though the brevity leaves the tool underexplained rather than over-written.

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

Completeness3/5

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

With only two top-level parameters, a fully described nested schema, and no output schema, the description is adequate to call the tool correctly. It is incomplete about what the call returns (private key material) and about failure conditions, which matters for a keypair-creation mutation.

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 name, type, user_id, public_key and project_id are all documented in the schema already. The description adds only the conceptual link that supplying a public key means importing rather than generating, which is marginal over the schema. Baseline 3 applies.

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+resource pair: create an SSH keypair, or import an existing public key to produce one. That cleanly separates it from the delete/show/list keypair siblings, which are named for other operations. No sibling is explicitly named, so it stops short of a 5.

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 description implies two usage modes (generate vs. import), which maps to whether public_key is supplied, but it never states that condition outright nor points to NovaListKeypairs/NovaShowKeypair for verification. Usage is inferable rather than stated.

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