Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_hadoop_list_mysql_users

Read-only

Lists MySQL users with DDL privileges for Hive metastore integration by Cloud DB for MySQL instance number. Use it to find compatible users; only MySQL 8.0.x instances are supported.

Instructions

List MySQL users (with DDL privilege) usable for Hive metastore integration

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": {
      "cloudMysqlInstanceNo": "<cloudMysqlInstanceNo>"
    },
    "name": "ncloud_hadoop_list_mysql_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionCodeNoRegion code
cloudMysqlInstanceNoYesCloud DB for MySQL instance number (from ncloud_hadoop_list_mysql_instances). Only MySQL 8.0.x instances are supported for Hive metastore integration

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changedv2.2.0
    • changedInput schema / properties / cloudMysqlInstanceNo / description
      Previous value: -"Cloud DB for MySQL instance number"New value: +"Cloud DB for MySQL instance number (from ncloud_hadoop_list_mysql_instances). Only MySQL 8.0.x instances are supported for Hive metastore integration"
  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 bar is lower; the description still adds real value by disclosing that results are filtered to users holding DDL privilege. It stops short of describing what fields each user entry contains (username, host, grants), which matters for choosing one to wire into a metastore config.

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?

A single sentence with the resource, the filter, and the purpose all front-loaded; there is no filler or redundant restatement of the name. Nothing in it could be cut without losing signal.

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?

For a two-parameter read-only list tool with no output schema, the definition covers what it returns at a category level but not the shape of a result (user identity, allowed hosts, privileges). It is adequate to make the call, but leaves the agent guessing about what it will receive back.

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 both regionCode and cloudMysqlInstanceNo are documented in the schema, including the 8.0.x-only constraint and the pointer to ncloud_hadoop_list_mysql_instances. The description adds no parameter 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.

Purpose4/5

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

The description gives a specific verb and resource ('List MySQL users') plus two qualifying scopes: the DDL-privilege filter and the Hive-metastore integration purpose. It is clearly distinguishable from generic listing tools, though it never names the close sibling ncloud_list_mysql_users that an agent would otherwise have to disambiguate by schema inspection.

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?

Usage is implied by the phrase 'usable for Hive metastore integration', which signals the setup-tooling context in which this list is called. However, there is no explicit when-to-use statement, no exclusion, and no reference to the sibling ncloud_list_mysql_users that presumably returns users without the DDL filter.

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