Skip to main content
Glama

GitHub MCP Server

create_pull_request_review

Submit a review for a GitHub pull request, including approval, change requests, or comments, by specifying the repository, PR number, and review details.

Instructions

Create a review on a pull request

Input Schema

NameRequiredDescriptionDefault
bodyYesThe body text of the review
commentsNoComments to post as part of the review
commit_idNoThe SHA of the commit that needs a review
eventYesThe review action to perform
ownerYesRepository owner (username or organization)
pull_numberYesPull request number
repoYesRepository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "body": { "description": "The body text of the review", "type": "string" }, "comments": { "description": "Comments to post as part of the review", "items": { "additionalProperties": false, "properties": { "body": { "description": "Text of the review comment", "type": "string" }, "path": { "description": "The relative path to the file being commented on", "type": "string" }, "position": { "description": "The position in the diff where you want to add a review comment", "type": "number" } }, "required": [ "path", "position", "body" ], "type": "object" }, "type": "array" }, "commit_id": { "description": "The SHA of the commit that needs a review", "type": "string" }, "event": { "description": "The review action to perform", "enum": [ "APPROVE", "REQUEST_CHANGES", "COMMENT" ], "type": "string" }, "owner": { "description": "Repository owner (username or organization)", "type": "string" }, "pull_number": { "description": "Pull request number", "type": "number" }, "repo": { "description": "Repository name", "type": "string" } }, "required": [ "owner", "repo", "pull_number", "body", "event" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tuanle96/mcp-github'

If you have feedback or need assistance with the MCP directory API, please join our Discord server