Skip to main content
Glama

Get what this PR does to the UI vs its base branch

get_pr_changeset
Read-onlyIdempotent

The cumulative 'this PR vs base' visual changeset (resolved by commitSha/prNumber/buildId) - what the whole PR does to the UI versus the branch it merges into, INDEPENDENT of what is left to review on the latest build. Unlike get_build (this commit vs the branch's own accepted baseline), this survives in-PR accepts: a story accepted mid-PR still shows under changed with status=accepted, so it answers 'what did this PR change' even after the gate reads clean. Returns base (the branch it merges into), counts {new,changed,removed,unchanged}, and the first page of new + changed + removed stories (storyId, title, name, kind, review status, aiVerdict). removed lists stories that HAD a baseline on the base branch but are gone from this PR's head (a deletion - otherwise invisible; each carries lastBuildId, the build that rendered its now-orphaned baseline). newNextCursor / changedNextCursor / removedNextCursor page the rest with list_pr_stories. No image URLs - fetch pixels by storyId with get_diff / render_diff_image.

Input Schema

NameRequiredDescriptionDefault
buildIdNoResolve this exact build id.
prNumberNoResolve the latest build for this PR number.
commitShaNoResolve the build for this git commit SHA.
projectIdNoThe project to look in (a projectId from list_projects). Needed only when you can access several projects; a buildId already names its project.

Output Schema

NameRequiredDescriptionDefault
newYes
baseYes
noteNoPresent when this is UI Verify's demo project rather than one of yours; says how to set up your own.
countsYes
changedYes
removedYes
newNextCursorYes
changedNextCursorYes
removedNextCursorYes
openReviewCommentsNoPresent when open review comments are waiting on some branch of this project; read yours with list_comments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / openReviewComments
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Present when open review comments are waiting on some branch of this project; read yours with list_comments.",
      +  "properties": {
      +    "branches": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "branch": {
      +            "type": "string"
      +          },
      +          "lastActivityAt": {
      +            "type": "string"
      +          },
      +          "open": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "branch",
      +          "open",
      +          "lastActivityAt"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "branchesTotal": {
      +      "type": "number"
      +    },
      +    "hint": {
      +      "type": "string"
      +    },
      +    "projectId": {
      +      "type": "string"
      +    },
      +    "total": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "branches",
      +    "branchesTotal",
      +    "projectId",
      +    "hint"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Present when this is UI Verify's demo project rather than one of yours; says how to set up your own.",
      +  "type": "string"
      +}
  3. Changed5 schema fields changed
    • removedOutput schema / properties / changed / items / $ref
      Removed value: -"#/properties/new/items"
    • addedOutput schema / properties / changed / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / changed / items / properties
      Added value: +{
      +  "aiConfidence": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "aiVerdict": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "browsers": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "kind": {
      +    "enum": [
      +      "new",
      +      "changed"
      +    ],
      +    "type": "string"
      +  },
      +  "name": {
      +    "type": "string"
      +  },
      +  "status": {
      +    "enum": [
      +      "accepted",
      +      "denied",
      +      "ignored",
      +      "pending"
      +    ],
      +    "type": "string"
      +  },
      +  "storyId": {
      +    "type": "string"
      +  },
      +  "title": {
      +    "type": "string"
      +  },
      +  "unstable": {
      +    "type": "boolean"
      +  },
      +  "viewports": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / properties / changed / items / required
      Added value: +[
      +  "storyId",
      +  "title",
      +  "name",
      +  "kind",
      +  "status",
      +  "browsers",
      +  "viewports",
      +  "aiVerdict",
      +  "aiConfidence",
      +  "unstable"
      +]
    • addedOutput schema / properties / changed / items / type
      Added value: +"object"
  4. Changed1 schema field changed
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "The project to look in (a projectId from list_projects). Needed only when you can access several projects; a buildId already names its project.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "base": {
      +      "type": "string"
      +    },
      +    "changed": {
      +      "items": {
      +        "$ref": "#/properties/new/items"
      +      },
      +      "type": "array"
      +    },
      +    "changedNextCursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "counts": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "changed": {
      +          "type": "number"
      +        },
      +        "new": {
      +          "type": "number"
      +        },
      +        "removed": {
      +          "type": "number"
      +        },
      +        "unchanged": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "new",
      +        "changed",
      +        "removed",
      +        "unchanged"
      +      ],
      +      "type": "object"
      +    },
      +    "new": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "aiConfidence": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "aiVerdict": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "browsers": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "kind": {
      +            "enum": [
      +              "new",
      +              "changed"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "accepted",
      +              "denied",
      +              "ignored",
      +              "pending"
      +            ],
      +            "type": "string"
      +          },
      +          "storyId": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "unstable": {
      +            "type": "boolean"
      +          },
      +          "viewports": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "storyId",
      +          "title",
      +          "name",
      +          "kind",
      +          "status",
      +          "browsers",
      +          "viewports",
      +          "aiVerdict",
      +          "aiConfidence",
      +          "unstable"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "newNextCursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "removed": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "browsers": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "lastBuildId": {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "storyId": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "viewports": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "storyId",
      +          "title",
      +          "name",
      +          "lastBuildId",
      +          "browsers",
      +          "viewports"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "removedNextCursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "base",
      +    "counts",
      +    "new",
      +    "newNextCursor",
      +    "changed",
      +    "changedNextCursor",
      +    "removed",
      +    "removedNextCursor"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources