Skip to main content
Glama

Request a review

request_review
Idempotent

Ask MergeSafe to review the current head of a pull request; MergeSafe posts the review on the pull request. A head that was already reviewed is refused, not charged twice. Call it after pushing fixes.

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": {
      "repo": "<repo>",
      "pr_number": "<pr_number>"
    },
    "name": "request_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesThe repository as "owner/name".
tierNoOptional review level: essential, strong or ultra (budget, the older name, still works and is what responses say). Leave it out to use the repository's own setting.
addonsNoOptional add-ons; leave out to use the repository's own setting.
pr_numberYesThe pull request number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, and destructive=false. The description adds valuable behavior beyond that: the review is posted on the PR, an already-reviewed head is refused, and the caller is not charged twice. It still omits authorization needs and what the caller receives back.

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

Conciseness5/5

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

Three short sentences, front-loaded with the action, followed by duplicate/billing behavior and a usage cue. There is no filler or redundant wording.

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

Completeness4/5

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

With no output schema, the description gives enough context for correct invocation: what it does, what side effect it causes, how duplicates behave, and when to call it. It does not explain permissions, cost implications of tiers/addons, or when to prefer request_review_with_context.

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%, and the schema fully documents repo, pr_number, tier options including the budget alias, and addons. The description adds only high-level context about reviewing a PR head and nothing specific about individual parameters.

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

Purpose4/5

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

States a specific action: ask MergeSafe to review the current head of a pull request and post the review on it. The resource and scope are clear, but it does not explicitly distinguish itself from the sibling request_review_with_context.

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?

"Call it after pushing fixes" gives a clear timing cue, and the refusal of already-reviewed heads implicitly warns against duplicate calls. It does not name alternatives or state broader when-not conditions.

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.