Skip to content

Commit 773cf30

Browse files
committed
fix title
1 parent eece975 commit 773cf30

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ The following sets of tools are available (all are on by default):
600600
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
601601
- `repo`: Repository name (string, required)
602602

603-
- **get_label** - Get Label from a repository.
603+
- **get_label** - Get a specific label from a repository.
604604
- `name`: Label name. (string, required)
605605
- `owner`: Repository owner (username or organization name) (string, required)
606606
- `repo`: Repository name (string, required)
@@ -619,7 +619,7 @@ The following sets of tools are available (all are on by default):
619619
- `since`: Filter by date (ISO 8601 timestamp) (string, optional)
620620
- `state`: Filter by state, by default both open and closed issues are returned when not provided (string, optional)
621621

622-
- **list_label** - Get Label from a repository.
622+
- **list_label** - List labels from a repository or an issue
623623
- `issue_number`: Issue number - if provided, lists labels on the specific issue (number, optional)
624624
- `owner`: Repository owner (username or organization name) - required for all operations (string, required)
625625
- `repo`: Repository name - required for all operations (string, required)
@@ -683,12 +683,12 @@ The following sets of tools are available (all are on by default):
683683

684684
<summary>Labels</summary>
685685

686-
- **get_label** - Get Label from a repository.
686+
- **get_label** - Get a specific label from a repository.
687687
- `name`: Label name. (string, required)
688688
- `owner`: Repository owner (username or organization name) (string, required)
689689
- `repo`: Repository name (string, required)
690690

691-
- **list_label** - Get Label from a repository.
691+
- **list_label** - List labels from a repository or an issue
692692
- `issue_number`: Issue number - if provided, lists labels on the specific issue (number, optional)
693693
- `owner`: Repository owner (username or organization name) - required for all operations (string, required)
694694
- `repo`: Repository name - required for all operations (string, required)

pkg/github/__toolsnaps__/get_label.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"annotations": {
3-
"title": "Get Label from a repository.",
3+
"title": "Get a specific label from a repository.",
44
"readOnlyHint": true
55
},
66
"description": "Get a specific label from a repository.",

pkg/github/labels.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func GetLabel(getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc)
1919
"get_label",
2020
mcp.WithDescription(t("TOOL_GET_LABEL_DESCRIPTION", "Get a specific label from a repository.")),
2121
mcp.WithToolAnnotation(mcp.ToolAnnotation{
22-
Title: t("TOOL_GET_LABEL_TITLE", "Get Label from a repository."),
22+
Title: t("TOOL_GET_LABEL_TITLE", "Get a specific label from a repository."),
2323
ReadOnlyHint: ToBoolPtr(true),
2424
}),
2525
mcp.WithString("owner",
@@ -103,7 +103,7 @@ func ListLabels(getGQLClient GetGQLClientFn, t translations.TranslationHelperFun
103103
"list_label",
104104
mcp.WithDescription(t("TOOL_LIST_LABEL_DESCRIPTION", "List labels from a repository or an issue")),
105105
mcp.WithToolAnnotation(mcp.ToolAnnotation{
106-
Title: t("TOOL_GET_LABEL_TITLE", "List labels from a repository."),
106+
Title: t("TOOL_LIST_LABEL_DESCRIPTION", "List labels from a repository."),
107107
ReadOnlyHint: ToBoolPtr(true),
108108
}),
109109
mcp.WithString("owner",

0 commit comments

Comments
 (0)