Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_ncs_get_object

Read-only

Download an object from an Ncloud Storage bucket as text, optionally specifying a version ID or byte range. Restore DEEP_ARCHIVE objects first to avoid InvalidObjectState errors.

Instructions

[Ncloud Storage] Download an object from a Ncloud Storage bucket as text (GET /{key}). Supports a specific versionId and a byte Range. A DEEP_ARCHIVE object must be restored first (ncloud_ncs_restore_object) or the call fails with InvalidObjectState.

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

Input Schema

NameRequiredDescriptionDefault
keyYesObject key (path) to retrieve
rangeNoByte range to fetch, e.g. 'bytes=0-1023'
versionIdNoVersion ID of the object (versioning-enabled buckets). Omit for the current version
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)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field 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"
      +}
  2. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed3 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 / range
      Added value: +{
      +  "description": "Byte range to fetch, e.g. 'bytes=0-1023'",
      +  "type": "string"
      +}
    • addedInput schema / properties / versionId
      Added value: +{
      +  "description": "Version ID of the object (versioning-enabled buckets). Omit for the current version",
      +  "type": "string"
      +}
  4. First observedv1.10.1

TDQS

A4/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, and the description adds real value beyond it: the return is text rather than binary, a specific versionId and byte Range are honored, and the failure mode for archived objects is named with the exact error code (InvalidObjectState). It stops short of describing response shape or size limits.

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 tight sentences: capability first, optional modifiers second, failure prerequisite last. Every sentence carries distinct information and nothing is repeated from the schema.

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?

With no output schema, the description correctly carries the return-type burden by saying the object comes back as text, and it covers the main operational hazard (DEEP_ARCHIVE). For a 5-parameter read tool it is nearly complete, lacking only notes on large-object or range-response behavior.

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 bucketName, key, range, versionId, and expectedBucketOwner are already documented in structured fields. The description only echoes versionId and Range without adding format or constraint detail beyond the schema, so baseline 3 applies.

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 ('Download an object from a Ncloud Storage bucket as text') plus the underlying API (GET /{key}), so the operation is unambiguous. It does not explicitly distinguish itself from ncloud_ncs_head_object or the sibling ncloud_get_object, which keeps it short of a 5.

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?

Gives a concrete when-not condition and routes to the right alternative: a DEEP_ARCHIVE object must be restored via ncloud_ncs_restore_object first or the call fails. No general when-to-use guidance against metadata-only siblings is offered, but the prerequisite routing is genuinely useful.

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