[Doc Gap] Advisor `recommendation list` CLI docs missing `--tenant` flag after service-group scope update
Los mantenedores suelen responder en 2 días
@akhil9tiet ya está trabajando en esto.
Desde el 14/10/2026.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 85/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp
- Área
- documentation
Línea de trabajo
Abre servers/Azure.Mcp.Server/docs/azmcp-commands.md y busca el bloque de uso de azmcp advisor recommendation list (alrededor de la línea 497). Compara ese bloque con el de recommendation update, que ya termina con [--tenant <tenant>], y revisa la opción en RecommendationListOptions.cs. Añade la línea --tenant al bloque de la lista y luego ejecuta la comprobación de cspell en el documento. Estará terminado cuando la sinopsis de la lista coincida con los otros dos bloques de Advisor.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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 · ◷
- Lenguaje dominante
- C#
- Estrellas
- 3.9k
- Forks
- 689
- Merge medio
- 2 d 11 h
- PR fusionados (30 d)
- 143
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/mcp
-
[BUG] speech tts synthesize rejects valid locales such as fil-PH, yue-CN and sr-Latn-RS in --languagePosiblemente ocupada @Shizoqua la tomó hoy. AbiertoAzure.Mcp.Server needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
[BUG] deploy architecture diagram generate never shows Docker settings for container appsPosiblemente ocupada @Shizoqua la tomó hoy. AbiertoAzure.Mcp.Server needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 2 días
-
[BUG] Single mode: an unknown tool name fails with "An error occurred invoking 'azure'" instead of listing the available toolsPosiblemente ocupada @Ahmed-Manai la tomó hace 9 días. Abiertoserver-Azure.Mcp
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
[BUG] pricing get drops tierMinimumUnits, so tiered meters return same-meter prices with no thresholdPosiblemente ocupada @msalaman la tomó hace 29 días. Abiertocustomer-reported needs-team-triage question server-Azure.Mcp tools-Price tools-Pricing
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/mcp#4087 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
[Doc Gap] README.md still shows removed "Basic" resilience usage plan tier after GA SDK updateQuizá libre de nuevo @anishsinghhh3-bit la tomó hace 32 días y no hay ningún pull request abierto. Abiertocopilot documentation server-Azure.Mcp tools-ResilienceManagement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
microsoft/mcp#4008 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de microsoft/mcp
Issues similares
-
fix: [v5] FluentTextInput throws from ElementInternals during .NET 11 enhanced form navigationAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
microsoft/fluentui-blazor#5721 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Project dependencies are outdatedPosiblemente ocupada @yasmoradi la tomó hoy. Abiertodependencies
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
bitfoundation/bitplatform#15616 ·
Los mantenedores suelen responder en 1 día
-
:watch: Not Triaged Pri3
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
Los mantenedores suelen responder en 1 día
-
area-controls-shell platform/android
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
dotnet/maui#41304 · 1 reacción ·
Los mantenedores suelen responder en 1 día