Skip to main content
Glama

das__ListProcesses

Lists active database instance sessions, filtered by database and user, to help monitor connections and diagnose activity.

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__ListProcesses"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNo用户
limitNo每页记录数,默认为20,最大取值100。
offsetNo偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
node_idNo节点ID
databaseNo数据库
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

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read via 'query' (查询), but says nothing about permissions required, pagination behavior, result ordering, or what happens with large result sets. For an 8-parameter list tool with zero annotation coverage, this is a notable gap.

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 front-loaded sentence with no wasted wording. It is efficiently structured, though the extreme brevity leaves useful context unstated rather than adding noise.

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?

With 8 parameters, three required, no annotations, and no output schema, the definition should say more about scope and returns. The schema compensates for parameter documentation, but the description omits any indication of what a session record contains or how pagination totals are surfaced. Adequate but with clear gaps for a tool of this complexity.

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 limit, offset, node_id, project_id, and instance_id is already documented in the schema. The description restates the database and user filters but adds no syntax, format, or interaction details beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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 concrete verb+resource pair: query (查询) the instance session list (实例会话列表), which maps directly to the tool name ListProcesses. It also names two filter dimensions (database, user), which helps distinguish it from sibling list tools such as ListTransactions or ListInnodbLocks. It stops short of explicitly contrasting itself with a specific sibling, so it is clear but not maximally discriminating.

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?

The description says what can be queried but gives no guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. An agent must infer from the sibling names alone that session listing is different from lock or transaction listing. Implied usage only, no explicit context.

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