Skip to main content
Glama

Stride — AI software delivery platform

Create quality gate

stride.create_quality_gate

Create a quality gate in a Stride project. Required: projectId, name, criteria (array of { type, threshold, enabled? }; types: pass_rate, parity_pass_rate, max_critical_defects, min_test_coverage — see the criteria property for units). Optional: gateType (sprint|release|test_suite|process) plus the matching target id, validated against the project.

Input Schema

NameRequiredDescriptionDefault
nameYes
criteriaYesCriteria the /check evaluator scores. Preferred: an array of { type, threshold, enabled? }. Types and units: pass_rate (percent 0-100 of executed results that passed, >= threshold), parity_pass_rate (percent 0-100 of behavioural-parity links passing, >= threshold; fails closed when unmeasured), max_critical_defects (count of open CRITICAL defects, <= threshold), min_test_coverage (percent 0-100 of in-scope stories/cases with a live test, >= threshold). An unknown type never passes, and so does a criterion without a threshold. A bare object is stored verbatim for legacy callers.
gateTypeNo
sprintIdNoSprint UUID (must be in same project).
processIdNoProcess-definition UUID (must be in same project).
projectIdYesProject UUID.
releaseIdNoRelease UUID (must be in same project).
testSuiteIdNoTest-suite UUID (must be in same project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, covering the safety profile. The description adds the project-scoped validation constraint on target ids, but says nothing about duplicate names, what is persisted, or permissions, so it only partially extends structured data.

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

Conciseness5/5

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

Two tightly packed sentences: creation context first, then required fields, then optional fields and their constraint. No filler or repetition.

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?

For an 8-parameter mutation with no output schema, the description covers the required/optional structure and the key validation rule. It omits any indication of what is returned (e.g., the new gate id) and behavior on duplicate names, which leaves a small but real gap for an agent.

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?

It summarizes the required/optional split and lists the four criterion types, but explicitly defers units to the schema ("see the criteria property for units"), which already documents them in detail. With 75% schema coverage, this is baseline behavior with modest added value from the "matching target id" pairing rule.

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 and resource ("Create a quality gate in a Stride project") that clearly distinguishes it from update_quality_gate, get_quality_gate and run_quality_gate_check. It doesn't explicitly name those siblings, but the create verb makes the boundary obvious.

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?

It implies creation context and notes that the gateType target id is "validated against the project", which is a useful precondition. It never says when to use this versus update_quality_gate or when a gate is inappropriate, so usage is only implied.

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.