Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_nks_create_access_entry

Create an IAM access entry for an NKS cluster by mapping an IAM user or role to Kubernetes groups or NKS access policies; requires API authentication.

Instructions

Create an IAM access entry for an NKS cluster: maps an IAM USER or ROLE (NRN) to Kubernetes groups and/or NKS access policies. Requires authType=API.

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>",
      "type": "<type>",
      "entry": "<entry>"
    },
    "name": "ncloud_nks_create_access_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesIAM principal type
entryYesNRN of the IAM USER or ROLE
groupsNoKubernetes group names to bind the principal to
policiesNoNKS access policies to attach (type + scope, namespaces when scope is 'namespace')
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. Changed8 schema fields changedv2.0.1
    • addedInput schema / properties / entry
      Added value: +{
      +  "description": "NRN of the IAM USER or ROLE",
      +  "type": "string"
      +}
    • addedInput schema / properties / groups
      Added value: +{
      +  "description": "Kubernetes group names to bind the principal to",
      +  "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 to attach (type + scope, namespaces when scope is 'namespace')",
      +  "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"
      +}
    • removedInput schema / properties / principalArn
      Removed value: -{
      -  "description": "IAM principal ARN",
      -  "type": "string"
      -}
    • changedInput schema / properties / type / description
      Previous value: -"Access entry type"New value: +"IAM principal type"
    • addedInput schema / properties / type / enum
      Added value: +[
      +  "USER",
      +  "ROLE"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "clusterUuid"
      -]New value: +[
      +  "clusterUuid",
      +  "type",
      +  "entry"
      +]
  3. First observedv1.10.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations supply only destructiveHint=false, so the description carries most of the behavioral burden. It usefully discloses the authType=API prerequisite, but says nothing about duplicate-entry behavior, required IAM permissions, whether groups and policies are mandatory-or-optional in combination, or what is returned on success. It does not contradict the annotation (create is a write, but is not claimed to be destructive).

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 clauses, both front-loaded with the essential identity of the tool and the one hard precondition. No filler, no restatement of the title, and the prerequisite is placed where it will be read before the call.

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?

Adequate for a 5-parameter mutation tool with a fully described schema and no output schema. The remaining gap is error and idempotency behavior for a create operation, which matters here because duplicate access entries are a realistic failure mode.

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%, so the schema already documents all five parameters including enums and the namespace-required rule. The description adds modest meaning by glossing entry as an NRN of an IAM USER/ROLE and by characterizing groups and policies as the target bindings, but no format example or constraint beyond the schema.

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 ("Create an IAM access entry for an NKS cluster") and adds what the entry actually represents: mapping an IAM principal NRN to Kubernetes groups and/or NKS access policies. That is enough to distinguish it from the delete/get/update/list access-entry siblings without opening their schemas, though it never names an alternative explicitly.

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?

Provides one concrete prerequisite, "Requires authType=API", which tells the agent the call will fail under other auth modes. It gives no guidance on when to prefer this over the update/get/list access-entry siblings, nor when a principal should get groups versus policies, so usage is only implied.

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