[4.0] Prototype and Benchmark Higher-Level Grouped Discovery Mode

Open
#3,988 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@msalaman is already working on this.

Since Oct 19, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement needs-team-attention server-Azure.Mcp tools-Core

Release Tracker: microsoft/mcp-pr#691 (Theme 1.4)
Initiative: microsoft/mcp#3105 (Product and Platform)
Priority: P1 (Decision Needed for 4.0 Default Mode)

Objective

Prototype and benchmark a higher-level grouped discovery mode (group -> service/namespace -> command) as a candidate for the default server mode in 4.0, balancing initial tool-list footprint against discovery hop overhead.

Scope

  • Introduce a high-level grouping layer above service namespaces, establishing a group -> service/namespace -> command discovery path (adding one discovery hop compared with namespace mode).
  • Benchmark the grouped mode prototype against namespace mode and consolidated mode (microsoft/mcp#849) using identical models, clients, and representative single-service and cross-service workflows.
  • Measure end-to-end metrics across the evaluation matrix:
    • Total end-to-end token consumption (including discovery turns)
    • Tool-selection and parameter-binding accuracy
    • Task-completion success rate
    • End-to-end latency, accounting for additional discovery round trips
  • Keep grouped mode opt-in during evaluation while preserving namespace mode as the fallback until empirical results justify any default-mode change.

Dependencies and Related Issues

  • Experiment-Driven Tool Evaluation Epic: microsoft/mcp#3035
  • Consolidated Mode comparison counterpart: microsoft/mcp#849
  • Vally selection accuracy harness: microsoft/mcp-pr#638
  • Latency and token budget benchmark harness: microsoft/mcp-pr#637

4.0 Exit Criteria

  • Grouped mode prototype implemented behind an opt-in --mode configuration.
  • Comparative benchmark report completed for Grouped Mode vs. Namespace Mode vs. Consolidated Mode across single-service and cross-service workflows.
  • Default startup mode decision recorded for 4.0 GA with namespace mode retained as a supported fallback.
Dominant language
C#
Stars
3.9k
Forks
689
Avg merge
2d 11h
Merged PRs (30d)
143

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/mcp

All issues in microsoft/mcp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.