Skip to main content
Glama
aliyun

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

modify_db_instance_description

Update the description of an Alibaba Cloud RDS database instance to improve identification and management.

Instructions

modify db instance description.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
    description: The RDS instance description.
Returns:
    dict[str, Any]: The response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
region_idYes
db_instance_idYes
descriptionYes

Implementation Reference

  • The handler function for the 'modify_db_instance_description' tool. It uses the Alibaba Cloud RDS SDK to call ModifyDBInstanceDescription API, updating the description of the specified DB instance.
    async def modify_db_instance_description(
            region_id: str,
            db_instance_id: str,
            description: str
    ):
        """
        modify db instance description.
        Args:
            region_id: The region ID of the RDS instance.
            db_instance_id: The ID of the RDS instance.
            description: The RDS instance description.
        Returns:
            dict[str, Any]: The response.
        """
        try:
            client = get_rds_client(region_id)
            request = rds_20140815_models.ModifyDBInstanceDescriptionRequest(
                dbinstance_id=db_instance_id,
                dbinstance_description=description
            )
            response = await client.modify_dbinstance_description_async(request)
            return response.body.to_map()
        except Exception as e:
            raise e

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