Skip to main content
Glama

set_review_requirement

DestructiveIdempotent

Set a thread's required-reviewer gate: define how many distinct approvals are needed to close, with optional send-back limits. Excludes owners and assignees to enforce separation of duties.

Instructions

Set (upsert) a thread's required-reviewers gate (G5): required_count distinct qualifying approvals before it can close. An approval qualifies when the reviewer is neither the owner nor the assignee (separation of duties) and, when a named reviewer set exists, is in it. A refutes edge also blocks close. max_rounds is how many send-backs one cycle allows before a person decides whether it goes around again (default 3; 0 leaves it uncapped). Omit max_rounds to leave the cap as it is. Tightening the cap needs thread:transition. Raising or removing it needs channel:admin. Requires thread:transition.

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": {
      "thread_id": "<thread_id>",
      "required_count": "<required_count>"
    },
    "name": "set_review_requirement"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYes
max_roundsNosend-backs allowed before a person decides (default 3, 0 is uncapped). Omit to leave the current cap.
required_countYesapprovals needed (>= 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds real value on top by spelling out upsert semantics, the exact permission needed for each kind of change, and the max_rounds default/0-uncapped behavior. It stops short of describing the return value, but that gap is minor for an annotated mutation.

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?

Front-loaded with the verb and resource, then tiers down into qualification rules and permissions. It is dense but each sentence carries necessary domain or permission detail; nothing is decorative.

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 mutation with annotations covering safety and no output schema, the description supplies permissions, upsert behavior, defaults, and approval-qualification rules. An agent has what it needs to invoke it correctly; only the return/response shape is unaddressed.

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?

Schema coverage is 67%, and the description compensates well: it defines required_count as 'distinct qualifying approvals' with the qualifying conditions (not owner/assignee, in the named set if present) and fully explains max_rounds (default 3, 0 uncapped, omit to keep current). thread_id is left implicit but obvious.

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?

States a specific verb and resource: 'Set (upsert) a thread's required-reviewers gate (G5)'. The upsert framing and the named gate distinguish it from read/clear siblings such as get_review_requirement and clear_review_requirement without needing either 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?

Gives concrete operating conditions: omit max_rounds to leave the cap unchanged, tightening needs thread:transition, raising/removing needs channel:admin. It doesn't explicitly point to clear_review_requirement for removal, but the when-to-use context is clear and sufficient.

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

Deploy Server

Other Tools