Skip to main content
Glama

app_configuration_kv_delete

Remove a key-value pair from Azure App Configuration using the specified key and optional label. Supports secure and auditable deletion of configuration data.

Instructions

Delete a key-value from Azure App Configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe key to delete
labelNoThe label of the key-value to delete (optional)

Implementation Reference

  • Handler implementation for app_configuration_kv_delete tool: deletes the KV using app_config_client.delete_configuration_setting with key and optional label, then builds response dict with status.
    elif name == "app_configuration_kv_delete": # Delete a key-value result = app_config_client.delete_configuration_setting( key=arguments["key"], label=arguments.get("label", None) ) if result: response = { "key": result.key, "label": result.label, "deleted": True } else: response = { "key": arguments["key"], "label": arguments.get("label", None), "deleted": False, "message": "Key not found" }
  • Input schema for the tool defining properties 'key' (string, required) and 'label' (string, optional).
    inputSchema={ "type": "object", "properties": { "key": { "type": "string", "description": "The key to delete", }, "label": { "type": "string", "description": "The label of the key-value to delete (optional)", }, }, "required": ["key"], },
  • Tool object registration including name, description, and input schema for app_configuration_kv_delete.
    Tool( name="app_configuration_kv_delete", description="Delete a key-value from Azure App Configuration", inputSchema={ "type": "object", "properties": { "key": { "type": "string", "description": "The key to delete", }, "label": { "type": "string", "description": "The label of the key-value to delete (optional)", }, }, "required": ["key"], }, ),
  • MCP server.list_tools decorator that returns the list of tools including app_configuration_kv_delete via 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

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