Skip to main content
Glama

das__ListConnections

Queries and lists database instance connections in Huawei Cloud DAS by project, instance, network type, engine, and connection type, with pagination controls.

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

Input Schema

NameRequiredDescriptionDefault
limitNo查询记录数。默认为100,不能为负数,最小值为1,最大值为200。
offsetNo偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
conditionNo数据库实例地址/实例名称/备注等关键字
project_idYes项目ID。
instance_idNo实例ID。
network_typeNo数据库来源
datastore_typeNo数据库引擎。
connection_typeNo连接类型,NORMAL-创建的连接,SHARE-他人共享给我的连接。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 burden and supplies almost nothing. "查询" implies a read, but it does not confirm read-only semantics, describe pagination defaults/limits, or say what the returned list contains — gaps that matter for an 8-parameter list operation.

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?

It is a single short clause with zero waste and the resource is front-loaded, but it is compressed to the point of under-specification rather than efficient information density. There is no structure beyond the bare purpose statement.

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 an 8-parameter list tool with no annotations and no output schema, the description says nothing about filtering behavior, result shape, or pagination expectations. The rich schema compensates for parameter documentation, but the definition as a whole leaves the agent guessing about what comes back.

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 (limit, offset, condition, project_id, instance_id, network_type, datastore_type, connection_type) is already documented in the schema with enums and bounds. The description adds no additional meaning beyond that, so the baseline 3 applies.

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 ("查询实例连接列表" = query the instance connection list), which is enough to know it returns a collection of instance connections. It offers no differentiation from siblings such as das__CreateShareConnections or das__CancelShareConnections, so the agent gets the resource but no boundary against related DAS tools.

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 when-to-use guidance, no statement of prerequisites, and no mention of alternatives. The agent must infer from the name alone that this is the read path for instance connections, and nothing tells it how this relates to the share/cancel share siblings.

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