[Doc Gap] Advisor `recommendation list` CLI docs missing `--tenant` flag after service-group scope update
I maintainer di solito rispondono entro 2 giorni
@akhil9tiet ci sta già lavorando.
Dal 14/10/2026.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 85/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- csharp
- Ambito
- documentation
Direzione di ricerca
Apri servers/Azure.Mcp.Server/docs/azmcp-commands.md e trova il blocco di utilizzo di azmcp advisor recommendation list (intorno alla riga 497). Confrontalo con il blocco recommendation update, che termina già con [--tenant <tenant>], e controlla l'opzione in RecommendationListOptions.cs. Aggiungi la riga --tenant al blocco della lista, quindi esegui il controllo cspell sul documento. Il lavoro è completato quando la sinossi della lista corrisponde agli altri due blocchi di Advisor.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 · ◷
- Lingua principale
- C#
- Stelle
- 3.9k
- Fork
- 689
- Merge medio
- 2g 11h
- PR unite (30g)
- 143
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/mcp
-
[BUG] speech tts synthesize rejects valid locales such as fil-PH, yue-CN and sr-Latn-RS in --languageForse già presa @Shizoqua l’ha presa oggi. ApertaAzure.Mcp.Server needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
[BUG] deploy architecture diagram generate never shows Docker settings for container appsForse già presa @Shizoqua l’ha presa oggi. ApertaAzure.Mcp.Server needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 2 giorni
-
[BUG] Single mode: an unknown tool name fails with "An error occurred invoking 'azure'" instead of listing the available toolsForse già presa @Ahmed-Manai l’ha presa 9 giorni fa. Apertaserver-Azure.Mcp
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
[BUG] pricing get drops tierMinimumUnits, so tiered meters return same-meter prices with no thresholdForse già presa @msalaman l’ha presa 29 giorni fa. Apertacustomer-reported needs-team-triage question server-Azure.Mcp tools-Price tools-Pricing
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/mcp#4087 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
[Doc Gap] README.md still shows removed "Basic" resilience usage plan tier after GA SDK updateForse di nuovo libera @anishsinghhh3-bit l’ha presa 32 giorni fa e non c’è nessuna pull request aperta. Apertacopilot documentation server-Azure.Mcp tools-ResilienceManagement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
microsoft/mcp#4008 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di microsoft/mcp
Issue simili
-
fix: [v5] FluentTextInput throws from ElementInternals during .NET 11 enhanced form navigationAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
microsoft/fluentui-blazor#5721 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Project dependencies are outdatedForse già presa @yasmoradi l’ha presa oggi. Apertadependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bitfoundation/bitplatform#15616 ·
I maintainer di solito rispondono entro 1 giorno
-
:watch: Not Triaged Pri3
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
area-controls-shell platform/android
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
dotnet/maui#41304 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno