[Doc Gap] Azure Backup protect/update-protection/undelete docs missing new `OperationId` field and updated `JobId` semantics
メンテナーはふだん 2 日以内に返信
@akhil9tiet がすでに取り組んでいます。
2026年10月16日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- azure, csharp
調査の方向性
servers/Azure.Mcp.Server/docs/azmcp-commands.md の #### Protected Item セクションから始め、次に tools/Azure.Mcp.Tools.AzureBackup/src/Models/ProtectResult.cs と OperationResult.cs の OperationId と JobId フィールドを読んでください。protect、update-protection、undelete について、jobId が null になる場合と operationId がどこに現れるかを説明するコメント行を追加してください。その後、servers/Azure.Mcp.Server/docs/e2eTestPrompts.md の ## Azure Backup の下に、ジョブなしの行をアルファベット順で追加し、両方のファイルに対して cspell スクリプトを実行してください。
索引モデルが issue の本文から書いたものです。
説明
Documentation Gap
Server: Azure.Mcp.Server
Tool directory: tools/Azure.Mcp.Tools.AzureBackup
Triggered by: commit 6a128caa0616e80f2542a3fec269d7408b7041b5 (PR #3838) by @shrja-ms
Changed files:
tools/Azure.Mcp.Tools.AzureBackup/src/Models/OperationResult.cstools/Azure.Mcp.Tools.AzureBackup/src/Models/ProtectResult.cstools/Azure.Mcp.Tools.AzureBackup/src/Services/DppBackupOperations.cstools/Azure.Mcp.Tools.AzureBackup/src/Services/RsvBackupOperations.cstools/Azure.Mcp.Tools.AzureBackup/src/Services/RsvBackupOperations.SelectiveDisk.cs
What Changed
PR #3838 fixed a bug where azurebackup protecteditem protect, update-protection, and undelete returned the async control-plane operation id in the jobId response field whenever no genuine backup job was available (jobId ??= operationId). That value 404s against azurebackup job get.
The fix:
- Adds a new
OperationIdfield toProtectResultandOperationResultrecords. JobIdis now populated only from a real RSVConfigureBackupjob; it isnullwhen no job exists.- The async operation id is now surfaced separately via
OperationId. - Response messages now point users to
azurebackup protecteditem getinstead of suggesting a (potentially non-existent) job poll.
This is a user-facing response-schema and behavior change for the protect, update-protection, and undelete tools.
Gaps Found
azmcp-commands.mddescriptions forazurebackup protecteditem protect,update-protection, andundeletedo not mention the newOperationIdfield or clarify thatJobIdis now only populated for genuine ConfigureBackup jobs (other sections of this doc, e.g. Azure App Configuration, use inline# Returns: { ... }comments to document output fields — this pattern is missing here).e2eTestPrompts.mdhas existing prompts forazurebackup_protecteditem_protect,azurebackup_protecteditem_update-protection, andazurebackup_protecteditem_undelete, but none exercise or describe the new no-job/OperationId-only scenario (e.g., DPP protect, or RSV protect/undelete where no ConfigureBackup job is found), so there's no documented expectation thatjobIdcan benullwhileoperationIdis populated.servers/Azure.Mcp.Server/README.mdAzure Backup section ("Restore a soft-deleted backup item...") doesn't need structural changes, but could optionally note that job polling guidance now depends on whether a genuine job exists — low priority, not required.
Files to Update
-
servers/Azure.Mcp.Server/docs/azmcp-commands.md -
servers/Azure.Mcp.Server/docs/e2eTestPrompts.md
Context
// tools/Azure.Mcp.Tools.AzureBackup/src/Models/ProtectResult.cs
public sealed record ProtectResult(
string Status,
string? ProtectedItemName,
string? JobId,
string? Message,
string? ProtectionStatus = null,
string? ErrorMessage = null,
string? OperationId = null);
// tools/Azure.Mcp.Tools.AzureBackup/src/Models/OperationResult.cs
public sealed record OperationResult(
string Status,
string? JobId,
string? Message,
string? OperationId = null);
📐 Implementation Guide
This section contains step-by-step instructions for a coding agent to implement the changes described above.
Step 1: Modify files
-
servers/Azure.Mcp.Server/docs/azmcp-commands.md(edit):- In the
#### Protected Itemsection, update theprotectcommand's leading comment to mention theOperationIdfield is returned in the response and clarify thatJobIdisnullunless a genuine RSVConfigureBackupjob is found (DPP never returns a job id). Example addition to the comment block aboveazmcp azurebackup protecteditem protect ...:# Response includes 'jobId' (only when a genuine RSV ConfigureBackup job is found; always null for DPP) # and 'operationId' (the async control-plane operation id from the PUT request; use 'azurebackup # protecteditem get' to verify status rather than polling a non-existent job). - Apply the same clarification to
update-protectionandundeletecommand comment blocks, notingundeletealways returnsjobId: nulland surfacesoperationIdinstead.
- In the
-
servers/Azure.Mcp.Server/docs/e2eTestPrompts.md(edit):- Under
## Azure Backup, add 1-2 new test prompt rows forazurebackup_protecteditem_protectandazurebackup_protecteditem_undeletethat specifically describe scenarios with no genuine backup job (e.g., DPP protect, or verifying viaprotecteditem getafter an operation-id-only response), keeping entries in alphabetical tool-name order within the section.
- Under
Step 2: Verify documentation structure
servers/Azure.Mcp.Server/docs/azmcp-commands.md — must include a global options table at the top and one ## azmcp <service> <resource> <operation>-style section per command with description, parameters table, and example usage block (existing format already followed here — only inline comment text needs updating).
servers/Azure.Mcp.Server/docs/e2eTestPrompts.md — must include a header, alphabetically ordered service area sections (## Azure Backup already present), and within each section a Tool Name | Test Prompt table with tools listed alphabetically; add new rows in the correct alphabetical position.
Use tools/Azure.Mcp.Tools.Storage/ as the canonical reference for toolset documentation patterns if additional structural guidance is needed.
Step 3: Validate
Run these commands in order. Each must succeed before proceeding to the next:
dotnet build servers/Azure.Mcp.Server/— confirms the server project compiles cleanlydotnet build tools/Azure.Mcp.Tools.AzureBackup/src/— confirms the affected toolset compilesdotnet test tools/Azure.Mcp.Tools.AzureBackup/tests/Azure.Mcp.Tools.AzureBackup.Tests/ --filter "TestType!=Live"— runs unit tests for the affected toolset.\eng\common\spelling\Invoke-Cspell.ps1— checks spelling in new or modified documentation
Next Steps
[!TIP]
Ready for automated implementation? Assign this issue to@copilotto have Copilot coding agent implement the changes described in the Implementation Guide above
Generated by Documentation Updater · copilot · auto · 66.2 AIC · ⌖ 7.48 AIC · ⊞ 11.2K · ◷
- 主要言語
- C#
- スター
- 3.9k
- フォーク
- 689
- 平均マージ
- 2日 11時間
- マージ済み PR(30日)
- 143
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/mcp のほかの issue
-
[BUG] speech tts synthesize rejects valid locales such as fil-PH, yue-CN and sr-Latn-RS in --language対応中かも @Shizoqua が今日担当しました。 オープンAzure.Mcp.Server needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
[BUG] deploy architecture diagram generate never shows Docker settings for container apps対応中かも @Shizoqua が 1 日前に担当しました。 オープンAzure.Mcp.Server needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 2 日以内に返信
-
[BUG] Single mode: an unknown tool name fails with "An error occurred invoking 'azure'" instead of listing the available tools対応中かも @Ahmed-Manai が 10 日前に担当しました。 オープンserver-Azure.Mcp
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
[BUG] pricing get drops tierMinimumUnits, so tiered meters return same-meter prices with no threshold対応中かも @msalaman が 30 日前に担当しました。 オープンcustomer-reported needs-team-triage question server-Azure.Mcp tools-Price tools-Pricing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/mcp#4087 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
[Doc Gap] README.md still shows removed "Basic" resilience usage plan tier after GA SDK update再び着手できるかも @anishsinghhh3-bit が 33 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンcopilot documentation server-Azure.Mcp tools-ResilienceManagement
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
microsoft/mcp#4008 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
bug documentation queries
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/clickhouse-cs#815 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xml対応中かも @alexeyfala が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
danipen/TextMateSharp#145 · コメント 2 件 ·
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Klyroo/klyroo-dashboard#12 ·
メンテナーはふだん 1 日以内に返信
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates on対応中かも @yadavraj2001 が今日担当しました。 オープンdocumentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
juandresrodca/AdminForge#73 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信