Skip to main content
Glama

Stride — AI software delivery platform

Run quality gate check

stride.run_quality_gate_check

Evaluate a quality gate against current project state (test pass-rate, open critical defects, story test-coverage), persist a PASS/FAIL evaluation event, and flip the gate status to the verdict. Returns the verdict plus per-criterion results and metrics, and a reason token: CRITERIA_MET / CRITERIA_BREACHED when the gate measured something, or NO_CRITERIA / NO_ENABLED_CRITERIA when it did not, or NO_RESULTS when no test has run in its scope — those three FAIL closed and are NOT a breach, so fix the gate (or run the tests) rather than the project.

Input Schema

NameRequiredDescriptionDefault
qualityGateIdYesUUID of the quality gate to evaluate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Despite annotations, the description adds meaningful unstated context: it persists a PASS/FAIL evaluation event and flips the gate status to the verdict, which is the main side effect an agent needs to know before calling a non-readOnly, non-idempotent tool. It also discloses the return shape (verdict, per-criterion results, metrics, reason token) and enumerates the reason token values with their failure semantics.

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

Conciseness4/5

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

Front-loaded with the action and its effects, then the return contract and the reason-token taxonomy. It is dense — one long sentence with stacked parentheticals and a compound reason-token clause — but nearly every clause carries actionable information.

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?

No output schema exists, and the description compensates by describing the verdict, per-criterion results, metrics, and the reason token values with their interpretation. For a single-parameter mutation with side effects, nothing an agent needs to call it correctly and interpret the result is missing.

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?

Only one parameter (qualityGateId) and schema coverage is 100%, so the schema fully documents it. The description does not add format, validation, or sourcing guidance beyond 'UUID of the quality gate'; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Evaluate a quality gate against current project state') and enumerates exactly what criteria are measured (test pass-rate, open critical defects, story test-coverage). This is clearly distinguishable from siblings like get_quality_gate, create_quality_gate, and update_quality_gate.

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

Usage Guidelines4/5

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

The trailing clause gives real decision guidance: NO_CRITERIA / NO_ENABLED_CRITERIA / NO_RESULTS are described as failing closed and 'NOT a breach', directing the agent to fix the gate or run tests instead of the project. However, it never explicitly contrasts with the sibling read tool (get_quality_gate) or says when running this is preferable to simply inspecting the gate.

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.