Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_kms_create_custom_key

Generates a random data encryption key wrapped by a specified master key for envelope encryption, supporting AES256 or RSA2048 key types.

Instructions

Generate a random raw key (data encryption key) wrapped by the specified master key. Used for envelope encryption. Only AES256 or RSA2048 key types supported.

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

Input Schema

NameRequiredDescriptionDefault
bitsNoKey size in bits: 128, 256 (default), or 512
keyTagYesKey tag - unique identifier derived from key name
contextNoBase64-encoded context for convergent encryption (max 50 bytes)
requestPlainKeyNoWhether to return the plaintext key (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv1.10.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description carries most of the behavioral burden. It usefully discloses that the key is random and wrapped by a master key and that only AES256/RSA2048 are supported, but it does not say whether the generated key is persisted, whether it can be retrieved later, or what happens when requestPlainKey is false. There is also tension between the stated AES256/RSA2048 limit and the schema's bits option of 512.

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?

Three compact sentences with the core action front-loaded and no filler. The purpose, the use case, and the key-type constraint each earn their place.

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?

For a four-parameter generation tool with no output schema and only a single annotation, the definition should say more about what is returned (wrapped key vs. plaintext depending on requestPlainKey) and whether the key persists. Those gaps matter for correct invocation, though the core operation is described adequately.

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 all four parameters are already documented. The description adds conceptual framing (wrapped by the specified master key, envelope encryption) but no extra syntax or constraints per parameter, and its key-type restriction arguably conflicts with the schema's bits parameter rather than clarifying it. 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?

The description states a specific verb and resource: generate a random raw data encryption key wrapped by a specified master key, plus the envelope-encryption purpose. It does not explicitly contrast itself with the sibling ncloud_kms_create_key, so an agent must infer that this tool makes data keys rather than master keys, but the verb+object are still unambiguous.

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?

"Used for envelope encryption" implies when the tool applies, and the key-type limit narrows its scope. However, there is no explicit when-not guidance, no mention of prerequisites such as an existing master key, and no routing to alternatives like ncloud_kms_create_key for creating a master key.

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