Skip to content

Commit 15e5e10

Browse files
committed
update tool desc for get_team_members to include warning about auth
1 parent 4429b1f commit 15e5e10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/github/__toolsnaps__/get_team_members.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "Get team members",
44
"readOnlyHint": true
55
},
6-
"description": "Get member usernames of a specific team in an organization.",
6+
"description": "Get member usernames of a specific team in an organization. Limited to organizations accessible with current credentials",
77
"inputSchema": {
88
"properties": {
99
"org": {

pkg/github/context_tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ func GetTeams(getClient GetClientFn, getGQLClient GetGQLClientFn, t translations
193193

194194
func GetTeamMembers(getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
195195
tool := mcp.NewTool("get_team_members",
196-
mcp.WithDescription(t("TOOL_GET_TEAM_MEMBERS_DESCRIPTION", "Get member usernames of a specific team in an organization.")),
196+
mcp.WithDescription(t("TOOL_GET_TEAM_MEMBERS_DESCRIPTION", "Get member usernames of a specific team in an organization. Limited to organizations accessible with current credentials")),
197197
mcp.WithString("org",
198198
mcp.Description(t("TOOL_GET_TEAM_MEMBERS_ORG_DESCRIPTION", "Organization login (owner) that contains the team.")),
199199
mcp.Required(),

0 commit comments

Comments
 (0)