Skip to main content
Glama

s3_bucket_list

List all S3 buckets in your AWS account to manage storage, monitor resources, and organize cloud data.

Instructions

List all S3 buckets

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Executes the s3_bucket_list tool by calling list_buckets() on the boto3 S3 client to list all S3 buckets.
    elif name == "s3_bucket_list": response = s3_client.list_buckets()
  • Defines the Tool object for s3_bucket_list, including name, description, and input schema (no required properties).
    Tool( name="s3_bucket_list", description="List all S3 buckets", inputSchema={ "type": "object", "properties": {} } ),
  • Registers the list_tools handler which returns all AWS tools, including s3_bucket_list via get_aws_tools().
    @server.list_tools() async def list_tools() -> list[Tool]: """List available AWS tools""" logger.debug("Handling list_tools request") return get_aws_tools()
  • Dispatches s3_bucket_list calls to the handle_s3_operations function in the main call_tool handler.
    try: if name.startswith("s3_"): return await handle_s3_operations(aws, name, arguments) elif name.startswith("dynamodb_"):

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