Skip to main content
Glama

rds__UpdateDbUserPrivilege

Grants or revokes RDS database user privileges and system roles by specifying the instance, account, authorization type, and privilege set to control database access.

Instructions

[RDS] 数据库帐号授权。

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

Input Schema

NameRequiredDescriptionDefault
user_nameYes账号,数据库相关联的帐号
privilegesYes支持用户设置的权限集合。 1、privilege_type为ROLE时需要使用,枚举: CREATEDB CREATEROLE LOGIN REPLICATION 2、privilege_type为RECYCLING_ROLE时需要使用,枚举: NOCREATEDB NOCREATEROLE NOLOGIN NOREPLICATION 3、privilege_type为SYSTEM_ROLE /RECYCLING_ SYSTEM_ROLE时需要使用,枚举: pg_monitor pg_signal_backend root
project_idYes项目ID。
instance_idYes实例ID。
authorization_typeYes授权SQL类型,枚举: 1、ROLE(支持对指定用户设置以下权限) 2、RECYCLING_ROLE(支持对指定用户回收以下权限) 3、SYSTEM_ROLE(支持对指定用户授予以下系统角色) 4、RECYCLING_SYSTEM_ROLE(支持对指定用户回收以下系统角色)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it provides none. It does not say that this is a mutating operation, whether it grants or overwrites privileges, whether existing privileges are replaced, what permissions the caller needs, or whether the change is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but contains no substantive information—it is under-specification rather than conciseness. The "[RDS]" prefix helps at least front-load the product scope, but the rest of the sentence only repeats the name.

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?

This is a five-required-parameter, mutating privilege tool with no annotations and no output schema, so the description needs to be rich; instead it is one line. It omits the schema's own hints that ROLE/SYSTEM_ROLE grant privileges and RECYCLING_* revoke privileges, which is essential to calling the tool correctly.

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?

The schema documents all five parameters, including detailed enum-style explanations of privileges and authorization_type, giving 100% coverage. The description adds nothing beyond that, which meets the baseline of 3 when the schema does all the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description essentially restates the tool name in Chinese: "[RDS] 数据库帐号授权" (database account authorization). It does not clarify what the update does versus sibling operations like AllowDbUserPrivilege, SetDatabaseUserPrivilege, or the Revoke variants, so an agent cannot distinguish it from other privilege operations without inspecting the schema.

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

Usage Guidelines1/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 when-not-to-use guidance, and no mention of any alternative tool, even though the sibling list contains many closely related privilege tools (Allow*, Revoke*, SetDatabaseUserPrivilege). The agent must guess that this tool exists or pick between it and those siblings.

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