Skip to main content
Glama

gaussdb__UpdateStarRocksDatabaseUserPermission

Modify StarRocks database user permissions by updating DDL, DML, and accessible database lists for a specified account in a GaussDB instance.

Instructions

[GAUSSDB] 修改StarRocks数据库账号权限。

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

Input Schema

NameRequiredDescriptionDefault
ddlNoDDL权限。
dmlNoDML权限。
databasesNo数据库列表。
user_nameYes数据库账号名。
project_idYes租户在某一Region下的project ID。
instance_idYesStarRocks实例ID,严格匹配UUID规则。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 behavioral burden, yet it discloses nothing beyond 'modify'. It does not say whether the operation replaces or merges existing grants, whether it applies to all databases or only those listed, what permissions are required, or whether the change is reversible. For a mutating privilege-management tool this is a significant gap.

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?

The description is a single short sentence with no filler, which is structurally clean. Its brevity is not wasteful, but it is also so terse that it stops short of being informative rather than being efficiently complete.

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?

This is a 6-parameter mutation tool with no annotations and no output schema, so the description is the only place behavioral context could live. Given that complexity, one sentence restating the name leaves out the scope of the change, the effect on existing grants, and any prerequisite information an agent needs to call it safely.

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 (ddl, dml, databases, user_name, project_id, instance_id) is already documented in the schema, which sets the baseline at 3. The description adds no meaning about how ddl/dml integer values map to permission levels or how the databases array interacts with them.

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 sentence '修改StarRocks数据库账号权限' does state a verb (modify) and a resource (StarRocks database account permissions), so the general purpose is inferable. However, it is essentially a Chinese restatement of the tool name with no added specificity about which permissions or which account scope, and it gives no hint of how it differs from sibling operations such as UpdateStarRocksDatabaseUserPassword or AddDatabasePermission.

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 at all: no mention of prerequisites, no distinction between updating an existing user versus creating one, and no reference to any alternative tool. An agent must infer everything from the name and schema alone.

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