Skip to content

Improve AKS tool description#771

Merged
JonathanCrd merged 8 commits intomicrosoft:mainfrom
JonathanCrd:aks/improve-descriptions
Oct 10, 2025
Merged

Improve AKS tool description#771
JonathanCrd merged 8 commits intomicrosoft:mainfrom
JonathanCrd:aks/improve-descriptions

Conversation

@JonathanCrd
Copy link
Copy Markdown
Member

@JonathanCrd JonathanCrd commented Oct 10, 2025

What does this PR do?

This PR enhances the Azure Kubernetes Service tool descriptions for better LLM selection.

GitHub issue number?

Fixes #242

Pre-merge Checklist

  • Required for All PRs
    • Read contribution guidelines
    • PR title clearly describes the change
    • Commit history is clean with descriptive messages (cleanup guide)
    • Added comprehensive tests for new/modified functionality
    • Updated servers/Azure.Mcp.Server/CHANGELOG.md and/or servers/Fabric.Mcp.Server/CHANGELOG.md for product changes (features, bug fixes, UI/UX, updated dependencies)
  • For MCP tool changes:
    • One tool per PR: This PR adds or modifies only one MCP tool for faster review cycles
    • Updated servers/Azure.Mcp.Server/README.md and/or servers/Fabric.Mcp.Server/README.md documentation
    • Updated command list in /servers/Azure.Mcp.Server/docs/azmcp-commands.md and/or /docs/fabric-commands.md
    • For new or modified tool descriptions, ran ToolDescriptionEvaluator and obtained a score of 0.4 or more and a top 3 ranking for all related test prompts
    • For new tools associated with Azure services or publicly available tools/APIs/products, add URL to documentation in the PR description
  • Extra steps for Azure MCP Server tool changes:
    • Updated test prompts in /servers/Azure.Mcp.Server/docs/e2eTestPrompts.md
    • 👉 For Community (non-Microsoft team member) PRs:
      • Security review: Reviewed code for security vulnerabilities, malicious code, or suspicious activities before running tests (crypto mining, spam, data exfiltration, etc.)
      • Manual tests run: added comment /azp run mcp - pullrequest - live to run Live Test Pipeline

@JonathanCrd JonathanCrd marked this pull request as ready for review October 10, 2025 22:15
@JonathanCrd JonathanCrd requested review from a team, feiskyer and gossion as code owners October 10, 2025 22:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the Azure Kubernetes Service (AKS) tool descriptions to improve LLM selection accuracy. The changes focus on making the descriptions more specific about what the tools do and when to use them, while clearly differentiating them from Kubernetes-native operations.

  • Updated AKS command descriptions to be more precise and reduce ambiguity for LLM selection
  • Added clear boundaries between Azure resource management and Kubernetes cluster operations
  • Enhanced the main AKS command group description to better communicate its scope and purpose

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/Azure.Mcp.Tools.Aks/src/Commands/Nodepool/NodepoolGetCommand.cs Updated nodepool get command description to be more concise and specific about functionality
tools/Azure.Mcp.Tools.Aks/src/Commands/Cluster/ClusterGetCommand.cs Improved cluster get command description with clearer parameter requirements and scope
tools/Azure.Mcp.Tools.Aks/src/AksSetup.cs Enhanced main AKS command group description to better explain use cases and limitations
servers/Azure.Mcp.Server/CHANGELOG.md Added changelog entry documenting the description improvements
eng/tools/ToolDescriptionEvaluator/tools.json Updated tool descriptions in the evaluator configuration to match code changes
eng/tools/ToolDescriptionEvaluator/prompts.json Added new test prompts for various Azure services (unrelated to AKS changes)

Comment thread eng/tools/ToolDescriptionEvaluator/tools.json
Comment thread eng/tools/ToolDescriptionEvaluator/tools.json
@JonathanCrd JonathanCrd enabled auto-merge (squash) October 10, 2025 22:40
@JonathanCrd JonathanCrd merged commit 02eb376 into microsoft:main Oct 10, 2025
25 checks passed
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in Azure MCP Server Oct 10, 2025
colbytimm pushed a commit to colbytimm/microsoft-mcp that referenced this pull request Dec 8, 2025
* First iteration of description enhancement

* Second iteration using copilot

* Third iteration with copilot

* Update CHANGELOG

* Improve Cluster Get command using ToolDescriptionEvaluator

* Run DescriptionEvaluator tool

* Ran tool description evaluator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Tool Description] Improve AKS tool description for better LLM selection

3 participants