Skip to main content
Glama

blob_container_list

Lists all Blob Storage containers in Azure to manage storage resources and audit container inventory.

Instructions

List all Blob Storage containers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler logic for the 'blob_container_list' tool: retrieves all blob containers using BlobServiceClient.list_containers() and extracts their names into a response dictionary.
    elif name == "blob_container_list": containers = blob_service_client.list_containers() container_names = [container.name for container in containers] response = {"container_names": container_names}
  • Pydantic schema definition for the 'blob_container_list' tool, specifying no required input parameters.
    Tool( name="blob_container_list", description="List all Blob Storage containers", inputSchema={"type": "object", "properties": {}}, ),
  • Tool registration via the list_tools handler, which returns get_azure_tools() including 'blob_container_list'.
    @server.list_tools() async def list_tools() -> list[Tool]: """List available Azure tools""" logger.debug("Handling list_tools request") return get_azure_tools() # Use get_azure_tools
  • Dispatch logic in call_tool handler that routes 'blob_container_list' (blob_ prefixed tools) to the blob storage operations handler.
    if name.startswith("blob_"): # Updated prefix to blob_ return await handle_blob_storage_operations( azure_rm, name, arguments ) # Use blob handler

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/mashriram/azure_mcp_server'

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