Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_kms_decrypt

Read-only

Decrypt KMS-prefixed ciphertext with an AES256 or RSA2048 key tag, optionally supplying the base64 encryption context for convergent encryption.

Instructions

Decrypt ciphertext using a KMS key. Only AES256 or RSA2048 key types supported. Ciphertext must include KMS prefix (ncpkms:version:ciphertext).

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_decrypt"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyTagYesKey tag - unique identifier derived from key name
contextNoBase64-encoded context used during encryption (required if convergent encryption was used)
ciphertextYesCiphertext data including KMS prefix (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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuinely useful behavioral constraints beyond that: only AES256/RSA2048 keys are accepted and the ciphertext must carry the ncpkms:version: prefix. It says nothing about failure modes (disabled key, tag mismatch, convergent-encryption context missing) or what encodings are returned.

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, each carrying distinct information, with the core action front-loaded and constraints following. No filler or restatement of the tool name.

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 read-only decrypt operation the safety profile and input constraints are adequately covered by annotations and schema. However, with no output schema and no description of the return value (plaintext? base64? array when ciphertext is an array?), the agent cannot anticipate the response shape, which matters for a decrypt tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema lacks by spelling out the concrete prefix format "ncpkms:version:ciphertext" that the ciphertext parameter must satisfy. The context parameter's purpose (base64 context from convergent encryption) is left entirely to the schema.

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 gives a specific verb and resource ("Decrypt ciphertext using a KMS key") plus hard constraints on supported key types and the required ciphertext prefix format. It does not explicitly distinguish itself from ncloud_kms_encrypt, ncloud_kms_reencrypt, or ncloud_kms_sign, leaving the agent to infer the direction of the operation from the verb alone.

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?

Usage is only implied by the verb: use it when you hold KMS-prefixed ciphertext and want plaintext back. There is no statement about prerequisites (key must be enabled, matching key version/tag), no exclusions, and no pointer to the companion encrypt tool for the reverse direction.

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