Skip to main content
Glama

dws__ExportUserAuthority

Exports the permission list for a database user or role to an xlsx file, enabling access auditing and permission review for DWS clusters.

Instructions

[DWS] 导出数据库用户/角色的权限列表,接口返回的是输出流,xlsx文件。

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

Input Schema

NameRequiredDescriptionDefault
nameYes**参数解释**:
limitNo**参数解释**:
offsetNo**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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. It does disclose one genuinely useful trait: the interface returns an output stream / xlsx file rather than structured data, which matters for how the agent handles the response. It says nothing about required permissions, whether the export is scoped by the path parameters, or how the limit/offset parameters affect the exported file.

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?

A single compact sentence that front-loads the action and resource, with the return-format note appended where it belongs. Nothing is wasted, but the brevity comes partly from omitting information an agent would need.

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 five-parameter export tool with no annotations and no output schema, the description covers the essential fact that the result is an xlsx stream, which is the single most important behavioral detail. It leaves out parameter scoping, pagination semantics, and any distinction from the sibling authority-listing tools, so the picture is only minimally complete.

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 nominally 100%, so the baseline is 3, and the description adds nothing about any of the five parameters. Notably it does not explain how name, cluster_id and project_id scope the export, nor whether limit/offset paginate the export or the underlying data.

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?

States a specific verb and resource: '导出数据库用户/角色的权限列表' (export the permission list of database users/roles). The added note that the result is an xlsx output stream distinguishes it from the sibling read-only tools like ShowDatabaseAuthority and ListDatabaseUserAuthorities, though those siblings are never named.

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?

Usage is only implied by the word '导出' and the file-format note: an agent can infer this is for producing a downloadable xlsx rather than inspecting authorities inline. There is no explicit when-to-use statement, no exclusion telling the agent to prefer ShowDatabaseAuthority for interactive queries, and no mention of prerequisites.

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