Skip to content

Commit 7028be0

Browse files
committed
Improve descriptions to be clearer
The filters don't return something new, they filter existing results.
1 parent 617e44c commit 7028be0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/github/actions.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ Use this tool to list workflows in a repository, or list workflow runs, jobs, an
114114
mcp.Properties(map[string]any{
115115
"actor": map[string]any{
116116
"type": "string",
117-
"description": "Returns someone's workflow runs. Use the login for the user who created the workflow run.",
117+
"description": "Filter to a specific GitHub user's workflow runs.",
118118
},
119119
"branch": map[string]any{
120120
"type": "string",
121-
"description": "Returns workflow runs associated with a branch. Use the name of the branch.",
121+
"description": "Filter workflow runs to a specific Git branch. Use the name of the branch.",
122122
},
123123
"event": map[string]any{
124124
"type": "string",
125-
"description": "Returns workflow runs for a specific event type",
125+
"description": "Filter workflow runs to a specific event type",
126126
"enum": []string{
127127
"branch_protection_rule",
128128
"check_run",
@@ -160,7 +160,7 @@ Use this tool to list workflows in a repository, or list workflow runs, jobs, an
160160
},
161161
"status": map[string]any{
162162
"type": "string",
163-
"description": "Returns workflow runs with the check run status",
163+
"description": "Filter workflow runs to only runs with a specific status",
164164
"enum": []string{"queued", "in_progress", "completed", "requested", "waiting"},
165165
},
166166
}),

0 commit comments

Comments
 (0)