Skip to main content
Glama

Get what changed in a UI Verify build

get_build
Read-onlyIdempotent

Triage one build, resolved by commitSha, prNumber, or buildId (exactly one). Returns the gate verdict (gateStatus reads failed while a change is denied; each story's decision says which) and counts (total/changed/failed/unchanged), then the FIRST page (25) of the changed stories (story id, viewport, % pixels changed, review decision, the AI verdict aiVerdict=intended|regression + aiConfidence, and for a regression the judge's one-line aiFlagReason=what-looks-unintended, when AI review is on, and the story's own review-comment tally comments {total, unresolved}) and the first page of failed stories (failedStories[].kind is render when the story produced no frame, interaction when it rendered and its play() assertion threw, or test when its Playwright, Vitest or Bun test failed in the uploaded run; failedStories[].error is the message's first line, errorTruncated marks the ones that carried more). When AI review ran, aiReview tallies how many changes look like regressions vs intended, and the changed list is ordered likely-regressions-first. changedNextCursor / failedNextCursor are non-null when there are more than 25: page the rest with list_build_stories. counts.unchanged is how many stories did NOT change and have a baseline - this triage call does NOT list them (keeps the response lean); call list_build_stories status=unchanged to browse them (e.g. to confirm a passed build's stories are 'identical to baseline'). comments is the build-wide review-comment tally {total, unresolved}: unresolved>0 means a designer/QA (or another agent) left an open note on a story - read it with list_comments BEFORE you accept. No image URLs here - call get_diff or render_diff_image for pixels. A build that rendered every story because its upload had no dependency graph carries noGraph: tell your user its why and apply its fix to their CI. A blocked build carries blocked: relay its message (or, on the demo project, its headline and nextSteps) to your user; do not retry the build.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_build"
  }
}

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
noteNoPresent when this is UI Verify's demo project rather than one of yours; says how to set up your own.
branchYes
countsYes
statusYes
blockedYesWhy a blocked build was paused and what to do next; null for any other build.
buildIdYes
noGraphNoPresent when every story or test rendered because the upload had no usable dependency graph. Tell your user its `why`, and apply its `fix` to their CI so later builds render only what a change affects.
aiReviewYes
commentsNoAbsent on UI Verify's demo project, whose review comments only its team sees.
prNumberYes
warningsNoWhy this build's baselines weren't picked by its branch's commits, and what fixes it.
commitShaYes
createdAtYes
gateTitleNoThe verdict's headline, e.g. 'Needs a build of this PR against develop', when the build has one.
gateStatusYes
failedStoriesYes
changedStoriesYes
failedNextCursorYes
autoAcceptChangesYes
changedNextCursorYes
openReviewCommentsNoPresent when open review comments are waiting on some branch of this project; read yours with list_comments.
pendingWithoutDiffNoKeys the gate counts as pending that have no diff to review: why='change' is accepted by accept_build, why='needs-build' clears only with a new build.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / noGraph
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Present when every story or test rendered because the upload had no usable dependency graph. Tell your user its `why`, and apply its `fix` to their CI so later builds render only what a change affects.",
      +  "properties": {
      +    "docsUrl": {
      +      "type": "string"
      +    },
      +    "fix": {
      +      "type": "string"
      +    },
      +    "kind": {
      +      "enum": [
      +        "storybook-no-graph",
      +        "vitest-no-graph",
      +        "vitest-unchecked-graph",
      +        "vitest-graph-withheld"
      +      ],
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "why": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "title",
      +    "why",
      +    "fix",
      +    "docsUrl"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / failedStories / items / properties / kind / enum
      Previous value: -[
      -  "render",
      -  "interaction"
      -]New value: +[
      +  "render",
      +  "interaction",
      +  "test"
      +]
  3. Changed4 schema fields changed
    • addedOutput schema / properties / changedStories / items / properties / neverReviewed
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Accepted by CI with no person or agent ever reviewing this look; prs are the PRs it came in with unreviewed.",
      +  "properties": {
      +    "prs": {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "prs"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / gateTitle
      Added value: +{
      +  "description": "The verdict's headline, e.g. 'Needs a build of this PR against develop', when the build has one.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / pendingWithoutDiff
      Added value: +{
      +  "description": "Keys the gate counts as pending that have no diff to review: why='change' is accepted by accept_build, why='needs-build' clears only with a new build.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "browser": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "storyId": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "uncertainLevel": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "viewport": {
      +        "type": "string"
      +      },
      +      "why": {
      +        "enum": [
      +          "change",
      +          "needs-build"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "storyId",
      +      "title",
      +      "name",
      +      "viewport",
      +      "browser",
      +      "why",
      +      "uncertainLevel"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "description": "Why this build's baselines weren't picked by its branch's commits, and what fixes it.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. 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"
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / blocked
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "headline": {
      +              "type": "string"
      +            },
      +            "hints": {
      +              "items": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "branch": {
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "no-default-branch-baseline",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "branch"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "kind": {
      +                        "const": "build-exceeds-allowance",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "type": "array"
      +            },
      +            "limit": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "nextSteps": {
      +              "items": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "branch": {
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "run-default-branch",
      +                        "type": "string"
      +                      },
      +                      "text": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "branch",
      +                      "text"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "callUrl": {
      +                        "type": "string"
      +                      },
      +                      "email": {
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "contact",
      +                        "type": "string"
      +                      },
      +                      "text": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "text",
      +                      "email",
      +                      "callUrl"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "type": "array"
      +            },
      +            "reason": {
      +              "enum": [
      +                "allowance",
      +                "billing",
      +                "unknown"
      +              ],
      +              "type": "string"
      +            },
      +            "requested": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "resetsAt": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "resetsOn": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "statusLine": {
      +              "type": "string"
      +            },
      +            "used": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "reason",
      +            "headline",
      +            "hints",
      +            "nextSteps",
      +            "statusLine",
      +            "used",
      +            "limit",
      +            "requested",
      +            "resetsAt",
      +            "resetsOn",
      +            "message"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "headline": {
      +              "type": "string"
      +            },
      +            "hints": {
      +              "items": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "branch": {
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "no-default-branch-baseline",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "branch"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "kind": {
      +                        "const": "build-exceeds-allowance",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "type": "array"
      +            },
      +            "nextSteps": {
      +              "items": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "branch": {
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "run-default-branch",
      +                        "type": "string"
      +                      },
      +                      "text": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "branch",
      +                      "text"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "callUrl": {
      +                        "type": "string"
      +                      },
      +                      "email": {
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "contact",
      +                        "type": "string"
      +                      },
      +                      "text": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "text",
      +                      "email",
      +                      "callUrl"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "type": "array"
      +            },
      +            "reason": {
      +              "enum": [
      +                "allowance",
      +                "billing",
      +                "unknown"
      +              ],
      +              "type": "string"
      +            },
      +            "statusLine": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "reason",
      +            "headline",
      +            "hints",
      +            "nextSteps",
      +            "statusLine"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Why a blocked build was paused and what to do next; null for any other build."
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "buildId",
      -  "commitSha",
      -  "branch",
      -  "prNumber",
      -  "status",
      -  "gateStatus",
      -  "autoAcceptChanges",
      -  "createdAt",
      -  "counts",
      -  "aiReview",
      -  "changedStories",
      -  "changedNextCursor",
      -  "failedStories",
      -  "failedNextCursor"
      -]New value: +[
      +  "buildId",
      +  "commitSha",
      +  "branch",
      +  "prNumber",
      +  "status",
      +  "gateStatus",
      +  "autoAcceptChanges",
      +  "createdAt",
      +  "blocked",
      +  "counts",
      +  "aiReview",
      +  "changedStories",
      +  "changedNextCursor",
      +  "failedStories",
      +  "failedNextCursor"
      +]
  6. Changed5 schema fields changed
    • addedOutput schema / properties / changedStories / items / properties / comments / description
      Added value: +"Absent on UI Verify's demo project, whose review comments only its team sees."
    • changedOutput schema / properties / changedStories / items / required
      Previous value: -[
      -  "diffResultId",
      -  "storyId",
      -  "title",
      -  "name",
      -  "viewport",
      -  "browser",
      -  "changedPct",
      -  "decision",
      -  "isNew",
      -  "unstable",
      -  "aiVerdict",
      -  "aiClassification",
      -  "aiIntroducedBy",
      -  "aiConfidence",
      -  "aiSummary",
      -  "aiFlagReason",
      -  "comments"
      -]New value: +[
      +  "diffResultId",
      +  "storyId",
      +  "title",
      +  "name",
      +  "viewport",
      +  "browser",
      +  "changedPct",
      +  "decision",
      +  "isNew",
      +  "unstable",
      +  "aiVerdict",
      +  "aiClassification",
      +  "aiIntroducedBy",
      +  "aiConfidence",
      +  "aiSummary",
      +  "aiFlagReason"
      +]
    • addedOutput schema / properties / comments / description
      Added value: +"Absent on UI Verify's demo project, whose review comments only its team sees."
    • 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"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "buildId",
      -  "commitSha",
      -  "branch",
      -  "prNumber",
      -  "status",
      -  "gateStatus",
      -  "autoAcceptChanges",
      -  "createdAt",
      -  "counts",
      -  "comments",
      -  "aiReview",
      -  "changedStories",
      -  "changedNextCursor",
      -  "failedStories",
      -  "failedNextCursor"
      -]New value: +[
      +  "buildId",
      +  "commitSha",
      +  "branch",
      +  "prNumber",
      +  "status",
      +  "gateStatus",
      +  "autoAcceptChanges",
      +  "createdAt",
      +  "counts",
      +  "aiReview",
      +  "changedStories",
      +  "changedNextCursor",
      +  "failedStories",
      +  "failedNextCursor"
      +]
  7. Changed4 schema fields changed
    • removedOutput schema / properties / changedStories / items / properties / comments / properties / total / $ref
      Removed value: -"#/properties/comments/properties/total"
    • addedOutput schema / properties / changedStories / items / properties / comments / properties / total / type
      Added value: +"number"
    • removedOutput schema / properties / changedStories / items / properties / comments / properties / unresolved / $ref
      Removed value: -"#/properties/comments/properties/unresolved"
    • addedOutput schema / properties / changedStories / items / properties / comments / properties / unresolved / type
      Added value: +"number"
  8. 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"
      +}
  9. Changed2 schema fields changed
    • addedOutput schema / properties / changedStories / items / properties / comments
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "total": {
      +      "$ref": "#/properties/comments/properties/total"
      +    },
      +    "unresolved": {
      +      "$ref": "#/properties/comments/properties/unresolved"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "unresolved"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / changedStories / items / required
      Previous value: -[
      -  "diffResultId",
      -  "storyId",
      -  "title",
      -  "name",
      -  "viewport",
      -  "browser",
      -  "changedPct",
      -  "decision",
      -  "isNew",
      -  "unstable",
      -  "aiVerdict",
      -  "aiClassification",
      -  "aiIntroducedBy",
      -  "aiConfidence",
      -  "aiSummary",
      -  "aiFlagReason"
      -]New value: +[
      +  "diffResultId",
      +  "storyId",
      +  "title",
      +  "name",
      +  "viewport",
      +  "browser",
      +  "changedPct",
      +  "decision",
      +  "isNew",
      +  "unstable",
      +  "aiVerdict",
      +  "aiClassification",
      +  "aiIntroducedBy",
      +  "aiConfidence",
      +  "aiSummary",
      +  "aiFlagReason",
      +  "comments"
      +]
  10. Changed2 schema fields changed
    • addedOutput schema / properties / comments
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "total": {
      +      "type": "number"
      +    },
      +    "unresolved": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "unresolved"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "buildId",
      -  "commitSha",
      -  "branch",
      -  "prNumber",
      -  "status",
      -  "gateStatus",
      -  "autoAcceptChanges",
      -  "createdAt",
      -  "counts",
      -  "aiReview",
      -  "changedStories",
      -  "changedNextCursor",
      -  "failedStories",
      -  "failedNextCursor"
      -]New value: +[
      +  "buildId",
      +  "commitSha",
      +  "branch",
      +  "prNumber",
      +  "status",
      +  "gateStatus",
      +  "autoAcceptChanges",
      +  "createdAt",
      +  "counts",
      +  "comments",
      +  "aiReview",
      +  "changedStories",
      +  "changedNextCursor",
      +  "failedStories",
      +  "failedNextCursor"
      +]
  11. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "aiReview": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "intended": {
      +              "type": "number"
      +            },
      +            "regressions": {
      +              "type": "number"
      +            },
      +            "reviewed": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "regressions",
      +            "intended",
      +            "reviewed"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "autoAcceptChanges": {
      +      "type": "boolean"
      +    },
      +    "branch": {
      +      "type": "string"
      +    },
      +    "buildId": {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "changedNextCursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "changedStories": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "aiClassification": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "aiConfidence": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "aiFlagReason": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "aiIntroducedBy": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "aiSummary": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "aiVerdict": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "browser": {
      +            "type": "string"
      +          },
      +          "changedPct": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "decision": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "diffResultId": {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "isNew": {
      +            "type": "boolean"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "storyId": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "unstable": {
      +            "type": "boolean"
      +          },
      +          "viewport": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "diffResultId",
      +          "storyId",
      +          "title",
      +          "name",
      +          "viewport",
      +          "browser",
      +          "changedPct",
      +          "decision",
      +          "isNew",
      +          "unstable",
      +          "aiVerdict",
      +          "aiClassification",
      +          "aiIntroducedBy",
      +          "aiConfidence",
      +          "aiSummary",
      +          "aiFlagReason"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "commitSha": {
      +      "type": "string"
      +    },
      +    "counts": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "changed": {
      +          "type": "number"
      +        },
      +        "failed": {
      +          "type": "number"
      +        },
      +        "total": {
      +          "type": "number"
      +        },
      +        "unchanged": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "total",
      +        "changed",
      +        "failed",
      +        "unchanged"
      +      ],
      +      "type": "object"
      +    },
      +    "createdAt": {
      +      "type": "string"
      +    },
      +    "failedNextCursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "failedStories": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "browser": {
      +            "type": "string"
      +          },
      +          "error": {
      +            "type": "string"
      +          },
      +          "errorTruncated": {
      +            "type": "boolean"
      +          },
      +          "kind": {
      +            "enum": [
      +              "render",
      +              "interaction"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "storyId": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "viewport": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "storyId",
      +          "title",
      +          "name",
      +          "viewport",
      +          "browser",
      +          "error",
      +          "errorTruncated",
      +          "kind"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "gateStatus": {
      +      "type": "string"
      +    },
      +    "prNumber": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "buildId",
      +    "commitSha",
      +    "branch",
      +    "prNumber",
      +    "status",
      +    "gateStatus",
      +    "autoAcceptChanges",
      +    "createdAt",
      +    "counts",
      +    "aiReview",
      +    "changedStories",
      +    "changedNextCursor",
      +    "failedStories",
      +    "failedNextCursor"
      +  ],
      +  "type": "object"
      +}
  12. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, yet the description adds substantial behavior: 25-item pagination caps with cursors, likely-regressions-first ordering, gateStatus semantics, aiVerdict/aiConfidence interpretation, the noGraph and blocked build shapes with instructions to relay `why`/`fix` and not retry. That is well beyond what the structured fields declare.

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

Conciseness2/5

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

A single run-on paragraph of ~250 words with nested parentheticals, semicolon chains, and a paragraph-long enumeration of response fields. The content is valuable but unstructured and not scannable; bullet points or a short field glossary would deliver the same information far more efficiently.

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

Completeness5/5

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

For a triage tool with an output schema, no annotations gaps, and 4 params, the description leaves nothing an agent needs unanswered: resolution, response shape, pagination limits, edge cases (noGraph, blocked), and next-step siblings are all present.

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

Parameters5/5

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

Schema coverage is 100% and every param is documented, so the baseline would be 3; the description earns more by adding the mutual-exclusivity constraint ("exactly one" of commitSha/prNumber/buildId) that the schema's empty required list does not express. It also clarifies that projectId is only needed when multiple projects are accessible.

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?

Opens with a specific verb+resource ("Triage one build") and immediately states the three resolution keys with the "exactly one" rule. An agent can distinguish this from list_builds and list_build_stories without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes to alternatives with conditions: page beyond 25 via list_build_stories, browse unchanged stories via list_build_stories status=unchanged, read unresolved notes with list_comments BEFORE accepting, fetch pixels with get_diff or render_diff_image, and do not retry a blocked build. This is when-to-use/when-not coverage at the top of the scale.

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