Skip to main content
Glama

rds__ListInstances

Lists Huawei Cloud RDS database instances by project, type, tags, VPC, subnet, or datastore, with pagination filters to support inventory and audit checks.

Instructions

[RDS] 查询数据库实例列表。

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": "rds__ListInstances"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo实例ID。
nameNo实例名称。
tagsNo根据实例标签键值对进行查询。 {key}表示标签键,不可以为空或重复。最大长度127个unicode字符。key不能为空或者空字符串,不能为空格,使用之前先trim前后半角空格。不能包含+/?#&=,%特殊字符。 {value}表示标签值,可以为空。最大长度255个unicode字符,使用之前先trim 前后半角空格。不能包含+/?#&=,%特殊字符。如果value为空,则表示any_value(查询任意value)。 如果同时使用多个标签键值对进行查询,中间使用逗号分隔开,最多包含10组。
typeNo按照实例类型查询。取值Single、Ha、Replica,分别对应于单实例、主备实例和只读实例。
limitNo查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
eps_idNo企业项目id。
offsetNo索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
vpc_idNo虚拟私有云ID。
subnet_idNo子网ID。
project_idYes项目ID。
datastore_typeNo数据库类型,区分大小写。

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 bears the full behavioral burden and provides essentially none. It does not mention that this is a read-only listing, the default and maximum page size behavior, the cost of unfiltered queries, or permission/authentication requirements — the limit/offset semantics exist only in the schema.

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 front-loaded and free of padding, but it is under-specified rather than concise — for an 11-parameter listing tool, one generic sentence leaves obvious informational needs unaddressed.

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?

This is a complex tool: 11 parameters, two enums, tag-pair filtering syntax, and pagination, with no annotations and no output schema. A one-line description does not tell the agent when to reach for it, how results are ordered or paged, or how it relates to the sibling listing tools, leaving significant gaps.

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%, including detailed text for tags, type, datastore_type enums, and limit/offset bounds, so the schema already carries parameter meaning. The description adds nothing beyond it, which is the baseline case for fully documented 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 clear verb+resource pair ('query' + 'database instance list') scoped to RDS, so an agent knows this returns a collection of RDS instances. It does not differentiate from the many RDS siblings such as rds__ListSimplifiedInstances, rds__ListRecycleInstances, or rds__ListOffSiteInstances, nor does it state what subset of instances is returned by default.

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 or when-not-to-use guidance at all. With six or more RDS list-family siblings present, the agent is given no basis for choosing this tool over the simplified, recycle-bin, off-site, or diagnosis variants.

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