Skip to content

Commit 1cd7b74

Browse files
committed
update descriptions
1 parent 3f201f3 commit 1cd7b74

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ The following sets of tools are available (all are on by default):
880880
- `page`: Page number for pagination (min 1) (number, optional)
881881
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
882882
- `sort`: How to sort the results. Can be either 'created' (when the repository was starred) or 'updated' (when the repository was last pushed to). (string, optional)
883-
- `username`: Username to list starred repositories for. If not provided, lists starred repositories for the authenticated user. (string, optional)
883+
- `username`: Username to list starred repositories for. Defaults to the authenticated user. (string, optional)
884884

885885
- **list_tags** - List tags
886886
- `owner`: Repository owner (string, required)

pkg/github/__toolsnaps__/list_starred_repositories.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "List starred repositories",
44
"readOnlyHint": true
55
},
6-
"description": "List repositories starred by the authenticated user or a specified user",
6+
"description": "List starred repositories",
77
"inputSchema": {
88
"properties": {
99
"direction": {
@@ -34,7 +34,7 @@
3434
"type": "string"
3535
},
3636
"username": {
37-
"description": "Username to list starred repositories for. If not provided, lists starred repositories for the authenticated user.",
37+
"description": "Username to list starred repositories for. Defaults to the authenticated user.",
3838
"type": "string"
3939
}
4040
},

pkg/github/repositories.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,13 +1687,13 @@ func resolveGitReference(ctx context.Context, githubClient *github.Client, owner
16871687
// ListStarredRepositories creates a tool to list starred repositories for the authenticated user or a specified user.
16881688
func ListStarredRepositories(getClient GetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
16891689
return mcp.NewTool("list_starred_repositories",
1690-
mcp.WithDescription(t("TOOL_LIST_STARRED_REPOSITORIES_DESCRIPTION", "List repositories starred by the authenticated user or a specified user")),
1690+
mcp.WithDescription(t("TOOL_LIST_STARRED_REPOSITORIES_DESCRIPTION", "List starred repositories")),
16911691
mcp.WithToolAnnotation(mcp.ToolAnnotation{
16921692
Title: t("TOOL_LIST_STARRED_REPOSITORIES_USER_TITLE", "List starred repositories"),
16931693
ReadOnlyHint: ToBoolPtr(true),
16941694
}),
16951695
mcp.WithString("username",
1696-
mcp.Description("Username to list starred repositories for. If not provided, lists starred repositories for the authenticated user."),
1696+
mcp.Description("Username to list starred repositories for. Defaults to the authenticated user."),
16971697
),
16981698
mcp.WithString("sort",
16991699
mcp.Description("How to sort the results. Can be either 'created' (when the repository was starred) or 'updated' (when the repository was last pushed to)."),

0 commit comments

Comments
 (0)