Skip to main content
Glama

comment_on_pull_request

Add review comments to pull requests, including general feedback or inline code suggestions, with on-chain transaction signing for decentralized Git repositories.

Instructions

Use this when you need to leave review comments on a pull request. Supports both general comments and inline comments on specific code lines. Signs and broadcasts a transaction on-chain. Requires 'owner', 'name', 'pull_iid', and 'body'. Optional: 'diff_hunk', 'path', 'position' for inline comments. See also: get_pull_request, list_pull_requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner (username or DAO name)
nameYesRepository name
pull_iidYesPull request number (IID)
bodyYesComment body text
diff_hunkNoDiff hunk for inline comment
pathNoFile path for inline comment
positionNoLine position for inline comment

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/gitopia/gitopia-mcp-server'

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