Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_ncs_head_bucket

Read-only

Checks whether an Ncloud Storage bucket exists and is accessible, returning exists=false on 404 to identify missing or legacy Object Storage buckets.

Instructions

[Ncloud Storage] Check whether a Ncloud Storage bucket exists and is accessible (HEAD /). exists=false on 404. A NoSuchBucket here may mean the bucket lives in the legacy Object Storage instead — try ncloud_head_bucket.

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_head_bucket"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketNameYesName of the bucket to check
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. First observedv1.10.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description still adds genuine value by disclosing the 404 -> exists=false return semantics and the ambiguity of NoSuchBucket. It stops short of describing other failure responses (403 AccessDenied is only in the schema) or the full result shape, so it is not exhaustive.

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 clauses: the operation is front-loaded, followed by the 404 return contract, then the sibling fallback. No redundant restatement of the tool name or generic boilerplate.

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 no output schema, the description must carry return-value semantics: it explains exists=false on 404 but does not say what a successful response contains (exists=true only? headers?), nor does it cover other error outcomes such as 403 from an owner mismatch, which the agent only learns from the schema. Adequate for a probe tool, but leaves a gap an agent would hit on non-404 failures.

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%, including a detailed note on expectedBucketOwner (NRN account number, rejection of 36-char owner IDs, AccessDenied on mismatch). The description adds no parameter-level meaning beyond that, so the 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?

States a specific verb ('Check whether ... exists and is accessible') plus resource (Ncloud Storage bucket) and even names the underlying call (HEAD /). It is clearly distinguishable from the legacy ncloud_head_bucket, which it names explicitly.

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

Usage Guidelines5/5

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

Gives explicit routing logic: use this tool for new Ncloud Storage buckets, and if a NoSuchBucket result appears, try the legacy ncloud_head_bucket instead. That is a concrete when-to-use / what-to-do-next rule rather than implied usage.

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