Skip to main content
Glama

das__DeleteDbUser

Removes a database user registration from DAS while leaving the actual database user object intact.

Instructions

[DAS] 删除注册在DAS里的数据库用户。此接口只是将注册的数据库用户在DAS系统里删除,不会真正删除数据库用户对象。

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

Input Schema

NameRequiredDescriptionDefault
db_user_idYes数据库用户ID。用户使用数据库账号与数据库建立的连接ID(数据库用户ID由注册数据库用户接口创建)。
project_idYes项目ID
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the single most important trait — the underlying database user object survives — but says nothing about permissions required, idempotency on repeated calls, error behavior when the registration is absent, or reversibility.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two short sentences with zero filler; the scope statement comes first and the crucial non-destructive caveat immediately after.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter delete with no output schema, the description covers the one semantic trap that matters. It is thin on permissions and failure modes, but nothing essential for calling the tool correctly is missing.

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 db_user_id, instance_id, and project_id are all documented in the schema. The description adds no additional meaning about any parameter, leaving it at the baseline for fully covered schemas.

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 gives a specific verb plus a scoped resource: delete the database user registered in DAS. The second sentence separates it from tools that delete the real database user object, a distinction an agent could easily get wrong given siblings like rds__DeleteDbUser and dws__DeleteDatabaseUser. It does not name those siblings explicitly, so it falls short of 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use statement and no named alternative. The caveat that only the DAS registration is removed implicitly signals the appropriate context (unregistering a user from DAS rather than dropping the account), but the agent must infer that.

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