microsoft / microsoft/mcp

[Feature] Support progresssive disclosure when learn=true

Open
#3,715 1 comment 0 reactions 1 assignee Claimed by @conniey View on GitHub
Azure.Mcp.Server enhancement server-Azure.Mcp tools-Core
Dominant language
C#
Stars
3.7k
Forks
624
Avg merge
2d 20h
Merged PRs (30d)
220

Description

### Describe the feature

When the response is so large that it gets written to a temporary file, tool discovery failures are more likely to occur. The model will use grep to understand the commands which may miss commands with unexpected names.

### Expected behavior

Consider progressively disclosing information about commands:

1. Namespace-level  `learn=true`  returns command names and short descriptions only.
2.  `learn=true`  with  `command=advisor_recommendation_summary` returns only that command’s full parameter schema.
3. (This may be fixed) Invalid commands return concise names and possibly nearest matches—never the complete catalog.

### Actual behavior

Large files.

### Reproduction Steps

https://github.com/microsoft/mcp/actions/runs/35278325710/job/105394183069. Evaluations with resiliencemanagement or monitor fail with errors similar to this.

### Environment

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.