Skip to main content
Glama

gaussdb__CreateStarRocksDatabaseUser

Create a StarRocks database user for a specified instance, assigning account credentials, database access, and DDL/DML permissions.

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

Input Schema

NameRequiredDescriptionDefault
ddlNoDDL权限,默认0。
dmlNoDML权限,默认2。
passwordYes账户密码。
databasesYes数据库列表。
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.8/5.0
Behavior2/5

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

No annotations are supplied at all, so the description carries the full burden of disclosure. It says only that an account is created and does not cover permission requirements, idempotency or duplicate-name behavior, password policy constraints, or the effect of omitting the ddl/dml defaults. For a mutation involving 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?

It is a single front-loaded sentence with no filler, which is positive, but it is under-specified rather than genuinely concise; the bracketed '[GAUSSDB]' tag consumes part of an already tiny payload, and the sentence does not carry actionable detail.

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 tool has seven parameters (five required), mutates security-relevant state to create an account with a password, and has neither annotations nor an output schema. Against that complexity, the one-line description leaves too much unstated: nothing about return value, failure modes, or permission scope.

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%; every parameter, including project_id, instance_id, databases, user_name, password, ddl, and dml, is documented inline with defaults and examples. The description therefore adds no parameter meaning of its own; baseline 3 is appropriate because the schema already does the work.

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 names a specific verb and resource: creating a StarRocks database account. That is far more informative than a tautology, and the resource/engine pairing is clear. It does not explicitly contrast itself with sibling operations such as DeleteStarRocksDatabaseUser or UpdateStarRocksDatabaseUserPassword, so it falls short of a 5.

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?

Nothing indicates when this tool should be chosen over its siblings, what prerequisites apply (for example, that the instance must exist and the project must be scoped), or what happens if the account already exists. The simple verb '创建' implies creation, but no usage context or exclusion is given.

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