-
Notifications
You must be signed in to change notification settings - Fork 15
Rename mcp-registry server to tool-assistant #831
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
$version: "2" | ||
|
||
namespace smithy.mcp.toolassistant | ||
|
||
/// This service provides methods to search MCP Tools and install MCP servers. | ||
/// Be aware that tools installed using InstallTool are available as part of the ToolAssistant MCP server and the MCP serverId returned from search tool needs to be ignored while tool calling. | ||
service ToolAssistant { | ||
operations: [ | ||
SearchTools | ||
InstallTool | ||
] | ||
} | ||
|
||
/// You MUST use the SearchTools MCP tool whenever the current toolset is not sufficient to complete the task. | ||
/// Do not attempt to proceed with incomplete or inadequate tools. | ||
/// SearchTools returns a ranked list of tools relevant to the task description—always use it to expand your capabilities. | ||
/// If any required tool is missing, immediately install it using the InstallTool API. | ||
/// This process can and should be repeated: keep invoking SearchTools and InstallTool until you have the tools needed to complete the task successfully. | ||
/// Do not rely solely on the preloaded tools. Tool discovery and installation is a core part of your workflow. | ||
operation SearchTools { | ||
input := { | ||
/// Generate a concise tool description based on the current dialogue context. | ||
/// | ||
/// Focus on the user’s intent, including specific actions, platforms, or systems mentioned. | ||
/// | ||
/// Include concrete nouns, URLs, acronyms, or product names that help identify the task. | ||
/// | ||
/// The goal is to create a search query that helps SearchTools return the most relevant tools. | ||
/// | ||
/// Avoid vague or generic phrasing—be as specific and task-oriented as possible. | ||
/// | ||
// Example | ||
/// | ||
/// Dialogue: "Hi, can you help me create a code review? I use code.amazon.com" | ||
/// | ||
/// Tool Description: "Create a code review on code.amazon.com" | ||
toolDescription: String | ||
|
||
/// Number of tools to return based on relevance in descending order of relevance. If not specified, the default is 1 | ||
@default(1) | ||
numberOfTools: Integer | ||
} | ||
|
||
output := { | ||
/// List of MCP tools most relevant for the query, sorted by order of relevance, | ||
/// the first tool being the most relevant. | ||
@required | ||
tools: Tools | ||
} | ||
} | ||
|
||
list Tools { | ||
member: Tool | ||
} | ||
|
||
structure Tool { | ||
/// Name of this tool | ||
@required | ||
toolName: String | ||
} | ||
|
||
/// Install a new MCP Tool for local use. | ||
/// Be aware that tools installed using InstallTool are available as part of the ToolAssistant MCP server. | ||
operation InstallTool { | ||
input := { | ||
/// The name of the MCP tool to install | ||
@required | ||
toolName: String | ||
} | ||
|
||
output := { | ||
message: String | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
star import
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.
eh, I guess it's fine if checkstyle didn't reject it