Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_nks_update_access_entry

Idempotent

Updates Kubernetes groups and NKS access policies for an IAM access entry, replacing existing lists with supplied values.

Instructions

Update the Kubernetes groups and/or NKS access policies of an IAM access entry (PUT — the supplied lists replace the existing ones)

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": {
      "clusterUuid": "<clusterUuid>",
      "entryUuid": "<entryUuid>"
    },
    "name": "ncloud_nks_update_access_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupsNoKubernetes group names (replaces the existing list)
policiesNoNKS access policies (replaces the existing list)
entryUuidYesIAM access entry UUID
clusterUuidYesUUID of the cluster

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / policies / items / additionalProperties
      Removed value: -false
  2. Changed6 schema fields changedv2.0.1
    • removedInput schema / properties / accessEntryNo
      Removed value: -{
      -  "description": "Access entry number",
      -  "type": "number"
      -}
    • addedInput schema / properties / entryUuid
      Added value: +{
      +  "description": "IAM access entry UUID",
      +  "type": "string"
      +}
    • addedInput schema / properties / groups
      Added value: +{
      +  "description": "Kubernetes group names (replaces the existing list)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / kubernetesGroups
      Removed value: -{
      -  "description": "Kubernetes groups",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / policies
      Added value: +{
      +  "description": "NKS access policies (replaces the existing list)",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "namespaces": {
      +        "description": "Target namespaces — required when scope is 'namespace'",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "scope": {
      +        "description": "Policy scope",
      +        "enum": [
      +          "cluster",
      +          "namespace"
      +        ],
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "NKS access policy type",
      +        "enum": [
      +          "NKSClusterAdminPolicy",
      +          "NKSAdminPolicy",
      +          "NKSEditPolicy",
      +          "NKSViewPolicy"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "scope"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "clusterUuid",
      -  "accessEntryNo"
      -]New value: +[
      +  "clusterUuid",
      +  "entryUuid"
      +]
  3. First observedv1.10.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the description's job is to add context — and it does, by disclosing that the supplied lists overwrite rather than merge with existing values, which is the single most consequential behavior for a caller. It does not cover what happens to a field that is omitted, nor any authorization requirements.

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 no filler; the parenthetical carries the highest-value information (replace semantics, PUT). Slightly dense phrasing but nothing is wasted.

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?

For a 4-parameter tool with full schema documentation, no output schema, and annotations covering idempotency and safety, this is nearly sufficient. The remaining gap is the omitted-parameter case (does an absent list leave the existing list untouched?) and any permission requirements.

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 is 3; the description goes beyond it by clarifying that both groups and policies are optional (and/or) and that each supplied list replaces the stored one rather than appending. It adds no detail on the policy type/scope semantics, which the schema already handles.

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?

States a specific verb and resource (update an IAM access entry's Kubernetes groups and/or NKS access policies), which clearly separates it from create/delete/get/list access entry siblings. It stops short of naming an alternative, so it is clear but not fully differentiating.

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?

'and/or' plus the PUT note imply that either list may be updated independently and that this is the mutation path for an existing entry, but there is no explicit when-to-use, when-not-to-use, or prerequisite (permission/ownership) guidance.

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