Skip to main content
Glama

gaussdb__CreateClickHouseDatabaseUser

Creates a ClickHouse database user for a specified Huawei Cloud instance, assigning database access and DML permissions.

Instructions

[GAUSSDB] 创建数据库账号。

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": {
      "databases": "<databases>",
      "instance_id": "<instance_id>",
      "password": "<password>",
      "project_id": "<project_id>",
      "user_name": "<user_name>"
    },
    "name": "gaussdb__CreateClickHouseDatabaseUser"
  }
}

Input Schema

NameRequiredDescriptionDefault
dmlNoDML权限,默认2。
passwordYes账户密码。
databasesYes数据库列表。“*”表示所有数据库。
user_nameYes数据库账户名。长度为2-32个字符,必须以小写字母开头,小写字母或数字结尾,可以包含小写字母、数字以及下划线,不能包含其它特殊字符。
project_idYes租户在某一Region下的project ID。
instance_idYesClickHouse实例ID,严格匹配UUID规则。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses nothing beyond the bare action: no permission requirements, no idempotency or duplicate-user behavior, no explanation of what the dml default of 2 grants, and no indication of the return payload. For a write operation creating an account with credentials, this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no filler, but the brevity is under-specification rather than discipline — there is no front-loaded scope, engine context, or critical constraint. Nothing is wasted because almost nothing is said.

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?

For a six-parameter mutation tool with no annotations and no output schema, the description is far too thin: it omits engine scope, credential sensitivity, and what a successful creation yields. The rich schema partially compensates, but the behavioral side of the definition is essentially empty.

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% and all six parameters are documented in the schema, including the password, database list wildcard, and user_name format rules, so the description need not repeat them. It adds no meaning beyond the schema, which is the baseline-3 case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

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

The description gives a verb+resource ("创建数据库账号" / create database account), which is clear in the abstract, but it never mentions ClickHouse — the resource qualifier exists only in the tool name. It does not distinguish this from sibling creators such as CreateStarRocksDatabaseUser or CreateGaussMySqlDatabaseUser.

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 tool, no prerequisites (instance must exist, project permissions), and no mention of alternative tools for other engine types. An agent must infer everything from the name and siblings.

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