Skip to main content
Glama

gaussdbfornosql__ModifyDbUserPrivilege

Modify Redis database account privileges to grant or restrict user access to specific databases within a GaussDB for NoSQL instance.

Instructions

[GAUSSDBFORNOSQL] 修改Redis数据库帐号权限。

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

Input Schema

NameRequiredDescriptionDefault
usersNo
project_idYes项目ID。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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. It only says privileges are modified; it does not disclose whether this is additive or replacing, whether revoking a database entry is possible, what permissions the caller needs, whether the change is immediately effective, or whether the call is idempotent — all critical for a mutation on database account access.

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 free of waste, but its brevity reflects under-specification rather than disciplined conciseness. There is no structure beyond a one-line statement of intent.

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?

For a mutation tool with no annotations and no output schema, the description is too thin: it omits authorization requirements, replacement-vs-additive semantics, and privilege value guidance. An agent could invoke it but could easily produce an unintended privilege change.

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

Parameters2/5

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

Schema description coverage is 67%, and the description adds nothing about the 'users' array structure, the meaning of the 'databases' list (does omitting it affect all databases?), or the allowed 'privilege' values. With an unenumerated free-text privilege field, the description should clarify accepted values but does not.

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 states a specific verb+resource pair ('修改...帐号权限' = modify account privileges) on Redis database accounts, which is distinguishable from the sibling operations CreateDbUser, DeleteDbUser, and ResetDbUserPassword by action alone. It does not explicitly name or differentiate itself from privilege-related alternatives, so it stays below 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?

There is no guidance on when to use this tool versus alternatives, no prerequisites (e.g. instance must be available, account must already exist), and no statement about whether the operation replaces or extends existing privileges. The agent must infer all usage context from the tool name.

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