Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_export_mongodb_log

Read-only

Exports a Cloud DB for MongoDB server or audit log file to Object Storage by using the MongoDB instance number, log file name, and target bucket name.

Instructions

Export a Cloud DB for MongoDB server log file to Object Storage. Get fileName from ncloud_list_mongodb_logs (same logType) and bucketName from ncloud_list_mongodb_buckets.

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": {
      "cloudMongoDbServerInstanceNo": "<cloudMongoDbServerInstanceNo>",
      "fileName": "<fileName>",
      "bucketName": "<bucketName>"
    },
    "name": "ncloud_export_mongodb_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
logTypeNoLog type: log (server log, default) or auditlog
fileNameYesLog file name (from ncloud_list_mongodb_logs)
bucketNameYesObject Storage bucket name (from ncloud_list_mongodb_buckets)
cloudMongoDbServerInstanceNoYesCloud MongoDB server instance number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed7 schema fields changedv2.2.0
    • changedInput schema / properties / bucketName / description
      Previous value: -"Object Storage bucket name"New value: +"Object Storage bucket name (from ncloud_list_mongodb_buckets)"
    • removedInput schema / properties / cloudMongoDbExportObjectList
      Removed value: -{
      -  "description": "List of log objects to export",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "fullObjectName": {
      -        "description": "Full object name of the log file to export",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "fullObjectName"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / cloudMongoDbInstanceNo
      Removed value: -{
      -  "description": "Cloud MongoDB instance number",
      -  "type": "string"
      -}
    • addedInput schema / properties / fileName
      Added value: +{
      +  "description": "Log file name (from ncloud_list_mongodb_logs)",
      +  "type": "string"
      +}
    • removedInput schema / properties / folderPath
      Removed value: -{
      -  "description": "Folder path in the bucket",
      -  "type": "string"
      -}
    • addedInput schema / properties / logType
      Added value: +{
      +  "default": "log",
      +  "description": "Log type: log (server log, default) or audit",
      +  "enum": [
      +    "log",
      +    "audit"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "cloudMongoDbInstanceNo",
      -  "cloudMongoDbServerInstanceNo",
      -  "bucketName",
      -  "cloudMongoDbExportObjectList"
      -]New value: +[
      +  "cloudMongoDbServerInstanceNo",
      +  "fileName",
      +  "bucketName"
      +]
  3. First observedv1.10.1

TDQS

A3.9/5.0
Behavior3/5

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

The readOnlyHint annotation already signals this does not mutate server state. The description adds that output lands in Object Storage as a file and that parameters are pre-requisite sourced, but does not disclose whether the export is asynchronous, how the object key is named, or whether repeated calls overwrite. With annotations covering the safety profile, this modest added context earns a 3.

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?

Two sentences, zero waste, with the operation stated first and the prerequisite sourcing second. Nothing is repeated or padded.

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?

No output schema exists, so the description should say what an agent gets back (job handle, object path, async status) and it does not. For an export tool that writes a file to a bucket, the file naming and completion behaviour are notable gaps, though the required-parameter sourcing is fully covered.

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 the origin hints for fileName and bucketName, so the schema already carries most semantics. The description adds one useful constraint beyond the schema: the logType must match between the list call and the export call. 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.

Purpose5/5

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

States a specific verb and resource: exports a MongoDB server log file to Object Storage, which is clearly distinct from the sibling backup export. An agent can identify the operation and its target without opening the schema.

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?

Explicitly names the prerequisite tools: fileName must come from ncloud_list_mongodb_logs with the same logType, and bucketName from ncloud_list_mongodb_buckets. Gives a clear workflow order, though it does not state when to prefer this over other export/backup tools or any exclusions.

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