Skip to main content
Glama

Set repository PR review settings

set_repo_pr_review_settings
Idempotent

Set a connected repository's external PR review override to inherit the workspace default, on or off. Workspace admins or owners only; requires the external PR review feature.

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": {
      "workspace_id": "<workspace_id>",
      "repo_id": "<repo_id>",
      "review_external_prs": "<review_external_prs>"
    },
    "name": "set_repo_pr_review_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_idYesThe repository id from get_workspace.
workspace_idYesThe workspace id (from whoami).
review_external_prsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the description's added value is the permission requirement and the feature-availability precondition, which are genuinely beyond the annotations. It does not explain the effect of switching to "inherit" (does it clear an existing override?) or whether concurrent reviews are affected.

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?

Two short sentences with no filler; the core operation comes first and the constraints follow. Every clause carries information an agent needs.

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?

For a 3-parameter idempotent mutation with no output schema, the description covers what it changes, the permission gate, and the feature prerequisite. It leaves out only how to inspect the current value and what the response reports, which are minor given the sibling readers exist.

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

Parameters4/5

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

The two id parameters already carry schema descriptions, including provenance ("from get_workspace", "from whoami"). The description supplies the missing meaning for the undocumented enum: "inherit" is framed as inheriting the workspace default, versus "on" or "off", which compensates for the one enum value left unexplained in the schema.

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 verb and resource ("Set a connected repository's external PR review override") and scopes it to the repo level by describing inheritance of the workspace default, which distinguishes it from the workspace-level sibling. It never names that sibling explicitly, so the differentiation is implied rather than stated.

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

Usage Guidelines3/5

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

Gives hard prerequisites ("Workspace admins or owners only; requires the external PR review feature"), which is useful gating information. It does not say when to reach for this tool versus get_repo_pr_review_settings for reading state, nor does it explain what happens if the feature is disabled.

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