diff --git a/pkg/github/notifications.go b/pkg/github/notifications.go index 618cbdef59..c166b5f599 100644 --- a/pkg/github/notifications.go +++ b/pkg/github/notifications.go @@ -412,9 +412,10 @@ func ManageNotificationSubscription(t translations.TranslationHelperFunc) invent mcp.Tool{ Name: "manage_notification_subscription", Description: t("TOOL_MANAGE_NOTIFICATION_SUBSCRIPTION_DESCRIPTION", "Manage a notification subscription: ignore, watch, or delete a notification thread subscription."), - Annotations: &mcp.ToolAnnotations{ - Title: t("TOOL_MANAGE_NOTIFICATION_SUBSCRIPTION_USER_TITLE", "Manage notification subscription"), - ReadOnlyHint: false, + Annotations: &mcp.ToolAnnotations{ + Title: t("TOOL_MANAGE_NOTIFICATION_SUBSCRIPTION_USER_TITLE", "Manage notification subscription"), + ReadOnlyHint: false, + DestructiveHint: jsonschema.Ptr(false), }, InputSchema: &jsonschema.Schema{ Type: "object", @@ -508,9 +509,10 @@ func ManageRepositoryNotificationSubscription(t translations.TranslationHelperFu mcp.Tool{ Name: "manage_repository_notification_subscription", Description: t("TOOL_MANAGE_REPOSITORY_NOTIFICATION_SUBSCRIPTION_DESCRIPTION", "Manage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository."), - Annotations: &mcp.ToolAnnotations{ - Title: t("TOOL_MANAGE_REPOSITORY_NOTIFICATION_SUBSCRIPTION_USER_TITLE", "Manage repository notification subscription"), - ReadOnlyHint: false, + Annotations: &mcp.ToolAnnotations{ + Title: t("TOOL_MANAGE_REPOSITORY_NOTIFICATION_SUBSCRIPTION_USER_TITLE", "Manage repository notification subscription"), + ReadOnlyHint: false, + DestructiveHint: jsonschema.Ptr(false), }, InputSchema: &jsonschema.Schema{ Type: "object",