[Doc Gap] Advisor `recommendation list` CLI docs missing `--tenant` flag after service-group scope update
Maintainers usually reply within 2 days
@akhil9tiet is already working on this.
Since Oct 14, 2026.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp
- Domain
- documentation
Research direction
Open servers/Azure.Mcp.Server/docs/azmcp-commands.md and find the azmcp advisor recommendation list usage block (around line 497). Compare it with the recommendation update block, which already ends with [--tenant <tenant>], and check the option in RecommendationListOptions.cs. Add the --tenant line to the list block, then run the cspell check on the doc. Done when the list synopsis matches the other two Advisor blocks.
Written by the indexing model from the issue text.
Description
Documentation Gap
Server: Azure.Mcp.Server
Tool directory: tools/Azure.Mcp.Tools.Advisor
Triggered by: commit 04ea0962e6406d2ff8fcedd40157c582b0e6ebea (PR #3942) by @g2vinay
Changed files: servers/Azure.Mcp.Server/docs/azmcp-commands.md, tools/Azure.Mcp.Tools.Advisor/src/Options/Recommendation/RecommendationListOptions.cs, tools/Azure.Mcp.Tools.Advisor/src/Commands/Recommendation/RecommendationListCommand.cs
What Changed
PR #3942 ("Dev") extended the Advisor recommendation list, recommendation summary, and recommendation update tools with Azure Service Group scope support and a new --prioritized flag on list. RecommendationListOptions.cs already declares a Tenant option (inherited via the shared IRecommendationScopeOptions/ISubscriptionOption pattern, same as summary and update), and azmcp-commands.md was updated for the new --resource-group, --service-group, and --prioritized flags on list. However, the --tenant flag was left out of the documented list command's usage synopsis, even though it is present for the sibling update and summary commands in the same doc section.
Gaps Found
azmcp-commands.md'sazmcp advisor recommendation listusage block does not include[--tenant <tenant>], while theRecommendationListOptionsclass defines aTenantoption and the siblingrecommendation updateandrecommendation summaryblocks both correctly document--tenant.- This makes the
listcommand's documented signature inconsistent with its actual supported options and with the other two Advisor recommendation commands updated in the same PR.
Files to Update
-
servers/Azure.Mcp.Server/docs/azmcp-commands.md
Context
Current (incomplete) block in servers/Azure.Mcp.Server/docs/azmcp-commands.md (around line 497):
azmcp advisor recommendation list [--subscription <subscription>] \
[--resource-group <resource-group>] \
[--service-group <service-group>] \
[--prioritized <true|false>] \
[--top <top>] \
[--category <category>] \
[--impact <impact>] \
[--status <New|Postponed|Dismissed|Completed>] \
[--recommendation-type-id <guid>] \
[--resource-type <resource-type>] \
[--resource <resource>] \
[--search <search>] \
[--sub-category <sub-category>] \
[--tracking-ids <tracking-id1> <tracking-id2> ...] \
[--retirement-date <eq|lt|le|gt|ge>:<yyyy-MM-dd>]
Corresponding option in tools/Azure.Mcp.Tools.Advisor/src/Options/Recommendation/RecommendationListOptions.cs:
[Option(Description = OptionDescriptions.Tenant)]
public string? Tenant { get; set; }
Compare to the correctly documented recommendation update block in the same file, which already includes [--tenant <tenant>] at the end of its synopsis.
📐 Implementation Guide
This section contains step-by-step instructions for a coding agent to implement the changes described above
Step 1: Modify files
- File:
servers/Azure.Mcp.Server/docs/azmcp-commands.md
Action: Edit
Change: In theazmcp advisor recommendation listusage block (in the### Azure Advisor Operationssection), add[--tenant <tenant>]as the final line of the command synopsis, matching the style used in therecommendation updateandrecommendation summaryblocks immediately below it. For example, change:
to:[--tracking-ids <tracking-id1> <tracking-id2> ...] \ [--retirement-date <eq|lt|le|gt|ge>:<yyyy-MM-dd>][--tracking-ids <tracking-id1> <tracking-id2> ...] \ [--retirement-date <eq|lt|le|gt|ge>:<yyyy-MM-dd>] \ [--tenant <tenant>]
Step 2: Verify documentation structure
Verify that servers/Azure.Mcp.Server/docs/azmcp-commands.md still includes, for the ## azmcp advisor recommendation list style section:
- A description comment block explaining scope rules (subscription vs. service group) and the
--prioritizedmodifier (already present and correct). - A complete parameter usage block listing every option defined in
RecommendationListOptions.cs, including--tenant.
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.Advisor/src/— confirms the Advisor toolset compilesdotnet test tools/Azure.Mcp.Tools.Advisor/tests/Azure.Mcp.Tools.Advisor.Tests/ --filter "TestType!=Live"— runs unit tests for the Advisor toolset.\eng\common\spelling\Invoke-Cspell.ps1— checks spelling in the 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 · 138 AIC · ⌖ 7.03 AIC · ⊞ 11.2K · ◷
- Dominant language
- C#
- Stars
- 3.9k
- Forks
- 689
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 143
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/mcp
-
[BUG] speech tts synthesize rejects valid locales such as fil-PH, yue-CN and sr-Latn-RS in --languagePossibly taken @Shizoqua claimed this today. OpenAzure.Mcp.Server needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
[BUG] deploy architecture diagram generate never shows Docker settings for container appsPossibly taken @Shizoqua claimed this today. OpenAzure.Mcp.Server needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 2 days
-
[BUG] Single mode: an unknown tool name fails with "An error occurred invoking 'azure'" instead of listing the available toolsPossibly taken @Ahmed-Manai claimed this 9 days ago. Openserver-Azure.Mcp
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
[BUG] pricing get drops tierMinimumUnits, so tiered meters return same-meter prices with no thresholdPossibly taken @msalaman claimed this 29 days ago. Opencustomer-reported needs-team-triage question server-Azure.Mcp tools-Price tools-Pricing
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/mcp#4087 · 1 comment · 1 assignee ·
Maintainers usually reply within 2 days
-
[Doc Gap] README.md still shows removed "Basic" resilience usage plan tier after GA SDK updateMay be free again @anishsinghhh3-bit claimed this 32 days ago, and no pull request is open. Opencopilot documentation server-Azure.Mcp tools-ResilienceManagement
Difficulty 1/5 Under an hour Newbie friendliness 86/100
microsoft/mcp#4008 · 2 comments ·
Maintainers usually reply within 2 days
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
microsoft/fluentui-blazor#5721 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Project dependencies are outdatedPossibly taken @yasmoradi claimed this today. Opendependencies
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bitfoundation/bitplatform#15616 ·
Maintainers usually reply within 1 day
-
:watch: Not Triaged Pri3
Difficulty 1/5 Under an hour Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
area-controls-shell platform/android
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
dotnet/maui#41304 · 1 reaction ·
Maintainers usually reply within 1 day