Skip to main content
Glama

rds__ListFlavors

Retrieve available RDS database specifications by engine, version, and project to choose the right flavor for provisioning or scaling.

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

Input Schema

NameRequiredDescriptionDefault
spec_codeNo规格编码
project_idYes项目ID。
version_nameNo数据库版本号,获取方法请参见5.1查询数据库引擎的版本。(可输入小版本号)
database_nameYes数据库引擎。支持的引擎如下,不区分大小写:
is_serverlessNo是否查询serverless规格。取值范围如下,区分大小写:

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 behavioral burden, yet it only implies a read via "查询". It says nothing about pagination, result volume, authentication/project scoping, or the fact that results depend on engine and version filters.

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 fragment is maximally concise with zero wasted wording and is front-loaded, but at this length it is under-specification rather than useful brevity. Nothing is structured to help the agent decide or prepare a call.

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 a five-parameter, two-required query tool with no annotations and no output schema, the definition leaves the agent guessing how it differs from the many sibling List/Show Flavor tools. The schema covers parameters, but the description does nothing to close the selection ambiguity.

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 all five parameters (spec_code, project_id, version_name, database_name, is_serverless) are already documented, including the engine enum and the reference to section 5.1 for version values. The description adds no meaning beyond the schema, 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?

"查询数据库规格" gives a specific verb (query) plus resource (database flavors/specs), so the agent knows this returns a flavor list rather than mutating anything. It offers no differentiation from siblings such as rds__ListEngineFlavors, rds__ListFlavorsResize, or rds__ListRdSforMysqlProxyFlavors, which all read as flavor lookups.

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 at all: no statement of which scenario calls for this flavor listing versus the resize or engine-specific variants, and no prerequisites. The only hint of scope is the bracketed [RDS] tag and the tool name.

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