Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_ncs_delete_objects

DestructiveIdempotent

Delete multiple objects or specific versions from an Ncloud Storage bucket in one call, with confirm=true required and per-key deleted/error results returned.

Instructions

[Ncloud Storage] ⚠️ Destructive: Delete multiple objects (optionally specific versions) from a Ncloud Storage bucket in one call (POST /?delete). Give plain keys or objects with versionId. Returns per-key results (deleted / errors) — the call is HTTP 200 even when some keys fail. 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": {
      "bucketName": "<bucketName>"
    },
    "name": "ncloud_ncs_delete_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysNoObject keys to delete (current versions). Use `objects` instead to target versions
quietNoQuiet mode — the response lists only failures
confirmNoMust be true to actually execute the destructive operation
objectsNoObjects to delete, each optionally with a versionId and an ETag condition
bucketNameYesName of the Ncloud Storage bucket
expectedBucketOwnerNox-amz-expected-bucket-owner — expected owner account number of the bucket: the account number inside any resource NRN (nrn:PUB:<service>:<region>:<accountNo>:…, e.g. from ncloud_resource_list_resources). The 36-char owner ID from ncloud_ncs_list_buckets is rejected as InvalidBucketOwnerAWSAccountID. A different owner is rejected with AccessDenied (403)
bypassGovernanceRetentionNoSend x-amz-bypass-governance-retention: true for objects under GOVERNANCE retention

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.1.0
    • addedInput schema / properties / expectedBucketOwner
      Added value: +{
      +  "description": "x-amz-expected-bucket-owner — expected owner account number of the bucket: the account number inside any resource NRN (nrn:PUB:<service>:<region>:<accountNo>:…, e.g. from ncloud_resource_list_resources). The 36-char owner ID from ncloud_ncs_list_buckets is rejected as InvalidBucketOwnerAWSAccountID. A different owner is rejected with AccessDenied (403)",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / objects / description
      Previous value: -"Objects to delete, each optionally with a versionId"New value: +"Objects to delete, each optionally with a versionId and an ETag condition"
    • addedInput schema / properties / objects / items / properties / etag
      Added value: +{
      +  "description": "Conditional delete: delete only if the current ETag equals this value, or '*' to delete only if the object exists. A failed condition is reported for that key as PreconditionFailed while the call still returns 200",
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / objects / items / additionalProperties
      Removed value: -false
  3. Changed6 schema fields changedv1.15.0
    • changedInput schema / properties / bucketName / description
      Previous value: -"Name of the bucket"New value: +"Name of the Ncloud Storage bucket"
    • addedInput schema / properties / bypassGovernanceRetention
      Added value: +{
      +  "default": false,
      +  "description": "Send x-amz-bypass-governance-retention: true for objects under GOVERNANCE retention",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / keys / description
      Previous value: -"Array of object keys to delete"New value: +"Object keys to delete (current versions). Use `objects` instead to target versions"
    • addedInput schema / properties / objects
      Added value: +{
      +  "description": "Objects to delete, each optionally with a versionId",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "key": {
      +        "description": "Object key",
      +        "type": "string"
      +      },
      +      "versionId": {
      +        "description": "Version ID to delete permanently",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / quiet
      Added value: +{
      +  "default": false,
      +  "description": "Quiet mode — the response lists only failures",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "bucketName",
      -  "keys"
      -]New value: +[
      +  "bucketName"
      +]
  4. First observedv1.10.1

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/idempotentHint annotations by disclosing the partial-failure contract: per-key deleted/error results returned under HTTP 200 even when some keys fail. Combined with the confirm gate and the governance-retention bypass flag, an agent knows the real side effects and failure semantics before calling.

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?

Front-loads the destructive warning, then endpoint, input modes, return contract, and the confirm requirement in five dense sentences. Every sentence carries distinct information with no padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive batch-mutation tool with no output schema, the description covers input modes, version targeting, the execute gate, and the non-obvious 200-with-errors return behavior. Nothing an agent needs to invoke it safely is missing.

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% and the schema already documents keys vs objects, versionId, confirm, quiet, and the ETag precondition in depth, so the baseline is 3. The description only lightly reinforces key/versionId and confirm usage without adding format details the schema lacks.

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?

States a specific verb and resource ('Delete multiple objects') and adds scope qualifiers ('optionally specific versions', 'in one call', POST /?delete) that separate it from the singular delete sibling. An agent can tell immediately that this is the batch delete path.

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

Usage Guidelines4/5

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

Explains the two input modes ('Give plain keys or objects with versionId') and the execution prerequisite ('Set confirm=true to execute'), which is clear operational context. It stops short of naming when to prefer ncloud_ncs_delete_object or list_objects for a single key, so it falls below an explicit when/when-not statement.

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