Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_list_mysql_logs

Read-only

Lists available log files of a chosen type (BINARY, ERROR, SLOW, GENERAL, or AUDIT) for a Cloud DB for MySQL instance, so you can select filenames to export with ncloud_export_mysql_log.

Instructions

List DB server log files of one log type for a Cloud DB for MySQL server instance (use the file names with ncloud_export_mysql_log)

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": {
      "cloudMysqlServerInstanceNo": "<cloudMysqlServerInstanceNo>",
      "logType": "<logType>"
    },
    "name": "ncloud_list_mysql_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
logTypeYesLog type: BINARY (binlog), ERROR (error log), SLOW (slow query log), GENERAL (general log), AUDIT (audit log)
regionCodeNoRegion code (see ncloud_get_regions). Defaults to current region.
cloudMysqlServerInstanceNoYesCloud MySQL server instance number (not the instance number)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed4 schema fields changedv2.2.0
    • changedInput schema / properties / cloudMysqlServerInstanceNo / description
      Previous value: -"Cloud MySQL server instance number"New value: +"Cloud MySQL server instance number (not the instance number)"
    • addedInput schema / properties / logType
      Added value: +{
      +  "description": "Log type: BINARY (binlog), ERROR (error log), SLOW (slow query log), GENERAL (general log), AUDIT (audit log)",
      +  "enum": [
      +    "BINARY",
      +    "ERROR",
      +    "SLOW",
      +    "GENERAL",
      +    "AUDIT"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / regionCode / description
      Previous value: -"Region code (e.g. KR, SGN, JPN). Defaults to current region."New value: +"Region code (see ncloud_get_regions). Defaults to current region."
    • changedInput schema / required
      Previous value: -[
      -  "cloudMysqlServerInstanceNo"
      -]New value: +[
      +  "cloudMysqlServerInstanceNo",
      +  "logType"
      +]
  3. First observedv1.10.1

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's job is lighter. It adds the useful behavioral fact that results are scoped to a single log type and that the returned names are the input to the export tool, but says nothing about retention windows, empty results, or ordering.

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 sentence, front-loaded with the action and resource, with the export hint in a parenthetical rather than a trailing aside. Nothing is redundant, though the parenthetical is slightly compressed and reads as an afterthought.

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?

For a simple read-only three-parameter lister with a fully documented schema and no output schema, the description covers what is listed, the scoping constraint, and how the results are consumed. Only pagination and result-size behavior are left unmentioned.

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 an enum with per-value explanations for logType, so the schema carries parameter meaning. The description reinforces the 'one log type' constraint and the downstream use of returned file names, but adds no format or filtering detail beyond the schema — 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 ('List DB server log files') plus the scope ('of one log type for a Cloud DB for MySQL server instance'), which is enough to separate it from the export sibling. It stops short of explicitly distinguishing it from the parallel MongoDB/PostgreSQL log listers, but the name and subject matter make that clear.

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?

The parenthetical '(use the file names with ncloud_export_mysql_log)' implies a two-step workflow — list here, then export — but that is a follow-on hint, not an explicit when-to-use rule. There is no statement of prerequisites or of when another listing tool would be preferred.

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