Skip to main content
Glama
aliyun

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

explain_sql

Read-only

Analyze SQL execution plans for Alibaba Cloud RDS databases to optimize query performance and identify bottlenecks.

Instructions

show sql execute plan
Args:
    dbinstance_id (str): The ID of the RDS instance.
    region_id(str): the region id of instance.
    db_name(str): the db name for table.
    sql(str): the target sql.
Returns:
    the sql execute plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
region_idYes
dbinstance_idYes
db_nameYes
sqlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description adds minimal behavioral context beyond the annotations. The annotation 'readOnlyHint: true' already indicates this is a safe read operation. The description doesn't provide additional behavioral details like whether this requires specific permissions, has rate limits, or what format the execution plan returns. It doesn't contradict annotations, but adds little value beyond them.

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 description is reasonably concise with a clear purpose statement followed by Args and Returns sections. However, the parameter explanations are overly terse and could benefit from more detail given the 0% schema coverage. The structure is functional but not optimally informative.

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?

Given the tool's complexity (4 required parameters, database operation) and the presence of both annotations and an output schema, the description is minimally adequate. The output schema existence means the description doesn't need to detail return values, but with 0% schema coverage and no behavioral context beyond annotations, it leaves the agent with insufficient guidance for proper tool selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description carries full burden for parameter documentation. While it lists all 4 parameters with brief explanations, these are minimal (e.g., 'the region id of instance' for region_id). It doesn't provide format examples, constraints, or relationships between parameters, leaving significant gaps in understanding how to properly use them.

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 clearly states the tool's purpose: 'show sql execute plan'. This is a specific verb ('show') + resource ('sql execute plan'), making it immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'query_sql' or 'describe_sql_insight_statistic', which might have overlapping database analysis functions.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'query_sql' (which might execute SQL) or 'describe_sql_insight_statistic' (which might provide performance insights), leaving the agent to guess when this specific execution plan analysis is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-rds-openapi-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server