Skip to main content
Glama

gaussdb__UpdateClickHouseDatabaseUserPermission

Update a ClickHouse database user's DML permissions for selected databases on a Huawei Cloud GaussDB instance.

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>",
      "dml": "<dml>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "user_name": "<user_name>"
    },
    "name": "gaussdb__UpdateClickHouseDatabaseUserPermission"
  }
}

Input Schema

NameRequiredDescriptionDefault
dmlYesDML权限。
databasesYes数据库列表。“*”表示所有数据库。
user_nameYes数据库账号名。
project_idYes租户在某一Region下的project ID。
instance_idYesClickHouse实例ID,严格匹配UUID规则。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior1/5

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

With no annotations, the description carries the full behavioral burden, yet it only says permissions are modified. It does not say whether the supplied dml value replaces all existing permissions, whether the operation is reversible, what authorization is required, or the effect of passing "*" in databases — a destructive-scope concern an agent must know before calling.

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?

The single short sentence contains no filler and is front-loaded, but it is under-specified rather than concise — the terseness comes at the cost of the operational detail an agent needs for a 5-required-parameter mutation.

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 permission-mutating tool with five required parameters, no annotations, and no output schema, the description should explain replace-vs-append semantics and wildcard scope. It provides none of that, leaving the agent to guess at the most consequential behavior.

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 every parameter including dml, databases, user_name, project_id, and instance_id is already documented, which sets the baseline at 3. The description adds no extra meaning beyond the schema, so it neither exceeds nor falls below that baseline.

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 names a verb (修改/modify) and a resource (数据库账号权限/database account permissions), which is enough to know it changes permissions rather than creating or deleting the user. However, it never mentions ClickHouse (only the tool name does) and does not distinguish itself from siblings such as UpdateStarRocksDatabaseUserPermission, AddDatabasePermission, or DeleteDatabasePermission.

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 when-to-use guidance, no prerequisite (e.g., user must already exist, instance must be running), and no direction toward alternatives like AddDatabasePermission for incremental grants. The agent must infer usage entirely from the tool name and schema.

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