Skip to main content
Glama

dws__ListDatabaseUsers

Lists all database users and roles in a specified DWS cluster, helping you audit access or manage permissions by cluster and project.

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>",
      "project_id": "<project_id>"
    },
    "name": "dws__ListDatabaseUsers"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYescluster_id
project_idYesproject_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 provided, so the description carries the full burden of behavioral disclosure. It states only that all users and roles are queried, without indicating pagination behavior, whether results span the whole project or a single cluster, permission requirements, or response shape. For an unfiltered enumeration tool 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.

Conciseness4/5

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

The description is a single short clause with no filler, and the core operation is front-loaded. It is efficiently written, though its brevity stems from omission rather than disciplined editing.

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 two-required-parameter tool with no annotations and no output schema, one short sentence is inadequate. Nothing is said about what 'all' means in scope, whether results are paginated, or what the entries contain. An agent could invoke it correctly only by guessing at the surrounding conventions.

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 is 3, and the description adds nothing beyond the schema. The schema descriptions are themselves placeholders that merely repeat the property names (cluster_id, project_id), but the coverage metric still places the baseline at 3. No additional semantics about parameter roles are supplied by the description.

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 (查询/list) and a resource (数据库用户/角色), so the basic action is identifiable. However, it largely restates the tool name ListDatabaseUsers, with the only added information being that roles may also be returned. It does not distinguish this tool from siblings such as dws__ShowDatabaseUser or dws__ListDatabaseUserAuthorities.

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 list tool versus the many sibling user tools, nor on prerequisites or scope. The phrase 查询所有 implies an unfiltered enumeration, but no exclusions or alternatives are named. An agent must infer usage purely from the 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