Skip to content

Commit 617e44c

Browse files
committed
Update description
1 parent c398bc2 commit 617e44c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkg/github/actions.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ func actionFromString(s string) actionsActionType {
7777
func ActionsList(getClient GetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
7878
return mcp.NewTool("actions_list",
7979
mcp.WithDescription(t("TOOL_ACTIONS_LIST_DESCRIPTION", "List GitHub Actions workflows in a repository.")),
80+
mcp.WithDescription(t("TOOL_ACTIONS_LIST_DESCRIPTION", `Tools for listing GitHub Actions resources.
81+
Use this tool to list workflows in a repository, or list workflow runs, jobs, and artifacts for a specific workflow or workflow run.
82+
`)),
8083
mcp.WithToolAnnotation(mcp.ToolAnnotation{
8184
Title: t("TOOL_ACTIONS_LIST_USER_TITLE", "List GitHub Actions workflows in a repository"),
8285
ReadOnlyHint: ToBoolPtr(true),
@@ -247,9 +250,8 @@ func ActionsList(getClient GetClientFn, t translations.TranslationHelperFunc) (t
247250

248251
func ActionsGet(getClient GetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
249252
return mcp.NewTool("actions_get",
250-
mcp.WithDescription(t("TOOL_ACTIONS_READ_DESCRIPTION", `Tools for reading GitHub Actions resources.
251-
Use this tool to list workflows in a repository, or list workflow runs, jobs, and artifacts for a specific workflow or workflow run.
252-
Use this tool also to get details about individual workflows, workflow runs, jobs, and artifacts, by using their unique IDs.
253+
mcp.WithDescription(t("TOOL_ACTIONS_READ_DESCRIPTION", `Tools for reading specific GitHub Actions resources.
254+
Use this tool to get details about individual workflows, workflow runs, jobs, and artifacts, by using their unique IDs.
253255
`)),
254256
mcp.WithToolAnnotation(mcp.ToolAnnotation{
255257
Title: t("TOOL_ACTIONS_READ_USER_TITLE", "Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)"),

0 commit comments

Comments
 (0)