Skip to main content
Glama

Request pull request review

request-pull-request-review-tool

Ask the team for a review on an open pull request. Coderbuds posts the request to the team's Slack channel — picking the next reviewer from the team's rotation, or the one you name — and marks the Coderbuds comment on the pull request "Review requested" so the ask is visible to anyone reading it. Coderbuds speaks in its own voice; do not comment /review yourself. Use this after opening a pull request, or when a PR has been sitting unreviewed. Identify the repository by name (e.g. "saas") or full name (e.g. "patchstack/saas").

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repository": "<repository>",
      "pull_request_number": "<pull_request_number>"
    },
    "name": "request-pull-request-review-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional one-line context for the reviewer, e.g. "touches billing — needs a careful look at the proration maths".
reviewerNoOptional teammate to ask, by full name, email, or GitHub username. Leave this out to use the team's review rotation.
repositoryYesThe repository the pull request lives in, by name (e.g. "saas") or full name (e.g. "patchstack/saas").
pull_request_numberYesThe pull request number, e.g. 3258.

Output Schema

NameRequiredDescriptionDefault
messageYesA human-readable summary of the outcome.
successYesWhether the review request went out.
reviewerNoThe teammate who was asked, if one was assigned.
repositoryNoThe repository the pull request belongs to.
slack_notifiedYesWhether the request was posted to the team Slack channel.
pull_request_urlNoLink to the pull request.
pull_request_numberYesThe pull request the review was requested on.
commented_on_pull_requestYesWhether Coderbuds commented on the pull request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare openWorldHint=true and destructiveHint=false; the description adds the materially important behavior that an external Slack message is posted to the team channel and that a comment on the PR is mutated to 'Review requested'. It also discloses the reviewer-selection logic (rotation vs. named person) and that the bot posts under its own voice, which prevents an agent from double-posting. It does not cover failure modes (no rotation configured, Slack not connected) or whether the Slack post can be retracted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action is front-loaded in sentence one and each subsequent sentence carries a distinct piece of information (Side effect, selection logic, trigger conditions, repository identification). The closing sentence on repository naming duplicates the schema's own description of that parameter and is the one piece that does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and all four parameters are fully documented by the schema. Given that, the description covers the remaining agent-relevant unknowns: the external side effect, who gets selected, when to call it, and what not to do. Nothing needed to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so repository, pull_request_number, reviewer, and note are all already documented, and the description largely restates them (name vs. full name, rotation default). It does confirm the default behavior when reviewer is omitted, but adds no syntax, format, or constraint detail beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource ('Ask the team for a review on an open pull request'), and the following sentences spell out the mechanism (Slack post, rotation-based or named reviewer, Coderbuds comment marked 'Review requested'). That is enough for an agent to distinguish this from the read/record review siblings (get-pull-request-review-tool, record-pull-request-review-tool) without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete triggering conditions ('after opening a pull request, or when a PR has been sitting unreviewed') and a explicit when-not ('do not comment `/review` yourself'). The only gap is that it never points at a sibling for the adjacent question — e.g. checking whether a review exists already via get-pull-request-review-tool — so routing to alternatives is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources