[BUG] Track Azure MCP improvements from Hillclimb evaluations

Aperta
#4,280 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
azure, csharp
Ambito
ai, devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C#
Stelle
3.9k
Fork
689
Merge medio
2g 11h
PR unite (30g)
143

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/mcp

Tutte le issue di microsoft/mcp

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.