-
Notifications
You must be signed in to change notification settings - Fork 272
(WIP) Add ToolMetadataExporter #992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| public virtual Task<ListToolsResult?> LoadToolsDynamicallyAsync() | ||
| { | ||
| return Utility.LoadToolsDynamicallyAsync(_toolDirectory, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are currently utility methods but the logic is from ToolDescriptionEvaluator where I think the logic can be shared.
|
|
||
| namespace ToolMetadataExporter; | ||
|
|
||
| internal class Utility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Taken from ToolDescriptionEvaluator and modified. Need to update logic together.
What does this PR do?
Adds tool to export current metadata from azmcp.
GitHub issue number?
[Link to the GitHub issue this PR addresses]https://github.com/microsoft/mcp-pr/issues/123
Pre-merge Checklist
servers/Azure.Mcp.Server/CHANGELOG.mdand/orservers/Fabric.Mcp.Server/CHANGELOG.mdfor product changes (features, bug fixes, UI/UX, updated dependencies)servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentationeng/scripts/Process-PackageReadMe.ps1. See Package README/servers/Azure.Mcp.Server/docs/azmcp-commands.mdand/or/docs/fabric-commands.md.\eng\scripts\Update-AzCommandsMetadata.ps1to update tool metadata in azmcp-commands.md (required for CI)ToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test prompts/servers/Azure.Mcp.Server/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline