Skip to main content
Glama

Quality Gate Status

quality_gate_status
Read-onlyIdempotent

Evaluate pull request merge-gate evidence or git ref CI status, returning blockers, warnings, next actions, and a conservative merge decision.

Instructions

Evaluate real merge-gate evidence for a pull request or CI evidence for a git ref.

Args:

  • owner, repo: Repository coordinates.

  • pullNumber (number?): PR number (preferred); evaluates CI, reviews, policy, labels, and mergeability.

  • ref (string?): Branch name or commit SHA; evaluates CI only.

  • blockingLabels (string[]): Exact case-insensitive PR labels that block merging. Pass [] to disable.

Returns: A structured evidence packet, blockers, warnings, next actions, and a conservative conclusion.

Input Schema

NameRequiredDescriptionDefault
refNoGit ref (branch name, commit SHA). Ignored if pullNumber is set.
repoNoGitHub repo. Falls back to GITHUB_REPO.
ownerNoGitHub owner. Falls back to GITHUB_OWNER.
pullNumberNoPR number. Takes precedence over ref when provided.
blockingLabelsNoExact, case-insensitive PR labels that block the gate. Pass [] to disable.

Output Schema

NameRequiredDescriptionDefault
errorsYes
headShaYes
blockersYes
degradedYes
evidenceYes
warningsYes
categoriesYes
conclusionYes
nextActionsYes
totalChecksYes
contextLabelYes
policyDigestNo
policySourcesNo
trustBoundaryNo
policyDegradedNo
unverifiedSignalsYes
appliedPolicyRulesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.11.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv1.9.0
    • addedOutput schema / properties / trustBoundary
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "callerAndRepositoryContent": {
      +      "const": "untrusted",
      +      "type": "string"
      +    },
      +    "instructionHandling": {
      +      "const": "never_execute",
      +      "type": "string"
      +    },
      +    "permissionHandling": {
      +      "const": "never_expand",
      +      "type": "string"
      +    },
      +    "secretHandling": {
      +      "const": "never_reveal",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "callerAndRepositoryContent",
      +    "instructionHandling",
      +    "secretHandling",
      +    "permissionHandling"
      +  ],
      +  "type": "object"
      +}
  3. Changed15 schema fields changedv1.8.0
    • addedInput schema / properties / blockingLabels
      Added value: +{
      +  "default": [
      +    "blocked",
      +    "do-not-merge",
      +    "release-blocker",
      +    "security-blocker"
      +  ],
      +  "description": "Exact, case-insensitive PR labels that block the gate. Pass [] to disable.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • addedOutput schema / properties / appliedPolicyRules
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "const": "repository",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "source"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / blockers
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / conclusion / enum
      Previous value: -[
      -  "passing",
      -  "failing",
      -  "pending"
      -]New value: +[
      +  "passing",
      +  "failing",
      +  "pending",
      +  "needs_review",
      +  "policy_gap",
      +  "no_evidence"
      +]
    • addedOutput schema / properties / degraded
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / errors
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / evidence
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "branchProtection": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "classicEnabled": {
      +              "type": "boolean"
      +            },
      +            "pullRequestRuleRequirements": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "allowedMergeMethods": {
      +                  "anyOf": [
      +                    {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "dismissStaleReviews": {
      +                  "type": "boolean"
      +                },
      +                "lockBranch": {
      +                  "type": "boolean"
      +                },
      +                "requireLastPushApproval": {
      +                  "type": "boolean"
      +                },
      +                "requiredConversationResolution": {
      +                  "type": "boolean"
      +                },
      +                "requiredLinearHistory": {
      +                  "type": "boolean"
      +                },
      +                "requiredReviewThreadResolution": {
      +                  "type": "boolean"
      +                },
      +                "requiredReviewersConfigured": {
      +                  "type": "boolean"
      +                },
      +                "requiredSignatures": {
      +                  "type": "boolean"
      +                },
      +                "strictRequiredStatusChecksPolicy": {
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "allowedMergeMethods",
      +                "dismissStaleReviews",
      +                "lockBranch",
      +                "requiredConversationResolution",
      +                "requireLastPushApproval",
      +                "requiredLinearHistory",
      +                "requiredReviewThreadResolution",
      +                "requiredReviewersConfigured",
      +                "requiredSignatures",
      +                "strictRequiredStatusChecksPolicy"
      +              ],
      +              "type": "object"
      +            },
      +            "rulesetRuleTypes": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "classicEnabled",
      +            "rulesetRuleTypes",
      +            "pullRequestRuleRequirements"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "checks": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "checkRuns": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "failing": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "appId": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "rawConclusion": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawState": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "source": {
      +                    "enum": [
      +                      "check_run",
      +                      "commit_status"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "enum": [
      +                      "passing",
      +                      "failing",
      +                      "pending",
      +                      "skipped"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "source",
      +                  "appId",
      +                  "state",
      +                  "rawStatus",
      +                  "rawConclusion",
      +                  "rawState",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "passing": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "appId": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "rawConclusion": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawState": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "source": {
      +                    "enum": [
      +                      "check_run",
      +                      "commit_status"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "enum": [
      +                      "passing",
      +                      "failing",
      +                      "pending",
      +                      "skipped"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "source",
      +                  "appId",
      +                  "state",
      +                  "rawStatus",
      +                  "rawConclusion",
      +                  "rawState",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "pending": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "appId": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "rawConclusion": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawState": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "source": {
      +                    "enum": [
      +                      "check_run",
      +                      "commit_status"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "enum": [
      +                      "passing",
      +                      "failing",
      +                      "pending",
      +                      "skipped"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "source",
      +                  "appId",
      +                  "state",
      +                  "rawStatus",
      +                  "rawConclusion",
      +                  "rawState",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "skipped": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "appId": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "rawConclusion": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawState": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "source": {
      +                    "enum": [
      +                      "check_run",
      +                      "commit_status"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "enum": [
      +                      "passing",
      +                      "failing",
      +                      "pending",
      +                      "skipped"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "source",
      +                  "appId",
      +                  "state",
      +                  "rawStatus",
      +                  "rawConclusion",
      +                  "rawState",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "total": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "passing",
      +            "failing",
      +            "pending",
      +            "skipped",
      +            "total"
      +          ],
      +          "type": "object"
      +        },
      +        "commitStatuses": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "failing": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "appId": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "rawConclusion": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawState": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "source": {
      +                    "enum": [
      +                      "check_run",
      +                      "commit_status"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "enum": [
      +                      "passing",
      +                      "failing",
      +                      "pending",
      +                      "skipped"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "source",
      +                  "appId",
      +                  "state",
      +                  "rawStatus",
      +                  "rawConclusion",
      +                  "rawState",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "passing": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "appId": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "rawConclusion": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawState": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "source": {
      +                    "enum": [
      +                      "check_run",
      +                      "commit_status"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "enum": [
      +                      "passing",
      +                      "failing",
      +                      "pending",
      +                      "skipped"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "source",
      +                  "appId",
      +                  "state",
      +                  "rawStatus",
      +                  "rawConclusion",
      +                  "rawState",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "pending": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "appId": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "rawConclusion": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawState": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "source": {
      +                    "enum": [
      +                      "check_run",
      +                      "commit_status"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "enum": [
      +                      "passing",
      +                      "failing",
      +                      "pending",
      +                      "skipped"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "source",
      +                  "appId",
      +                  "state",
      +                  "rawStatus",
      +                  "rawConclusion",
      +                  "rawState",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "skipped": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "appId": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "rawConclusion": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawState": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "rawStatus": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "source": {
      +                    "enum": [
      +                      "check_run",
      +                      "commit_status"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "state": {
      +                    "enum": [
      +                      "passing",
      +                      "failing",
      +                      "pending",
      +                      "skipped"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "source",
      +                  "appId",
      +                  "state",
      +                  "rawStatus",
      +                  "rawConclusion",
      +                  "rawState",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "total": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "passing",
      +            "failing",
      +            "pending",
      +            "skipped",
      +            "total"
      +          ],
      +          "type": "object"
      +        },
      +        "missingRequiredContexts": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "requiredChecks": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "appId": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": -9007199254740991,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "context": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "context",
      +              "appId"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "requiredContexts": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "totalSignals": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "checkRuns",
      +        "commitStatuses",
      +        "totalSignals",
      +        "requiredContexts",
      +        "requiredChecks",
      +        "missingRequiredContexts"
      +      ],
      +      "type": "object"
      +    },
      +    "labels": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "all": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "blocking": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "all",
      +            "blocking"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "linkedIssues": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "number": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "title": {
      +                "type": "string"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "number",
      +              "title",
      +              "url"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "pullRequest": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "baseBranch": {
      +              "type": "string"
      +            },
      +            "draft": {
      +              "type": "boolean"
      +            },
      +            "mergeable": {
      +              "anyOf": [
      +                {
      +                  "type": "boolean"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "mergeableState": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "draft",
      +            "mergeable",
      +            "mergeableState",
      +            "baseBranch"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "reviews": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "approved": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "approvedUsers": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "changesRequestedUsers": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "codeOwnerReviewSatisfied": {
      +              "anyOf": [
      +                {
      +                  "type": "boolean"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "ownershipGaps": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "owner": {
      +                    "type": "string"
      +                  },
      +                  "paths": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "owner",
      +                  "paths"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "requestedTeams": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "requestedUsers": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "requireCodeOwnerReviews": {
      +              "anyOf": [
      +                {
      +                  "type": "boolean"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "required": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "reviewDecision": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "APPROVED",
      +                    "CHANGES_REQUESTED",
      +                    "REVIEW_REQUIRED"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "reviewDecision",
      +            "approved",
      +            "approvedUsers",
      +            "changesRequestedUsers",
      +            "requestedUsers",
      +            "requestedTeams",
      +            "required",
      +            "requireCodeOwnerReviews",
      +            "codeOwnerReviewSatisfied",
      +            "ownershipGaps"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "scope": {
      +      "enum": [
      +        "pull_request",
      +        "ref"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "scope",
      +    "checks",
      +    "pullRequest",
      +    "reviews",
      +    "branchProtection",
      +    "labels",
      +    "linkedIssues"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / nextActions
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / policyDegraded
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / policyDigest
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / policySources
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "blobSha": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "digest": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "enum": [
      +          "default",
      +          "repository"
      +        ],
      +        "type": "string"
      +      },
      +      "path": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "ref": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "path",
      +      "ref",
      +      "blobSha",
      +      "digest"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / totalChecks / minimum
      Previous value: --9007199254740991New value: +0
    • addedOutput schema / properties / unverifiedSignals
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "contextLabel",
      -  "headSha",
      -  "conclusion",
      -  "categories",
      -  "totalChecks"
      -]New value: +[
      +  "contextLabel",
      +  "headSha",
      +  "conclusion",
      +  "categories",
      +  "totalChecks",
      +  "evidence",
      +  "blockers",
      +  "warnings",
      +  "nextActions",
      +  "degraded",
      +  "unverifiedSignals",
      +  "errors"
      +]
  4. First observedv1.5.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description nonetheless adds real value by disclosing the differing evaluation scope per mode and the shape of the result (evidence packet, blockers, warnings, next actions, conservative conclusion), giving the agent a sense of output behavior beyond the annotations.

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 purpose sentence followed by a clean Args block and a one-line Returns summary; no filler. Slightly redundant in echoing schema-documented details, but overall well organized and easy to scan.

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?

An output schema exists, so return values need not be detailed, and the description still summarizes them briefly. For a zero-required-parameter, read-only evidence tool with full schema coverage, the description covers the essential mode distinction; only the lack of sibling routing keeps it from being fully complete.

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%, so the schema already documents precedence ('Takes precedence over ref'), defaults, and 'Pass [] to disable'. The description largely restates this ('Pass [] to disable', 'Branch name or commit SHA'), adding only the 'preferred' nuance for pullNumber. Baseline 3 is appropriate.

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 (Evaluate) and resource (merge-gate/CI evidence) and clearly distinguishes the two operating modes: pullNumber evaluates CI, reviews, policy, labels, and mergeability, while ref evaluates CI only. It does not, however, name or contrast itself against any sibling tool (e.g. release_readiness_check, branch_protection_status), so an agent gets no direct routing help from the text alone.

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?

Provides mode-selection guidance ('pullNumber (preferred)') and explains that ref is a narrower CI-only path, which is useful. But it never states when to reach for this tool over the many sibling gate/review tools, nor any preconditions or exclusions, so tool-level routing remains inferred.

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