Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_kms_encrypt

Read-only

Encrypt up to 32KB of base64-encoded data with the current version of a specified KMS key, supporting AES256 and RSA2048 key types.

Instructions

Encrypt data (up to 32KB) using the current version of a KMS key. 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>",
      "plaintext": "<plaintext>"
    },
    "name": "ncloud_kms_encrypt"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyTagYesKey tag - unique identifier derived from key name
contextNoBase64-encoded context for convergent encryption (required if key has convergent encryption enabled, max 50 bytes)
plaintextYesBase64-encoded plaintext data (string or array of strings, max 32KB each)

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

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

readOnlyHint=true already tells the agent this is non-mutating; the description adds useful operational constraints: current key version, max size, and supported key types. It does not explain permission requirements, error behavior for unsupported keys, or the returned ciphertext format, so the added context is helpful but not complete.

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?

Two compact sentences front-load the action and constraints, with no repetition or filler. Every clause carries operational information.

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

Completeness4/5

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

The tool is moderately complex but has full schema coverage and a read-only annotation; the description supplies the key version, size, and key-type constraints needed for safe invocation. It does not describe the return value or error cases, but for this straightforward cryptographic operation the definition is largely complete.

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 coverage is 100%, so keyTag, plaintext, and context are already documented in the schema, including the convergent-encryption context requirement and 32KB plaintext limit. The description restates the size and key-type constraints but adds no parameter-level meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb-resource pair ('Encrypt data') and scopes it to the current version of a KMS key, with key-type and size limits. It is readily distinguishable from decrypt, reencrypt, and sign siblings by the operation itself.

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?

It states the encryption operation and hard constraints (32KB, AES256/RSA2048) but gives no explicit when-to-use guidance, prerequisites, or named alternatives such as ncloud_kms_decrypt. Usage is implied by the operation rather than fully guided.

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