Skip to content

Commit f39f758

Browse files
timrogersCopilotSamMorrowDrums
authored
Remove trailing periods from tool title annotations (#2518)
Tool title annotations should be consistent with the rest of the tool catalog and render cleanly in agent UIs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Sam Morrow <info@sam-morrow.com>
1 parent 13e7f10 commit f39f758

9 files changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ The following sets of tools are available:
829829
- `owner`: Repository owner (string, required)
830830
- `repo`: Repository name (string, required)
831831

832-
- **get_label** - Get a specific label from a repository.
832+
- **get_label** - Get a specific label from a repository
833833
- **Required OAuth Scopes**: `repo`
834834
- `name`: Label name. (string, required)
835835
- `owner`: Repository owner (username or organization name) (string, required)
@@ -850,7 +850,7 @@ The following sets of tools are available:
850850
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
851851
- `repo`: The name of the repository (string, required)
852852

853-
- **issue_write** - Create or update issue.
853+
- **issue_write** - Create or update issue
854854
- **Required OAuth Scopes**: `repo`
855855
- `assignees`: Usernames to assign to this issue (string[], optional)
856856
- `body`: Issue body content (string, optional)
@@ -926,13 +926,13 @@ The following sets of tools are available:
926926

927927
<summary><picture><source media="(prefers-color-scheme: dark)" srcset="pkg/octicons/icons/tag-dark.png"><source media="(prefers-color-scheme: light)" srcset="pkg/octicons/icons/tag-light.png"><img src="pkg/octicons/icons/tag-light.png" width="20" height="20" alt="tag"></picture> Labels</summary>
928928

929-
- **get_label** - Get a specific label from a repository.
929+
- **get_label** - Get a specific label from a repository
930930
- **Required OAuth Scopes**: `repo`
931931
- `name`: Label name. (string, required)
932932
- `owner`: Repository owner (username or organization name) (string, required)
933933
- `repo`: Repository name (string, required)
934934

935-
- **label_write** - Write operations on repository labels.
935+
- **label_write** - Write operations on repository labels
936936
- **Required OAuth Scopes**: `repo`
937937
- `color`: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'. (string, optional)
938938
- `description`: Label description text. Optional for 'create' and 'update'. (string, optional)
@@ -1132,7 +1132,7 @@ The following sets of tools are available:
11321132
- `pullNumber`: Pull request number (number, required)
11331133
- `repo`: Repository name (string, required)
11341134

1135-
- **pull_request_review_write** - Write operations (create, submit, delete) on pull request reviews.
1135+
- **pull_request_review_write** - Write operations (create, submit, delete) on pull request reviews
11361136
- **Required OAuth Scopes**: `repo`
11371137
- `body`: Review comment text (string, optional)
11381138
- `commitID`: SHA of commit to review (string, optional)

pkg/github/__toolsnaps__/get_label.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"annotations": {
33
"readOnlyHint": true,
4-
"title": "Get a specific label from a repository."
4+
"title": "Get a specific label from a repository"
55
},
66
"description": "Get a specific label from a repository.",
77
"inputSchema": {

pkg/github/__toolsnaps__/issue_write.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"annotations": {
12-
"title": "Create or update issue."
12+
"title": "Create or update issue"
1313
},
1414
"description": "Create a new or update an existing issue in a GitHub repository.",
1515
"inputSchema": {

pkg/github/__toolsnaps__/label_write.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"annotations": {
3-
"title": "Write operations on repository labels."
3+
"title": "Write operations on repository labels"
44
},
55
"description": "Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.",
66
"inputSchema": {

pkg/github/__toolsnaps__/list_label.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"annotations": {
33
"readOnlyHint": true,
4-
"title": "List labels from a repository."
4+
"title": "List labels from a repository"
55
},
66
"description": "List labels from a repository",
77
"inputSchema": {

pkg/github/__toolsnaps__/pull_request_review_write.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"annotations": {
3-
"title": "Write operations (create, submit, delete) on pull request reviews."
3+
"title": "Write operations (create, submit, delete) on pull request reviews"
44
},
55
"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- resolve_thread: Resolve a review thread. Requires only \"threadId\" parameter with the thread's node ID (e.g., PRRT_kwDOxxx). The owner, repo, and pullNumber parameters are not used for this method. Resolving an already-resolved thread is a no-op.\n- unresolve_thread: Unresolve a previously resolved review thread. Requires only \"threadId\" parameter. The owner, repo, and pullNumber parameters are not used for this method. Unresolving an already-unresolved thread is a no-op.\n",
66
"inputSchema": {

pkg/github/issues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ func IssueWrite(t translations.TranslationHelperFunc) inventory.ServerTool {
13151315
Name: "issue_write",
13161316
Description: t("TOOL_ISSUE_WRITE_DESCRIPTION", "Create a new or update an existing issue in a GitHub repository."),
13171317
Annotations: &mcp.ToolAnnotations{
1318-
Title: t("TOOL_ISSUE_WRITE_USER_TITLE", "Create or update issue."),
1318+
Title: t("TOOL_ISSUE_WRITE_USER_TITLE", "Create or update issue"),
13191319
ReadOnlyHint: false,
13201320
},
13211321
Meta: mcp.Meta{

pkg/github/labels.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func GetLabel(t translations.TranslationHelperFunc) inventory.ServerTool {
2424
Name: "get_label",
2525
Description: t("TOOL_GET_LABEL_DESCRIPTION", "Get a specific label from a repository."),
2626
Annotations: &mcp.ToolAnnotations{
27-
Title: t("TOOL_GET_LABEL_TITLE", "Get a specific label from a repository."),
27+
Title: t("TOOL_GET_LABEL_TITLE", "Get a specific label from a repository"),
2828
ReadOnlyHint: true,
2929
},
3030
InputSchema: &jsonschema.Schema{
@@ -126,7 +126,7 @@ func ListLabels(t translations.TranslationHelperFunc) inventory.ServerTool {
126126
Name: "list_label",
127127
Description: t("TOOL_LIST_LABEL_DESCRIPTION", "List labels from a repository"),
128128
Annotations: &mcp.ToolAnnotations{
129-
Title: t("TOOL_LIST_LABEL_DESCRIPTION", "List labels from a repository."),
129+
Title: t("TOOL_LIST_LABEL_DESCRIPTION", "List labels from a repository"),
130130
ReadOnlyHint: true,
131131
},
132132
InputSchema: &jsonschema.Schema{
@@ -217,7 +217,7 @@ func LabelWrite(t translations.TranslationHelperFunc) inventory.ServerTool {
217217
Name: "label_write",
218218
Description: t("TOOL_LABEL_WRITE_DESCRIPTION", "Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool."),
219219
Annotations: &mcp.ToolAnnotations{
220-
Title: t("TOOL_LABEL_WRITE_TITLE", "Write operations on repository labels."),
220+
Title: t("TOOL_LABEL_WRITE_TITLE", "Write operations on repository labels"),
221221
ReadOnlyHint: false,
222222
},
223223
InputSchema: &jsonschema.Schema{

pkg/github/pullrequests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ Available methods:
15811581
- unresolve_thread: Unresolve a previously resolved review thread. Requires only "threadId" parameter. The owner, repo, and pullNumber parameters are not used for this method. Unresolving an already-unresolved thread is a no-op.
15821582
`),
15831583
Annotations: &mcp.ToolAnnotations{
1584-
Title: t("TOOL_PULL_REQUEST_REVIEW_WRITE_USER_TITLE", "Write operations (create, submit, delete) on pull request reviews."),
1584+
Title: t("TOOL_PULL_REQUEST_REVIEW_WRITE_USER_TITLE", "Write operations (create, submit, delete) on pull request reviews"),
15851585
ReadOnlyHint: false,
15861586
},
15871587
InputSchema: schema,

0 commit comments

Comments
 (0)