Skip to main content
Glama

blob_container_create

Create a new Azure Blob Storage container to organize and store unstructured data, enabling scalable cloud storage management.

Instructions

Create a new Blob Storage container

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
container_nameYesName of the Blob Storage container to create

Implementation Reference

  • Executes the blob_container_create tool by calling create_container on BlobServiceClient with the provided container_name and returns success response.
    if name == "blob_container_create":
        container_client = blob_service_client.create_container(
            arguments["container_name"]
        )
        response = {
            "container_name": container_client.container_name,
            "created": True,
        }  # Simplify response
  • Defines the input schema for the blob_container_create tool, requiring a container_name string.
    Tool(
        name="blob_container_create",
        description="Create a new Blob Storage container",
        inputSchema={
            "type": "object",
            "properties": {
                "container_name": {
                    "type": "string",
                    "description": "Name of the Blob Storage container to create",
                }
            },
            "required": ["container_name"],
        },
    ),
  • Registers all Azure tools, including blob_container_create, by returning the list from get_azure_tools().
    @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
  • Defines and returns the list of blob storage tools including blob_container_create for registration.
    def get_blob_storage_tools() -> list[Tool]:
        return [
            Tool(
                name="blob_container_create",
                description="Create a new Blob Storage container",
                inputSchema={
                    "type": "object",
                    "properties": {
                        "container_name": {
                            "type": "string",
                            "description": "Name of the Blob Storage container to create",
                        }
                    },
                    "required": ["container_name"],
                },
            ),
            Tool(
                name="blob_container_list",
                description="List all Blob Storage containers",
                inputSchema={"type": "object", "properties": {}},
            ),
            Tool(
                name="blob_container_delete",
                description="Delete a Blob Storage container",
                inputSchema={
                    "type": "object",
                    "properties": {
                        "container_name": {
                            "type": "string",
                            "description": "Name of the Blob Storage container to delete",
                        }
                    },
                    "required": ["container_name"],
                },
            ),
            Tool(
                name="blob_upload",
                description="Upload a blob to Blob Storage",
                inputSchema={
                    "type": "object",
                    "properties": {
                        "container_name": {
                            "type": "string",
                            "description": "Name of the Blob Storage container",
                        },
                        "blob_name": {
                            "type": "string",
                            "description": "Name of the blob in the container",
                        },
                        "file_content": {
                            "type": "string",
                            "description": "Base64 encoded file content for upload",
                        },
                    },
                    "required": ["container_name", "blob_name", "file_content"],
                },
            ),
            Tool(
                name="blob_delete",
                description="Delete a blob from Blob Storage",
                inputSchema={
                    "type": "object",
                    "properties": {
                        "container_name": {
                            "type": "string",
                            "description": "Name of the Blob Storage container",
                        },
                        "blob_name": {
                            "type": "string",
                            "description": "Name of the blob to delete",
                        },
                    },
                    "required": ["container_name", "blob_name"],
                },
            ),
            Tool(
                name="blob_list",
                description="List blobs in a Blob Storage container",
                inputSchema={
                    "type": "object",
                    "properties": {
                        "container_name": {
                            "type": "string",
                            "description": "Name of the Blob Storage container",
                        }
                    },
                    "required": ["container_name"],
                },
            ),
            Tool(
                name="blob_read",
                description="Read a blob's content from Blob Storage",
                inputSchema={
                    "type": "object",
                    "properties": {
                        "container_name": {
                            "type": "string",
                            "description": "Name of the Blob Storage container",
                        },
                        "blob_name": {
                            "type": "string",
                            "description": "Name of the blob to read",
                        },
                    },
                    "required": ["container_name", "blob_name"],
                },
            ),
        ]
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states 'Create' which implies a write/mutation operation, but doesn't mention permissions required, whether it's idempotent, error conditions (e.g., naming constraints), or what happens on success/failure. For a creation tool with zero annotation coverage, this leaves significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with zero wasted words. It's front-loaded with the core action and resource, making it immediately understandable. Every word earns its place in conveying the essential purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a creation tool with no annotations and no output schema, the description is insufficiently complete. It doesn't address what the tool returns, error handling, authentication requirements, or naming constraints. Given the complexity of creating a storage resource and the lack of structured metadata, the description should provide more contextual information.

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

Parameters3/5

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

The schema description coverage is 100%, with the single parameter 'container_name' well-documented in the schema. The description adds no additional parameter information beyond what the schema provides, which is acceptable given the high schema coverage. The baseline score of 3 reflects adequate but minimal value added by the description.

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 action ('Create') and resource ('new Blob Storage container'), making the purpose immediately understandable. It distinguishes from siblings like blob_container_delete and blob_container_list by specifying creation rather than deletion or listing. However, it doesn't explicitly differentiate from cosmosdb_container_create, which creates a different type of container.

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 prerequisites (e.g., needing storage account access), when not to use it (e.g., if container already exists), or direct alternatives among siblings. The agent must infer usage from the tool name alone.

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

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