Skip to content

Commit 4035140

Browse files
committed
Prompt tweaks + deleting snap
1 parent 3b4eaf2 commit 4035140

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pkg/github/__toolsnaps__/pull_request_review_write.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "Write operations (create, submit, delete) on pull request reviews.",
44
"readOnlyHint": false
55
},
6-
"description": "Create and/or submit, delete pull request review.\n\nAvailable methods:\n- create: Create a new pull request review. If \"event\" parameter is provided, the review is submitted. If \"event\" is omitted, a pending review is created.\n- submit_pending: Submit an existing pending pull request review. This requires that a pending review exists for the current user on the specified pull request. The \"body\" and \"event\" parameters are used when submitting the review.\n- delete_pending: Delete an existing pending pull request review. This requires that a pending review exists for the current user on the specified pull request.\n",
6+
"description": "Create and/or submit, delete review of a pull request.\n\nAvailable methods:\n- create: Create a new review of a pull request. If \"event\" parameter is provided, the review is submitted. If \"event\" is omitted, a pending review is created.\n- submit_pending: Submit an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request. The \"body\" and \"event\" parameters are used when submitting the review.\n- delete_pending: Delete an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request.\n",
77
"inputSchema": {
88
"properties": {
99
"body": {

pkg/github/pullrequests.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,12 +1040,12 @@ type PullRequestReviewWriteParams struct {
10401040

10411041
func PullRequestReviewWrite(getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
10421042
return mcp.NewTool("pull_request_review_write",
1043-
mcp.WithDescription(t("TOOL_PULL_REQUEST_REVIEW_WRITE_DESCRIPTION", `Create and/or submit, delete pull request review.
1043+
mcp.WithDescription(t("TOOL_PULL_REQUEST_REVIEW_WRITE_DESCRIPTION", `Create and/or submit, delete review of a pull request.
10441044
10451045
Available methods:
1046-
- create: Create a new pull request review. If "event" parameter is provided, the review is submitted. If "event" is omitted, a pending review is created.
1047-
- submit_pending: Submit an existing pending pull request review. This requires that a pending review exists for the current user on the specified pull request. The "body" and "event" parameters are used when submitting the review.
1048-
- delete_pending: Delete an existing pending pull request review. This requires that a pending review exists for the current user on the specified pull request.
1046+
- create: Create a new review of a pull request. If "event" parameter is provided, the review is submitted. If "event" is omitted, a pending review is created.
1047+
- submit_pending: Submit an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request. The "body" and "event" parameters are used when submitting the review.
1048+
- delete_pending: Delete an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request.
10491049
`)),
10501050
mcp.WithToolAnnotation(mcp.ToolAnnotation{
10511051
Title: t("TOOL_PULL_REQUEST_REVIEW_WRITE_USER_TITLE", "Write operations (create, submit, delete) on pull request reviews."),

0 commit comments

Comments
 (0)