Skip to main content
Glama

dws__ExportDatabaseUsers

Export DWS database users and roles to an XLSX output stream for access reviews and user inventory reporting.

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

Input Schema

NameRequiredDescriptionDefault
typeNo**参数解释**:null
limitNo**参数解释**:
offsetNo**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the full burden falls on the description. It does disclose one genuinely useful trait: the call returns an output stream containing an xlsx file, not parsed JSON. It says nothing about permission requirements, whether the export is synchronous, or how limit and offset affect the exported rows, and those gaps matter for a server-side export.

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 short sentence with the tool tag, the action, and the return format. Nothing is padded, and the most surprising fact (an xlsx stream) is stated up front. It could be tightened only by adding missing guidance, not by removing words.

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 what the tool does and what it returns. It leaves out permission requirements, whether limit and offset apply to the export, and expected behavior for large result sets, which an agent needs before invoking it.

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 coverage is 100%, so the baseline is 3, but the schema's parameter descriptions are empty stubs ('**参数解释**:'), so the description carries no compensating meaning for limit, offset, type, cluster_id, or project_id. An agent still cannot tell whether limit/offset paginate the exported rows or cap them.

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 and resource: exporting database users/roles. That cleanly separates it from read-oriented siblings such as dws__ListDatabaseUsers or dws__ShowDatabaseUser. It stops short of naming an alternative, but the verb and resource are unambiguous.

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 export rather than call the list tools, and no prerequisites such as required permissions or role scope are mentioned. The only context an agent gets is the implicit contrast between export and list. A single 'use when you need an xlsx file rather than a JSON list' would have raised this score.

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