Skip to main content
Glama

dws__UpdateDatabaseUserInfo

Update a DWS database user's login, role permissions, connection limit, lock status, and validity period in a specified cluster.

Instructions

[DWS] 修改指定用户信息。

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": {
      "cluster_id": "<cluster_id>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "dws__UpdateDatabaseUserInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
lockNo是否锁定
nameYesname
loginNo是否可以登陆
useftNo访问外表权限
inheritNo继承所在组权限
createdbNo创建数据库权限
auditadminNo审计管理员
cluster_idYescluster_id
conn_limitNo连接数限制
createroleNo创建角色权限
project_idYesproject_id
replicationNo是否允许流复制
systemadminNo系统管理员
valid_beginNo角色生效时间 yyyy-MM-ddTHH:mm:ssZ
valid_untilNo角色过期时间 yyyy-MM-ddTHH:mm:ssZ

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies mutation via "修改". It never states whether omitted fields are left untouched or reset, whether the change is reversible, what permissions are needed, or what confirmation is returned for a 15-parameter role-altering call.

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 short sentence with no wasted words, but here brevity reflects under-specification rather than disciplined structure. Nothing is front-loaded beyond the [DWS] tag, and no key constraint or warning is surfaced.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter mutation tool with no annotations and no output schema, one generic sentence is wholly inadequate. An agent cannot determine which of the 13 optional role attributes are safe to set, what mutually exclusive combinations exist, or what a successful response looks like.

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 the baseline of 3 applies even though the description adds no parameter detail. Worth noting the schema's own text is largely tautological for path fields ("name": "name", "cluster_id": "cluster_id"), so the effective guidance is weaker than the coverage number suggests.

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-plus-resource ("修改" + "用户信息") and tags the service as [DWS], which loosely separates it from Create/Delete/Show siblings. But "用户信息" is vague — it never says these are PostgreSQL-style role attributes (login, createdb, conn_limit, valid_until, etc.), so an agent cannot tell from the text what is actually being changed.

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 statement about partial vs full updates, no prerequisites for the required cluster_id/project_id/name, and no routing to the neighboring dws__UpdateDatabaseAuthority for privilege changes. The agent must infer all selection logic from sibling names 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