Enforce strict Azure MCP tool-name matching and document snapshot convention#1947
Draft
Enforce strict Azure MCP tool-name matching and document snapshot convention#1947
Conversation
Agent-Logs-Url: https://github.com/microsoft/GitHub-Copilot-for-Azure/sessions/34bca725-ee9c-45ac-8738-01aff96711a4 Co-authored-by: kvenkatrajan <102772054+kvenkatrajan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update CI test to address review comments on Azure MCP tool names
Enforce strict Azure MCP tool-name matching and document snapshot convention
Apr 17, 2026
This was referenced Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the Azure MCP reference validation to align with review feedback: keep matching strict and make the convention explicit for skill authors. Tool references in skill markdown are now validated against exact snapshot tool names (with the existing legacy alias), not compound suffix forms.
Validation behavior
tests/mcp-tool-references/unit.test.ts.mcp_azure_mcp_<name>references must resolve to an exacttoolNamesentry (or configured alias).Snapshot contract
toolReferenceConventiontotests/fixtures/azure-mcp-tool-names.snapshot.jsonto document the rule:<toolName>_*are unsupportedSnapshot generation parity
tests/scripts/update-mcp-tool-snapshot.jsso regenerated snapshots always include the sametoolReferenceConventionheader.