Skip to content

Commit 977c133

Browse files
committed
adding better desc
1 parent c06f33c commit 977c133

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/github/issues.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,9 +1872,9 @@ func CreateLabel(getGQLClient GetGQLClientFn, t translations.TranslationHelperFu
18721872
}
18731873

18741874
// GetLabel handles both listing all labels and getting a specific label
1875-
func GetLabel(getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
1876-
return mcp.NewTool("get_label",
1877-
mcp.WithDescription(t("TOOL_GET_LABEL_DESCRIPTION", "Get a label from a specific repository. If no label name is provided, lists all labels in the repository.")),
1875+
func GetLabels(getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
1876+
return mcp.NewTool("get_labels",
1877+
mcp.WithDescription(t("TOOL_GET_LABEL_DESCRIPTION", "Get a label from a specific repository. If no label name is provided, lists all labels.")),
18781878
mcp.WithToolAnnotation(mcp.ToolAnnotation{
18791879
Title: t("TOOL_GET_LABEL_TITLE", "Get/List labels"),
18801880
ReadOnlyHint: ToBoolPtr(true),

0 commit comments

Comments
 (0)