Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_kms_get_public_key

Read-only

Retrieve the public key of an RSA2048 or ECDSA asymmetric key by key tag, optionally for a specific version, defaulting to the latest enabled version. Use it to obtain a public key for encryption or signature verification.

Instructions

Get the public key for an asymmetric key (RSA2048 or ECDSA only). Returns the latest enabled version unless keyVersion is given.

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

Input Schema

NameRequiredDescriptionDefault
keyTagYesKey tag - unique identifier derived from key name
keyVersionNoKey version to query (1-100). Omit for the latest version; disabled versions cannot be queried

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changedv2.0.1
    • addedInput schema / properties / keyVersion
      Added value: +{
      +  "description": "Key version to query (1-100). Omit for the latest version; disabled versions cannot be queried",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. First observedv1.10.1

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already establishes the safety profile, so the bar is lower and the description does add value by disclosing an eligibility constraint (only RSA2048/ECDSA asymmetric keys) that implies a failure mode for symmetric keys. The rest roughly restates the schema's 'omit for latest, disabled versions not queryable' note, and the actual return format of the public key is never characterized.

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 short sentences, front-loaded with the core purpose, with the eligibility restriction and version default each stated once. No filler or redundant phrasing.

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?

There is no output schema, so the description carries the burden of explaining the return value, yet it only says it returns a 'version' rather than describing the public key payload (e.g., PEM/Base64 encoding, key size). Adequate for invocation, but incomplete for interpreting the result.

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% and both parameters are documented with ranges and the latest/disabled semantics, so the schema does the heavy lifting. The description adds only a thin restatement of the keyVersion default behavior and nothing about keyTag format or lookup failures.

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?

Names a specific verb and resource ('Get the public key for an asymmetric key') and narrows the eligible key types to RSA2048 or ECDSA, which lets an agent distinguish this from metadata-oriented siblings like ncloud_kms_get_key_info or ncloud_kms_get_key_version_list. It stops short of explicitly naming any sibling or stating which one to use instead.

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?

Guidance is limited to version selection ('Returns the latest enabled version unless keyVersion is given'), which is a usage rule but not a when-to-use-this-vs-alternatives rule. Nothing tells the agent when to prefer this over get_key_info or get_key_version_list.

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