You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
funcEnableToolset(s*server.MCPServer, toolsetGroup*toolsets.ToolsetGroup, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
23
23
returnmcp.NewTool("enable_toolset",
24
-
mcp.WithDescription(t("TOOL_ENABLE_TOOLSET_DESCRIPTION", "Enable one of the sets of tools the GitHub MCP server provides, use get_toolset_tools and list_available_toolsets first to see what this will enable")),
24
+
mcp.WithDescription(t("TOOL_ENABLE_TOOLSET_DESCRIPTION", "Enable one of the sets of tools the GitHub MCP server provides, use get_toolset_tools and list_available_toolsets first to see what this will enable.")),
25
25
mcp.WithString("toolset",
26
26
mcp.Required(),
27
-
mcp.Description("The name of the toolset to enable"),
27
+
mcp.Description("The name of the toolset to enable."),
28
28
ToolsetEnum(toolsetGroup),
29
29
),
30
30
),
@@ -56,7 +56,7 @@ func EnableToolset(s *server.MCPServer, toolsetGroup *toolsets.ToolsetGroup, t t
56
56
57
57
funcListAvailableToolsets(toolsetGroup*toolsets.ToolsetGroup, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
58
58
returnmcp.NewTool("list_available_toolsets",
59
-
mcp.WithDescription(t("TOOL_LIST_AVAILABLE_TOOLSETS_DESCRIPTION", "List all available toolsets this GitHub MCP server can offer, providing the enabled status of each. Use this when a task could be achieved with a GitHub tool and the currently available tools aren't enough. Call get_toolset_tools with these toolset names to discover specific tools you can call")),
59
+
mcp.WithDescription(t("TOOL_LIST_AVAILABLE_TOOLSETS_DESCRIPTION", "List all available toolsets this GitHub MCP server can offer, providing the enabled status of each. Use this when a task could be achieved with a GitHub tool and the currently available tools aren't enough. Call get_toolset_tools with these toolset names to discover specific tools you can call.")),
// We need to convert the toolsetGroup back to a map for JSON serialization
@@ -86,10 +86,10 @@ func ListAvailableToolsets(toolsetGroup *toolsets.ToolsetGroup, t translations.T
86
86
87
87
funcGetToolsetsTools(toolsetGroup*toolsets.ToolsetGroup, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
88
88
returnmcp.NewTool("get_toolset_tools",
89
-
mcp.WithDescription(t("TOOL_GET_TOOLSET_TOOLS_DESCRIPTION", "Lists all the capabilities that are enabled with the specified toolset, use this to get clarity on whether enabling a toolset would help you to complete a task")),
89
+
mcp.WithDescription(t("TOOL_GET_TOOLSET_TOOLS_DESCRIPTION", "Lists all the capabilities that are enabled with the specified toolset, use this to get clarity on whether enabling a toolset would help you to complete a task.")),
90
90
mcp.WithString("toolset",
91
91
mcp.Required(),
92
-
mcp.Description("The name of the toolset you want to get the tools for"),
92
+
mcp.Description("The name of the toolset you want to get the tools for."),
0 commit comments