diff --git a/servers/Azure.Mcp.Server/changelog-entries/vcolin7-redis-create-async-description.yaml b/servers/Azure.Mcp.Server/changelog-entries/vcolin7-redis-create-async-description.yaml new file mode 100644 index 0000000000..9f9ee6d8a1 --- /dev/null +++ b/servers/Azure.Mcp.Server/changelog-entries/vcolin7-redis-create-async-description.yaml @@ -0,0 +1,3 @@ +changes: + - section: "Other Changes" + description: "Clarified the `azmcp redis create` tool description to convey that provisioning is asynchronous and callers should poll `provisioningState` until it shows 'Succeeded' before connecting." diff --git a/servers/Azure.Mcp.Server/docs/azmcp-commands.md b/servers/Azure.Mcp.Server/docs/azmcp-commands.md index c5c204ce33..ac2385c938 100644 --- a/servers/Azure.Mcp.Server/docs/azmcp-commands.md +++ b/servers/Azure.Mcp.Server/docs/azmcp-commands.md @@ -3554,7 +3554,7 @@ azmcp role assignment list --subscription \ ### Azure Redis Operations ```bash -# Creates a new Azure Managed Redis resource +# Creates a new Azure Managed Redis resource (asynchronous; poll provisioningState until 'Succeeded') # ✅ Destructive | ❌ Idempotent | ❌ OpenWorld | ❌ ReadOnly | ❌ Secret | ❌ LocalRequired azmcp redis create --subscription \ --resource-group \ diff --git a/tools/Azure.Mcp.Tools.Redis/src/Commands/ResourceCreateCommand.cs b/tools/Azure.Mcp.Tools.Redis/src/Commands/ResourceCreateCommand.cs index 97dab90665..1e0468ca54 100644 --- a/tools/Azure.Mcp.Tools.Redis/src/Commands/ResourceCreateCommand.cs +++ b/tools/Azure.Mcp.Tools.Redis/src/Commands/ResourceCreateCommand.cs @@ -14,13 +14,14 @@ namespace Azure.Mcp.Tools.Redis.Commands; /// -/// Creates a new Azure Managed Redis resource. +/// Creates a new Azure Managed Redis resource. Provisioning is asynchronous and the +/// command returns immediately while the resource is still being created. /// [CommandMetadata( Id = "750133dd-d57f-4ed4-9488-c1d406ad4a83", Name = "create", Title = "Create Redis Resource", - Description = "Create a new Azure Managed Redis resource in Azure. Use this command to provision a new Redis resource in your subscription.", + Description = "Create a new Azure Managed Redis resource in Azure. Use this command to provision a new Redis resource in your subscription. Provisioning is asynchronous and typically takes several minutes; the command returns immediately with status \"Creating\" while the resource is still being created.", Destructive = true, Idempotent = false, OpenWorld = false,