Skip to main content
Glama

rds__Revoke

Revoke database account permissions for specified users on a Huawei Cloud RDS instance and database. Use when removing access rights from one or more database users.

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": {
      "db_name": "<db_name>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "users": "<users>"
    },
    "name": "rds__Revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
usersYes解除授权的用户列表。
db_nameYes数据库名称。
project_idYes项目ID。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 burden of behavioral disclosure, yet it says nothing about required permissions, whether the revocation is reversible, whether it removes all privileges or only those implied by the users list, or what happens on partial failure. For a destructive mutation with zero annotation coverage, 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?

The single sentence is front-loaded and contains no filler, but its brevity reflects under-specification rather than tight writing; the bracket prefix '[RDS]' is the only structural element and carries little information.

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?

With four required parameters, no annotations, and no output schema, the definition should describe the mutation's effect and safety profile. It instead leaves the agent without enough information to call this destructive operation confidently.

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 each of the four required parameters (users, db_name, project_id, instance_id) is already documented in the schema. The description adds no meaning beyond that – notably it does not explain the shape of the privilege being revoked per user – so the baseline 3 applies.

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 names a specific verb and resource ('解除数据库帐号权限' / revoke database account privileges), so the general intent is clear. However, it gives no scope for which privileges or engine are affected, and the sibling list contains near-identical operations (rds__RevokePostgresqlDbPrivilege, rds__RevokeSqlserverDbUserPrivilege, rds__ExecuteRevokeDatabaseUserRole), so an agent cannot distinguish them from this text alone.

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, no mention of prerequisites, and no pointer to alternatives or to the corresponding grant operation. The agent must infer the context from the tool 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