MCP Tools in Drills: Drill Run Get and Drill Run Resource Get - #3318
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
Tool Descriptor Evaluator ResultsTest 1Expected Tool: Results
Test 2Expected Tool: Results
Test 3Expected Tool: Results
Test 4Expected Tool: Results
|
There was a problem hiding this comment.
Pull request overview
Adds Azure Resilience Management drill run and drill run resource/target retrieval capabilities to the ResilienceManagement toolset, wiring new commands through the tool registration and updating Azure MCP Server documentation/metadata.
Changes:
- Added
azmcp resilience drill run getandazmcp resilience drill run resource getcommands (plus options, JSON serialization context, and unit tests). - Extended
IResilienceManagementService/ResilienceManagementServicewith DrillRun and DrillRunTarget list/get operations. - Updated server docs/metadata (consolidated tool mapping, e2e prompts, azmcp command reference) and added changelog entries.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/Azure.Mcp.Tools.ResilienceManagement/tests/Azure.Mcp.Tools.ResilienceManagement.Tests/Drills/Runs/Resources/DrillRunResourceGetCommandTests.cs | New unit tests for drill run resource list/get behavior and error handling. |
| tools/Azure.Mcp.Tools.ResilienceManagement/tests/Azure.Mcp.Tools.ResilienceManagement.Tests/Drills/Runs/DrillRunGetCommandTests.cs | New unit tests for drill run list/get behavior and error handling. |
| tools/Azure.Mcp.Tools.ResilienceManagement/src/Services/ResilienceManagementService.cs | Implements ARM-backed list/get for drill runs and drill run targets. |
| tools/Azure.Mcp.Tools.ResilienceManagement/src/Services/IResilienceManagementService.cs | Adds service interface methods for drill runs and drill run targets. |
| tools/Azure.Mcp.Tools.ResilienceManagement/src/ResilienceManagementSetup.cs | Registers new commands and adds drill run and drill run resource command groups. |
| tools/Azure.Mcp.Tools.ResilienceManagement/src/Options/Drills/Runs/Resources/DrillRunResourceGetOptions.cs | New options POCO for drill run resource get. |
| tools/Azure.Mcp.Tools.ResilienceManagement/src/Options/Drills/Runs/DrillRunGetOption.cs | New options POCO for drill run get. |
| tools/Azure.Mcp.Tools.ResilienceManagement/src/Commands/ResilienceManagementJsonContext.cs | Registers new command result types for source-generated JSON serialization (AOT). |
| tools/Azure.Mcp.Tools.ResilienceManagement/src/Commands/Drills/Runs/Resources/DrillRunResourceGetCommand.cs | New command to list/get drill run targets (resources). |
| tools/Azure.Mcp.Tools.ResilienceManagement/src/Commands/Drills/Runs/DrillRunGetCommand.cs | New command to list/get drill runs. |
| servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json | Updates consolidated tool description + mapped tool list to include new drill run tools. |
| servers/Azure.Mcp.Server/docs/e2eTestPrompts.md | Adds e2e prompt coverage rows for the two new tools. |
| servers/Azure.Mcp.Server/docs/azmcp-commands.md | Documents the two new CLI command shapes. |
| servers/Azure.Mcp.Server/changelog-entries/copilot-add-drill-run-resource-get.yaml | Changelog entry for drill run resource get tool. |
| servers/Azure.Mcp.Server/changelog-entries/copilot-add-drill-run-get.yaml | Changelog entry for drill run get tool. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
ba4a907 to
d1a6902
Compare
…https://github.com/dynamicdhx/mcp into users/dhruvbharuka/drillrungetanddrillrunresourceget
What does this PR do?
[Provide a clear, concise description of the changes][Add additional context, screenshots, or information that helps reviewers]GitHub issue number?
[Link to the GitHub issue this PR addresses]Pre-merge Checklist
servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentationREADME.mdchanges running the script./eng/scripts/Process-PackageReadMe.ps1. See Package READMEToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test promptsconsolidated-tools.jsonbreaking-changelabelservers/Azure.Mcp.Server/docs/azmcp-commands.md./eng/scripts/Update-AzCommandsMetadata.ps1to update tool metadata inazmcp-commands.md(required for CI)servers/Azure.Mcp.Server/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline