Skip to main content
Glama

ncloud_kms_encrypt

Read-only

Encrypt base64-encoded plaintext (up to 32KB) using a KMS key tag. Supports 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.

Input Schema

TableJSON 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)
Behavior3/5

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

With readOnlyHint=true annotation, the description adds value by noting size limits and key type support. However, it does not disclose the return format (e.g., ciphertext) or note that encryption may produce non-deterministic results, which would be useful behavioral context beyond the annotation.

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?

The description is two concise sentences, front-loaded with the verb 'Encrypt', and every word contributes. No redundant 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?

For a tool with full schema coverage and an annotation, the description is adequate but incomplete: it does not mention that the output is ciphertext or clarify the role of the 'context' parameter for convergent encryption. Since there is no output schema, some return-value information would improve completeness.

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?

The input schema provides 100% description coverage for all three parameters (keyTag, context, plaintext). The tool description adds no additional parameter meaning beyond what the schema already states, so baseline 3 applies.

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 clearly states the action (Encrypt data), the resource (KMS key), and includes specific constraints (up to 32KB, current key version, AES256/RSA2048). This distinguishes it from sibling tools like decrypt or sign.

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 usage for encryption and provides important constraints (size, key types), but it does not explicitly mention when to use this tool over alternatives like ncloud_kms_decrypt or ncloud_kms_sign. It lacks explicit exclusions or alternative references.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sjk4425/ncloud-gov-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server