Skip to main content
Glama

review_design_pull_request

Destructive

Comment on, approve, request changes to, or reject a design pull request; optionally block verdicts when the proposed branch has moved since review.

Instructions

Comment on, approve, request changes, or reject a design change.

Free door, tiered answer — Free: Pull requests on your designs you keep · Pro: Pull requests on every design · Business: ✓ · Enterprise: ✓.

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": {
      "pr_id": "<pr_id>"
    },
    "name": "review_design_pull_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoComment text. Required for ``COMMENT``; optional for the verdicts. Default: "".
pr_idYesPull request id.
user_idNoWho reviews. Omit it to use the caller's own identity: on Kiln's servers the signed-in account (a different id is refused), locally the declared operator or the computer's user name.
decisionNo``COMMENT`` (default), ``APPROVE``, ``REQUEST_CHANGES``, or ``REJECT``. Default: "COMMENT".
expected_head_version_idNoThe newest version of the proposed branch the reviewer looked at. With a verdict, nothing is recorded if the branch has moved since (``SOURCE_HEAD_MOVED``).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / expected_head_version_id
      Added value: +{
      +  "description": "The newest version of the proposed branch the reviewer looked at.  With a verdict, nothing is recorded if the branch has moved since (``SOURCE_HEAD_MOVED``).",
      +  "title": "Expected Head Version Id",
      +  "type": "string"
      +}
  2. Changed4 schema fields changedv1.5.1
    • changedInput schema / properties / body / description
      Previous value: -"Default: \"\"."New value: +"Comment text.  Required for ``COMMENT``; optional for the verdicts. Default: \"\"."
    • changedInput schema / properties / decision / description
      Previous value: -"Default: \"COMMENT\"."New value: +"``COMMENT`` (default), ``APPROVE``, ``REQUEST_CHANGES``, or ``REJECT``. Default: \"COMMENT\"."
    • addedInput schema / properties / pr_id / description
      Added value: +"Pull request id."
    • addedInput schema / properties / user_id / description
      Added value: +"Who reviews.  Omit it to use the caller's own identity: on Kiln's servers the signed-in account (a different id is refused), locally the declared operator or the computer's user name."
  3. Addedv1.5.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is covered, but the description adds little beyond that: it never says a verdict is recorded against the PR, that it can change branch state, or that it is effectively irreversible. The tier line conveys access gating but is phrased as marketing ("Business: ✓ · Enterprise: ✓") rather than operational behavior.

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

Conciseness3/5

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

The opening sentence is front-loaded and waste-free. The second sentence is a cryptic promotional tier table whose checkmarks convey little to an agent and dilute the otherwise tight definition.

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 five parameters, one required, full schema coverage, and no output schema, the definition plus schema gives enough to call the tool correctly. The remaining gap is routing guidance relative to sibling PR tools, which the description does not supply.

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%, including the decision values and the body requirement for COMMENT, so the baseline is 3. The description's enumeration of comment/approve/request changes/reject mirrors the decision field but adds no syntax, default, or interaction detail beyond 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?

The first sentence names a specific verb set (comment, approve, request changes, reject) and a specific resource (a design change / pull request), so an agent can tell what action this performs. It does not differentiate itself from neighbors like withdraw_design_pull_request or get_design_pull_request, keeping it below a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool versus withdrawing, viewing, or listing pull requests, and no statement of preconditions such as needing an open PR. The only conditional content is a plan-tier availability line, which addresses entitlement rather than task selection.

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