Skip to main content
Glama

dws__ShowDatabaseAuthority

Queries permission details for database objects in a Huawei Cloud DWS cluster, covering databases, schemas, tables, views, columns, functions, sequences, and node groups.

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>",
      "database": "<database>",
      "name": "<name>",
      "project_id": "<project_id>",
      "type": "<type>"
    },
    "name": "dws__ShowDatabaseAuthority"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes对象名称
typeYes对象类型 [DATABASE | SCHEMA | TABLE | VIEW | COLUMN| FUNCTION|| SEQUENCE| NODEGROUP]
tableNo表名,对象类型为COLUMN时必选
schemaNo模式名,对象类型为TABLE、VIEW、COLUMN、FUNCTION、SEQUENCE时必选
databaseYes数据库名
cluster_idYescluster_id
project_idYesproject_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 behavioral burden, yet it only implies a read. It says nothing about required permissions, whether results are scoped to one object or the whole database, pagination, or response shape. The object-type-driven behavior (e.g. that locating a COLUMN grant may require walking a hierarchy) is entirely undisclosed.

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 free of waste and front-loaded, but with 7 parameters and 5 required fields it is under-specified rather than genuinely concise. Brevity here costs information rather than saving it.

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 tool with 7 parameters, conditional requirements based on object type, no annotations, and no output schema, one short clause is not enough. The agent must infer call semantics, result content, and scope entirely from the schema.

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 every parameter including the enum-like `type` list and the conditional `table`/`schema` requirements is already documented in the schema. The description adds no meaning beyond that, which is the baseline case.

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 Chinese description "查询数据库对象权限" gives a verb (查询/query) and a resource (数据库对象权限/database object permissions), which is a real, non-tautological purpose. However, it does not distinguish this tool from closely named siblings such as dws__ListDatabaseUserAuthorities or dws__ExportUserAuthority, so an agent cannot tell from the text which one returns object-level grants versus user-level grants.

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 at all on when to use this tool versus the many authority-related siblings (ListDatabaseUserAuthorities, ExportUserAuthority, ShowDatabaseUser). No prerequisites, no exclusions, no mention that a cluster_id/project_id scope is required before calling.

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