Skip to content

Clarify async provisioning in Redis create tool description#2863

Open
vcolin7 wants to merge 2 commits into
mainfrom
vcolin7/redis-create-async-desc-459
Open

Clarify async provisioning in Redis create tool description#2863
vcolin7 wants to merge 2 commits into
mainfrom
vcolin7/redis-create-async-desc-459

Conversation

@vcolin7

@vcolin7 vcolin7 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR updates the azmcp redis create tool description to correctly say that Azure Cache for Redis provisioning is asynchronous. Without this change, callers and AI agents that immediately GET or test connectivity see a provisioning state and may misread it as an error.

GitHub issue number?

Fixes #459

Pre-merge Checklist

  • Required for All PRs
    • Read contribution guidelines
    • PR title clearly describes the change
    • Commit history is clean with descriptive messages
    • Added comprehensive tests for new/modified functionality (N/A - description-only change; no behavior change)
    • Created a changelog entry
  • For MCP tool changes:
    • One tool per PR: This PR modifies only the azmcp redis create tool
    • Updated servers/Azure.Mcp.Server/README.md and/or servers/Fabric.Mcp.Server/README.md documentation (N/A - no README command list change required)
    • Validate README.md changes running the script ./eng/scripts/Process-PackageReadMe.ps1 (N/A)
    • For new or modified tool descriptions, ran ToolDescriptionEvaluator and obtained a score of 0.4 or more and a top 3 ranking for all related test prompts
    • For tools with new names: update consolidated-tools.json (N/A - no name change)
    • For renamed tools: Tool Rename Checklist (N/A)
    • For new tools: add URL to documentation (N/A)
  • Extra steps for Azure MCP Server tool changes:
    • Updated command list in servers/Azure.Mcp.Server/docs/azmcp-commands.md
    • Ran ./eng/scripts/Update-AzCommandsMetadata.ps1 to update tool metadata
    • Updated test prompts in servers/Azure.Mcp.Server/docs/e2eTestPrompts.md (N/A - no new prompts)

Invoking Livetests

Copilot submitted PRs are not trustworthy by default. Users with write access to the repo need to validate the contents of this PR before leaving a comment with the text /azp run mcp - pullrequest - live. This will trigger the necessary livetest workflows to complete required validation.

Azure Cache for Redis provisioning is asynchronous; the create command returns immediately while the resource is still being created. Update the command description, XML summary, and docs to instruct callers to poll provisioningState until 'Succeeded' before connecting.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the azmcp redis create tool’s user-facing description/documentation to clarify that Azure Managed Redis provisioning is asynchronous and the command returns before the resource is fully ready, helping callers avoid misinterpreting provisioning states as errors.

Changes:

  • Expanded ResourceCreateCommand XML <summary> and CommandMetadata.Description to set expectations about asynchronous provisioning.
  • Updated the azmcp redis create entry in servers/Azure.Mcp.Server/docs/azmcp-commands.md to mention polling provisioningState.
  • Added a changelog entry under “Other Changes” describing the documentation clarification.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tools/Azure.Mcp.Tools.Redis/src/Commands/ResourceCreateCommand.cs Updates tool metadata and XML summary to describe async provisioning and recommended polling behavior.
servers/Azure.Mcp.Server/docs/azmcp-commands.md Updates the CLI docs comment for azmcp redis create to mention async behavior and polling.
servers/Azure.Mcp.Server/changelog-entries/vcolin7-redis-create-async-description.yaml Adds a changelog entry describing the updated tool description.

Comment thread tools/Azure.Mcp.Tools.Redis/src/Commands/ResourceCreateCommand.cs Outdated
@vcolin7 vcolin7 requested review from alzimmermsft and g2vinay June 12, 2026 01:46
Comment thread tools/Azure.Mcp.Tools.Redis/src/Commands/ResourceCreateCommand.cs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

3 participants