Skip to main content
Glama

das__UpdateDbUser

Updates the username and password registered in DAS without changing the database instance user. Use it to correct stored DAS credentials after confirming they exist.

Instructions

[DAS] 修改注册在DAS里的数据库用户名和密码。此接口不会修改数据库实例上的数据库用户对象的用户名和密码。请确保输入的用户名和密码是已经存在并且是正确的。

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": {
      "db_user_id": "<db_user_id>",
      "db_user_password": "<db_user_password>",
      "db_username": "<db_username>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "das__UpdateDbUser"
  }
}

Input Schema

NameRequiredDescriptionDefault
db_user_idYes数据库用户ID。用户使用数据库账号与数据库建立的连接ID(数据库用户ID由注册数据库用户接口创建)。
project_idYes项目ID
db_usernameYes数据库用户名称
instance_idYes实例ID
db_user_passwordYes数据库用户密码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full burden. It does disclose one genuinely non-obvious trait: only the DAS-side registration is changed, not the actual database instance account. It omits permission or auth requirements, reversibility, what happens to existing connections, and error behavior when the credentials don't match.

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?

Three short sentences with zero padding, and the scope caveat is placed before the precondition. It is front-loaded and easy to scan, though the crucial 'does not modify the instance' clause sits mid-sentence rather than first.

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

Completeness3/5

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

For a credential-mutating tool with no annotations and no output schema, the definition covers scope and preconditions but leaves the failure mode, permission requirements, and effect on live sessions unaddressed. What is there is accurate but not fully sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains all five parameters; the baseline here is 3. The description adds a real constraint that the schema does not express (db_username and db_user_password must match existing, correct credentials), which changes how an agent fills those fields.

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 uses a specific verb and resource (修改注册在DAS里的数据库用户名和密码) and draws a clear conceptual boundary: it does NOT change the user object on the database instance. This clearly separates it from instance-level siblings like gaussdb__UpdateClickHouseDatabaseUserPassword, though it does not name a specific alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The usage context is implied rather than stated: the tool is for rotating credentials already registered in DAS. The description adds a precondition (the username and password must already exist and be correct), but it gives no explicit when-to-use versus when-not-to-use routing, nor does it point to RegisterDbUser or SetDbUserPwd as alternatives.

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