Skip to main content
Glama

add_github_pr_comment

Automates adding comments to GitHub pull requests by specifying repository details, PR number, and comment text. Simplifies collaboration and feedback integration in GitHub workflows.

Instructions

Adds a comment to a GitHub pull request. Args: repo_owner (str): The owner of the repository. repo_name (str): The name of the repository. pr_number (int): The pull request number to add the comment to. comment (str): The comment text to be added. Returns: str: A message indicating the result of the comment addition. Returns a success message if the comment is added successfully, or an error message if an exception occurs. Error Handling: Catches and logs any exceptions that occur during the comment addition process. If an error is encountered, the error message is logged and returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentYes
pr_numberYes
repo_nameYes
repo_ownerYes

Other Tools

Related Tools

Latest Blog Posts

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/saidsef/mcp-github-pr-issue-analyser'

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