Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_nks_set_ip_acl

Idempotent

Configure IP ACL entries for an NKS cluster to restrict API server access; a required default action handles addresses not matched by any entry.

Instructions

Configure IP ACL for an NKS cluster to restrict API server access. defaultAction (allow|deny) is required and applies to addresses not matched by entries.

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>",
      "defaultAction": "<defaultAction>"
    },
    "name": "ncloud_nks_set_ip_acl"
  }
}

Input Schema

NameRequiredDescriptionDefault
entriesNoIP ACL entries (optional)
clusterUuidYesUUID of the cluster
defaultActionYesDefault action for addresses not matched by any entry

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / entries / items / additionalProperties
      Removed value: -false
  2. Changed6 schema fields changedv2.0.1
    • addedInput schema / properties / defaultAction
      Added value: +{
      +  "description": "Default action for addresses not matched by any entry",
      +  "enum": [
      +    "allow",
      +    "deny"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / entries / description
      Previous value: -"IP ACL entries"New value: +"IP ACL entries (optional)"
    • changedInput schema / properties / entries / items / properties / action / description
      Previous value: -"ACL action (allow or deny)"New value: +"ACL action for this entry"
    • addedInput schema / properties / entries / items / properties / action / enum
      Added value: +[
      +  "allow",
      +  "deny"
      +]
    • addedInput schema / properties / entries / items / properties / comment
      Added value: +{
      +  "description": "Free-text comment",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "clusterUuid",
      -  "entries"
      -]New value: +[
      +  "clusterUuid",
      +  "defaultAction"
      +]
  3. First observedv1.10.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is partly covered. The description adds the semantics of defaultAction but omits the critical set-vs-append behavior: whether supplying entries replaces the existing ACL wholesale or merges with it, which materially affects a 'set' operation.

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?

Two short sentences with the purpose front-loaded and no filler. The second sentence is partially redundant with the schema, which keeps it from being maximally efficient.

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 only three parameters, full schema coverage, and no output schema, the basics are covered. However, for a security-relevant mutation the description leaves out whether entries replace or extend the existing rule set and how allow/deny entries interact, which an agent needs to call this correctly.

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 clusterUuid, entries, and defaultAction. The description's note that defaultAction applies to unmatched addresses largely duplicates the schema text 'Default action for addresses not matched by any entry', adding no new constraint or format detail.

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 states a specific verb and resource ('Configure IP ACL for an NKS cluster') plus the effect ('restrict API server access'), which is more than a restatement of the name. It stops short of naming the read counterpart ncloud_nks_get_ip_acl, so the agent must infer the pairing from sibling names alone.

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?

Usage is only implied by the stated effect of restricting API server access; there is no explicit when-to-use, no mention of checking current ACLs first via the get sibling, and no stated prerequisites such as cluster state or permissions. An agent can guess the context but is given no routing 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