Skip to content

Commit b460280

Browse files
committed
Update descriptions for allow finding teams of other users
1 parent 2b8c2c2 commit b460280

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
@@ -421,7 +421,7 @@ The following sets of tools are available (all are on by default):
421421
- **get_me** - Get my user profile
422422
- No parameters required
423423

424-
- **get_teams** - Get my teams
424+
- **get_teams** - Get teams
425425
- `user`: Username to get teams for. If not provided, uses the authenticated user. (string, optional)
426426

427427
</details>

pkg/github/__toolsnaps__/get_teams.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"annotations": {
3-
"title": "Get my teams",
3+
"title": "Get teams",
44
"readOnlyHint": true
55
},
6-
"description": "Get details of the teams the authenticated user is a member of.",
6+
"description": "Get details of the teams the user is a member of",
77
"inputSchema": {
88
"properties": {
99
"user": {

pkg/github/context_tools.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ func GetMe(getClient GetClientFn, t translations.TranslationHelperFunc) (mcp.Too
9595

9696
func GetTeams(getClient GetClientFn, getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
9797
tool := mcp.NewTool("get_teams",
98-
mcp.WithDescription(t("TOOL_GET_TEAMS_DESCRIPTION", "Get details of the teams the authenticated user is a member of.")),
98+
mcp.WithDescription(t("TOOL_GET_TEAMS_DESCRIPTION", "Get details of the teams the user is a member of")),
9999
mcp.WithString("user",
100100
mcp.Description(t("TOOL_GET_TEAMS_USER_DESCRIPTION", "Username to get teams for. If not provided, uses the authenticated user.")),
101101
),
102102
mcp.WithToolAnnotation(mcp.ToolAnnotation{
103-
Title: t("TOOL_GET_TEAMS_TITLE", "Get my teams"),
103+
Title: t("TOOL_GET_TEAMS_TITLE", "Get teams"),
104104
ReadOnlyHint: ToBoolPtr(true),
105105
}),
106106
)

0 commit comments

Comments
 (0)