Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_kms_reencrypt

Re-encrypt ciphertext with the latest master key version to update encrypted data after key rotation. Supports AES256 and RSA2048 keys.

Instructions

Re-encrypt ciphertext with the latest version of the specified master key. Used after key rotation to update encrypted data. 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>",
      "ciphertext": "<ciphertext>"
    },
    "name": "ncloud_kms_reencrypt"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyTagYesKey tag - unique identifier derived from key name
contextNoBase64-encoded context for convergent encryption
ciphertextYesCiphertext to re-encrypt (string or array of strings)

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.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a meaningful constraint beyond the schema ('Only AES256 or RSA2048 key types supported'), but says nothing about required permissions, error behavior on unsupported key types, whether re-encryption is idempotent, or what the response contains.

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 short sentences, front-loaded with the action, followed by the trigger condition and the type constraint. No repeated or filler content.

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?

Given no annotations, no output schema, and a mutation-style operation, the description covers purpose, trigger, and a key-type restriction but omits permissions, the role of the 'context' parameter in convergent encryption, array handling, and return behavior. It is adequate but leaves real gaps for an agent invoking it.

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 three parameters (keyTag, context, ciphertext) are already documented in the input schema. The description adds no parameter-level meaning beyond that, so the baseline of 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 and resource ('Re-encrypt ciphertext') with an explicit scope ('with the latest version of the specified master key'), which makes it distinguishable from encrypt/decrypt siblings in the catalog. It stops short of explicitly contrasting itself with those siblings by name.

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?

Provides clear situational context: 'Used after key rotation to update encrypted data.' This tells the agent exactly when the tool applies. There is no explicit when-not guidance or named alternative (e.g., plain encrypt for new data), which keeps it below a 5.

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