[BUG] Track Azure MCP improvements from Hillclimb evaluations

Open
#4,280 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
azure, csharp
Domain
ai, devops

Research direction

Start with the linked sub-issues (#3183, #3200, #4068, #4089, #4090, #4190, #4191, and #4195), then inspect their prompts, command sequences, run evidence, and affected Hillclimb evaluation trials. Reproduce the relevant trial and measure discovery calls, context and inline-result size, command selection, error recovery, or redaction behavior. Done means each selected fix passes its affected scenario and before/after results are recorded on the corresponding sub-issue.

Written by the indexing model from the issue text.

Description

bug epic needs-team-triage Performance server-Azure.Mcp tools-AppService tools-ARM tools-BestPractices tools-Core tools-ToolSelection
Describe the bug

Azure MCP Hillclimb evaluations exposed eight issues that increase context usage, lead agents to the wrong commands, or prevent recovery after a failed call. This bug tracks the MCP fixes and their impact on the affected trials, not changes to the skill-improvement workflow. Related: #2412 (Performance), previously the parent of #3183 and #3200.

Expected behavior

Agents can discover supported commands without repeatedly loading large schemas, receive useful results inline, and distinguish invalid inputs, authentication failures, and service failures. Validate fixes against the affected evaluation scenarios and record the before/after results on the relevant sub-issues.

Actual behavior
Issue Gap Evidence from the runs
#3183 Discovery and schema overhead 600 of 2,350 calls (26%) were discovery lookups. Schemas added about 12K tokens per model call; trials made about twice as many model calls.
#3200 Oversized results 494 results (21%) exceeded the 20 KB inline limit and were written to files. This affected 71% of trials; median oversized result was 44.5 KB, largest 498 KB.
#4068 Wrong command names After oversized discovery responses, agents made 84 calls to unsupported command names such as get and diagnose. Only 56% recovered.
#4089 Best-practices tool advertises unsupported operations Used in 89 of 140 trials. Of 127 calls, 25 requested unsupported actions; 31% of calls failed.
#4090 Large documentation responses Search averaged about 13K tokens per call; fetch averaged about 11.6K.
#4190 App Service diagnosis formats times incorrectly and misreports upstream errors All 20 failures were reported as 503. In 12 cases, 12-hour formatting reversed valid time ranges. Only 35% of retries succeeded.
#4191 Errors do not tell agents how to recover Across 222 failed calls, recovery was 35% for KQL errors, 56% for wrong command names, and 0% for 401s reported as service unavailable. Agents recovered from 7 of 7 clear unknown-argument errors.
#4195 ARM masks function keys without indicating redaction and hides error details The agent treated a masked listKeys value as usable, received generic ARM errors, and ended with a 401. That trial blocked acceptance of the candidate.
Reproduction Steps

Use the prompts, command sequences, and run evidence linked from the individual issues. Rerun the affected trials after each fix and compare the relevant measure: discovery calls, context size, inline result size, command selection, or recovery. For #4195, verify that redaction is explicit without exposing the key.

Environment

Azure MCP Server in Hillclimb evaluations, including Azure Diagnostics skill-only and Skill + MCP comparisons. Run-specific models, server versions, and configurations are documented on the individual issues.

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.