Disambiguate top-N recommendation ranking, result limits, and Advisor/Optimization routing
Maintainers usually reply within 2 days
@conniey is already working on this.
Since Oct 30, 2026.
Assessment
This issue has not been assessed yet.
Description
Summary
Separate ranking/result-limit ambiguity from the oversized-discovery investigation in microsoft/mcp#4068. Ranking support already exists; the problem is distinguishing ranked recommendation types, ranked individual records, capped lists, and overlapping Advisor/Optimization ownership.
The original October 27 Vally run advertised these capabilities:
| Command | Existing behavior |
|---|---|
advisor_recommendation_summary |
prioritized: true ranks active recommendation types; top caps ranked groups. Supports impact, category, resource, and other filters. |
advisor_recommendation_list |
Returns individual records. top alone caps results; it is not ranking. prioritized: true orders records within a specified recommendation-type-id. |
optimization_recommendation_list |
Returns individual cost-saving recommendations ranked by impact and currency-normalized annual savings, capped by top. |
Advisor's summary description both calls the tool "aggregate-only" and directs broad "top recommendations" requests to its prioritized mode. Optimization also claims cost-saving recommendation requests. This creates a semantic/routing overlap; a separate generic ranking MCP tool is not demonstrably missing.
Affected prompts and observed selection
Case labels identify the original run only; regenerated numbers can change.
| Original case | Exact prompt | Grader expected | Observed selection |
|---|---|---|---|
advisor evaluation 105 |
Show me the top 10 medium-impact Advisor recommendations in subscription <subscription> | advisor_recommendation_summary |
advisor_recommendation_list with impact: Medium and unsupported limit: 10; retry removed limit without supplying top. |
advisor evaluation 56 |
List Cost recommendations with resource type Microsoft.Storage/storageAccounts, resource <resource-id>, search encryption, subcategory ZoneResiliency, and top 5 in subscription <subscription> | advisor_recommendation_list |
optimization_recommendation_list with top: 5; the requested resource/type/search/subcategory filters were not passed. |
optimization evaluation 3 |
Show me the top cost-saving recommendations for my subscription | optimization_recommendation_list |
advisor_recommendation_summary with category: Cost and prioritized: true. |
The first prompt does not clearly distinguish ten recommendation types from ten individual records. The second mixes detailed record filters with "top 5", which may mean a result cap rather than ranking. The third exposes overlapping cost-ranking routes.
Actions and acceptance criteria
- Define canonical routing for ranked types, ranked records within a type, capped filtered lists, and cost-saving recommendations.
- Decide whether ambiguous prompts should name the result unit/ranking criterion or permit multiple semantically valid routes; do not assume every grader expectation is correct.
- Make namespace, command, and option descriptions consistent about ranking versus result limits, particularly summary's "aggregate-only" wording and Advisor/Optimization ownership.
- Preserve requested counts and filters. Use the supported
topparameter, notlimit; never silently drop unsupported filters by switching namespaces. - Add focused tool-selection evaluations distinguishing the above intents, then rerun the three exact prompts with the same model/environment before removing
investigation-required.
These are tool-selection evaluations. Successful Azure execution is not required to pass. Two of these three cases also encountered file-backed discovery previews, so output size remains a possible contributor, not the established cause.
Related: microsoft/mcp#4068 (discovery investigation), microsoft/mcp#3715 (progressive disclosure), microsoft/vally#1393 (retain large-output evidence).
- 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