Skip to main content
Glama

das__DeleteProcess

Terminate database sessions by specifying a user, database, or session ID list; at least one condition is required to target and kill the desired sessions.

Instructions

[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__DeleteProcess"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNo用户
databaseNo数据库名称
db_user_idYes数据库用户ID
project_idYes项目ID
instance_idYes实例ID
process_idsNo会话ID列表。process_ids、user、database至少指定一个参数。

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 for what is clearly a destructive mutation. Beyond the word '查杀' it discloses nothing: no statement about forced termination, impact on running transactions or connected clients, required permissions, or whether the operation is reversible or bulk. For a session-killing tool this leaves significant behavioral gaps.

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?

Two short sentences with the action front-loaded and the constraint immediately after; no filler. It could be tightened only marginally, and the terse length is achieved partly by omitting useful detail.

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?

The schema is fully documented and the tool is conceptually simple, so the essentials for invocation are present. But with no annotations and no output schema, the description should explain impact and result (e.g. what happens when all three conditions are given) and it does not.

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%, with every parameter including the path IDs documented, so the schema already carries the semantics. The description restates the at-least-one-of-three constraint that also appears in the process_ids description, adding no new meaning about formats, batch limits, or precedence when multiple conditions are combined.

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: '查杀会话' (kill sessions), and enumerates the three targeting modes (by user, by database, by session list). An agent can tell this apart from sibling listing tools such as das__ListConnections. It stops short of naming an explicit alternative or contrasting with non-destructive session tools.

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?

It gives a hard precondition -- at least one of user, database, or process_ids must be supplied -- which is real usage guidance. However, it never says when to prefer this over alternatives (e.g. CancelShareConnections) or when killing sessions is inappropriate, so the guidance remains implied rather than explicit.

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