Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_list_mongodb_logs

Read-only

Retrieve paginated server or audit logs for a Cloud DB for MongoDB instance by instance number to inspect activity and troubleshoot issues.

Instructions

List server logs for a Cloud DB for MongoDB server instance

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

Input Schema

NameRequiredDescriptionDefault
pageNoNoPage number (pageSize is required when set)
logTypeNoLog type: log (server log, default) or auditlog
pageSizeNoPage size, 1-1000
cloudMongoDbServerInstanceNoYesCloud MongoDB server instance number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / pageNo / maximum
      Added value: +9007199254740991
  2. Changed3 schema fields changedv2.2.0
    • addedInput schema / properties / logType
      Added value: +{
      +  "default": "log",
      +  "description": "Log type: log (server log, default) or audit",
      +  "enum": [
      +    "log",
      +    "audit"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / pageNo
      Added value: +{
      +  "description": "Page number (pageSize is required when set)",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / pageSize
      Added value: +{
      +  "description": "Page size, 1-1000",
      +  "maximum": 1000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. First observedv1.10.1

TDQS

C2.9/5.0
Behavior2/5

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

The readOnlyHint annotation already establishes the safe read-only profile, so the description's remaining job is behavioral context. It says nothing about pagination behavior, log retention windows, result ordering, or the difference between 'log' and 'audit' data beyond what the schema enum already states, adding essentially no value over the structured fields.

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?

A single efficient sentence with the resource front-loaded and no filler. Brevity is appropriate, though the sentence is thin enough that the space saved is not used for any useful routing or behavioral detail.

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

Completeness2/5

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

With no output schema and four parameters, the description should at minimum indicate what a returned log entry contains or how pagination behaves. It provides none of that, leaving the agent to call blind on return shape and paging semantics.

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%, so all four parameters, including the logType enum and the pageNo/pageSize dependency, are already documented in the schema. The description adds no meaning beyond that, which is the expected baseline-3 outcome 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?

The description gives a specific verb (List) and resource (server logs) scoped to a Cloud DB for MongoDB server instance, which clearly separates it from the mysql/postgresql log siblings. It does not, however, distinguish itself from ncloud_export_mongodb_log, which reads as a related log operation.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus the export or search log siblings, nor any prerequisites such as the instance needing to exist or logging being enabled. The agent must infer the use case entirely from the name and resource.

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