Skip to main content
Glama

s3_bucket_delete

Remove an S3 bucket from AWS by specifying its name. This tool enables direct deletion of S3 buckets through the AWS MCP Server.

Instructions

Delete an S3 bucket

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucket_nameYesName of the S3 bucket to delete

Implementation Reference

  • Executes the deletion of the specified S3 bucket using the boto3 S3 client.
    elif name == "s3_bucket_delete": response = s3_client.delete_bucket(Bucket=arguments["bucket_name"])
  • Defines the input schema for the s3_bucket_delete tool, requiring a bucket_name string parameter.
    Tool( name="s3_bucket_delete", description="Delete an S3 bucket", inputSchema={ "type": "object", "properties": { "bucket_name": { "type": "string", "description": "Name of the S3 bucket to delete" } }, "required": ["bucket_name"] } ),
  • Registers all AWS tools, including s3_bucket_delete, by returning the list from get_aws_tools() in the MCP list_tools handler.
    async def list_tools() -> list[Tool]: """List available AWS tools""" logger.debug("Handling list_tools request") return get_aws_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/rishikavikondala/mcp-server-aws'

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