Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_ncs_put_object

Upload a text object to an Ncloud Storage bucket with optional storage class, server-side encryption, and Object Lock headers. Use dryRun=true to preview before writing.

Instructions

[Ncloud Storage] Upload a text object to a Ncloud Storage bucket (PUT /{key}). Optional storage class (STANDARD (default): Standard Class | ONEZONE_IA: One Zone-IA (Infrequent Access) Class | DEEP_ARCHIVE: Archive Class), server-side encryption and Object Lock headers. Use dryRun=true to preview.

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>",
      "key": "<key>",
      "body": "<body>"
    },
    "name": "ncloud_ncs_put_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesObject key (path) to upload to, e.g. 'folder/file.txt'
bodyYesContent to upload as the object body
dryRunNoIf true (default), returns a preview without actually uploading
ifMatchNoIf-Match — write only if the current object's ETag equals this value (quotes optional). '*' is not supported. Cannot be combined with ifNoneMatch. Fails with 412 PreconditionFailed otherwise
bucketNameYesName of the Ncloud Storage bucket
contentTypeNoContent-Type of the object (e.g. 'text/plain', 'application/json')
ifNoneMatchNoIf-None-Match — only '*': write only if no object with this key exists (create-only). Cannot be combined with ifMatch. Fails with 412 PreconditionFailed if the key exists
storageClassNox-amz-storage-class — STANDARD (default): Standard Class | ONEZONE_IA: One Zone-IA (Infrequent Access) Class | DEEP_ARCHIVE: Archive Class. Omit to use STANDARD
objectLockModeNox-amz-object-lock-mode — GOVERNANCE | COMPLIANCE (bucket must have Object Lock enabled; give objectLockRetainUntilDate too)
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)
objectLockLegalHoldNox-amz-object-lock-legal-hold — ON | OFF
serverSideEncryptionNox-amz-server-side-encryption — AES256 (SSE-S3) | aws:kms
objectLockRetainUntilDateNox-amz-object-lock-retain-until-date, ISO 8601 (e.g. 2027-01-01T00:00:00Z)

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"
      +}
    • addedInput schema / properties / ifMatch
      Added value: +{
      +  "description": "If-Match — write only if the current object's ETag equals this value (quotes optional). '*' is not supported. Cannot be combined with ifNoneMatch. Fails with 412 PreconditionFailed otherwise",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / ifNoneMatch
      Added value: +{
      +  "const": "*",
      +  "description": "If-None-Match — only '*': write only if no object with this key exists (create-only). Cannot be combined with ifMatch. Fails with 412 PreconditionFailed if the key exists",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed8 schema fields changedv1.15.0
    • changedInput schema / properties / bucketName / description
      Previous value: -"Name of the bucket"New value: +"Name of the Ncloud Storage bucket"
    • changedInput schema / properties / contentType / description
      Previous value: -"Content-Type header for the object (e.g., 'text/plain', 'application/json')"New value: +"Content-Type of the object (e.g. 'text/plain', 'application/json')"
    • changedInput schema / properties / key / description
      Previous value: -"Object key (path) to upload to"New value: +"Object key (path) to upload to, e.g. 'folder/file.txt'"
    • addedInput schema / properties / objectLockLegalHold
      Added value: +{
      +  "description": "x-amz-object-lock-legal-hold — ON | OFF",
      +  "enum": [
      +    "ON",
      +    "OFF"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / objectLockMode
      Added value: +{
      +  "description": "x-amz-object-lock-mode — GOVERNANCE | COMPLIANCE (bucket must have Object Lock enabled; give objectLockRetainUntilDate too)",
      +  "enum": [
      +    "GOVERNANCE",
      +    "COMPLIANCE"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / objectLockRetainUntilDate
      Added value: +{
      +  "description": "x-amz-object-lock-retain-until-date, ISO 8601 (e.g. 2027-01-01T00:00:00Z)",
      +  "type": "string"
      +}
    • addedInput schema / properties / serverSideEncryption
      Added value: +{
      +  "description": "x-amz-server-side-encryption — AES256 (SSE-S3) | aws:kms",
      +  "enum": [
      +    "AES256",
      +    "aws:kms"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / storageClass / description
      Previous value: -"Storage class to store the object in — STANDARD (default): Standard Class | ONEZONE_IA: One Zone-IA (Infrequent Access) Class | DEEP_ARCHIVE: Archive Class. Sent as the x-amz-storage-class header; omit to use STANDARD"New value: +"x-amz-storage-class — STANDARD (default): Standard Class | ONEZONE_IA: One Zone-IA (Infrequent Access) Class | DEEP_ARCHIVE: Archive Class. Omit to use STANDARD"
  4. Changed1 schema field changedv1.11.0
    • addedInput schema / properties / storageClass
      Added value: +{
      +  "description": "Storage class to store the object in — STANDARD (default): Standard Class | ONEZONE_IA: One Zone-IA (Infrequent Access) Class | DEEP_ARCHIVE: Archive Class. Sent as the x-amz-storage-class header; omit to use STANDARD",
      +  "enum": [
      +    "STANDARD",
      +    "ONEZONE_IA",
      +    "DEEP_ARCHIVE"
      +  ],
      +  "type": "string"
      +}
  5. First observedv1.10.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description must carry the full behavioral burden. It does disclose some useful behavior: dryRun defaults to true (so an agent knows the default is a no-op preview), and object lock modes require the bucket to have Object Lock enabled. It omits key behaviors such as whether an existing key is silently overwritten, permission requirements, and whether the body must be text-only versus arbitrary bytes.

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?

One front-loaded sentence opens with the action and resource, followed by the option summary and the dryRun note. The parenthesized enum glosses are somewhat redundant with the schema but remain scannable and short overall.

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?

For a 13-parameter mutation tool with no annotations and no output schema, the definition covers purpose, the notable options, and the dryRun safety valve, which is a reasonable amount. It leaves gaps on overwrite semantics and does not describe what the dryRun preview or a successful upload returns, which matters given there is no output schema to lean on.

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 all 13 parameters including conditional-request semantics and error codes. The description restates the storage-class enum values, which duplicates schema content rather than adding meaning. Baseline 3 is appropriate when the schema does the heavy lifting.

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: 'Upload a text object to a Ncloud Storage bucket (PUT /{key})'. An agent can tell this is the object-write tool, and 'text object' scopes it away from generic/binary uploads. It does not name the near-duplicate sibling ncloud_put_object or the object-lock/retention siblings, so differentiation is only partial.

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 usage directive ('Use dryRun=true to preview') and notes that storage class can be omitted to default to STANDARD. There is no explicit when-to-use/when-not guidance and no routing to alternatives such as ncloud_ncs_put_object_retention or ncloud_put_object, even though the sibling set contains many overlapping PUT operations.

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