Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_kms_get_key_activity_logs

Read-only

Retrieve usage history and activity logs for a specific KMS key to audit access and monitor changes. Filter results by keyword, time range, and pagination.

Instructions

Get activity logs (usage history) for a specific KMS key.

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

Input Schema

NameRequiredDescriptionDefault
keyTagYesKey tag - unique identifier derived from key name
pageNoNoPage number (default: 1)
keywordNoKeyword filter
pageSizeNoPage size (default: 100)
timestampToNoEnd of the range (Unix epoch milliseconds)
timestampFromNoStart of the range (Unix epoch milliseconds)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changedv2.0.1
    • addedInput schema / properties / keyword
      Added value: +{
      +  "description": "Keyword filter",
      +  "type": "string"
      +}
    • addedInput schema / properties / timestampFrom
      Added value: +{
      +  "description": "Start of the range (Unix epoch milliseconds)",
      +  "type": "number"
      +}
    • addedInput schema / properties / timestampTo
      Added value: +{
      +  "description": "End of the range (Unix epoch milliseconds)",
      +  "type": "number"
      +}
  3. First observedv1.10.1

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes this is a safe read, so the description is not carrying the full safety burden. It adds a small amount of context by clarifying that these logs represent key usage history, but says nothing about retention window, volume, pagination behavior, or ordering that would matter for a log-retrieval call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the resource and its scope are stated immediately. It is arguably too terse for a six-parameter tool, but nothing in it is wasted.

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?

With six parameters, a required keyTag, and no output schema, the description is minimally adequate: it identifies the resource and the key scoping but leaves the return shape, filter semantics, and how the activity records relate to KMS operations unexplained. The complete schema coverage offsets part of this, keeping it at a viable 3.

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%, with keyTag, pageNo, pageSize, keyword, timestampFrom and timestampTo all documented in the schema itself. The description adds no additional parameter meaning, and the time-range and keyword filters are not even hinted at, but the baseline of 3 applies given the complete schema documentation.

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 uses a specific verb ('Get') and resource ('activity logs') scoped to 'a specific KMS key', which is clearer than a generic log fetch. It does not, however, differentiate itself from similarly named siblings such as ncloud_get_activity_logs or ncloud_kms_get_latest_use_info, so an agent must infer the distinction from the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no named alternative. The parenthetical '(usage history)' hints at the content but does not say when an agent should pick this over other activity-log or KMS-info tools.

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