Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_detach_policy_from_group

DestructiveIdempotent

Remove one or more IAM policies from a Naver Cloud group by providing policy IDs; set confirm=true to execute the destructive detach operation.

Instructions

⚠️ Destructive: Remove one or more IAM policies from a group. Policy IDs are sent in the request body as policyIdList (the API takes no policy ID in the path). Set confirm=true to execute.

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": {
      "groupId": "<groupId>"
    },
    "name": "ncloud_detach_policy_from_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to actually execute
groupIdYesGroup ID
policyIdNoSingle policy ID to detach. Merged into policyIdList when sent; kept for backward compatibility
policyIdListNoList of policy IDs to detach. Provide this or policyId

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 changedv1.12.0
    • changedInput schema / properties / policyId / description
      Previous value: -"Policy ID to detach"New value: +"Single policy ID to detach. Merged into policyIdList when sent; kept for backward compatibility"
    • addedInput schema / properties / policyIdList
      Added value: +{
      +  "description": "List of policy IDs to detach. Provide this or policyId",
      +  "items": {
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "groupId",
      -  "policyId"
      -]New value: +[
      +  "groupId"
      +]
  3. First observedv1.10.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known; the description adds real value by stating the confirm gate that must be satisfied before anything happens and by disclosing that the API accepts no policy ID in the path. It does not say what happens on partial failure or when a policy is not attached, which keeps it below a 5.

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?

Three short sentences with the destructive warning front-loaded, followed by the transport detail and the confirm requirement. No filler or repetition.

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 destructive tool with no output schema, the description supplies the two things an agent most needs: the destructive nature plus the confirm gate, and how IDs are transmitted. Only edge-case behavior (no-op vs error when a policy is absent from the group) is left uncovered.

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%, so the schema already documents groupId, policyId, policyIdList and confirm, including the note that policyId is merged into policyIdList. The description reinforces the confirm semantics but adds no new meaning about the ID parameters beyond restating the body-vs-path transport detail. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (Remove) and resource (one or more IAM policies from a group), and the 'from a group' scope distinguishes it from ncloud_detach_policy_from_sub_account without the agent needing to open either schema.

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?

It gives a required precondition (confirm=true to execute) and an implementation cue (IDs go in the request body, not the path), but it offers no explicit when-to-use or when-not guidance relative to siblings such as attach/delete policy operations. Usage is implied by the name and the delete semantics rather than stated.

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