QMetry: Fetch Quality Gate Configuration
qmetry_fetch_quality_gate_configurationFetch quality gate configuration for a project and AI agent, including criteria and thresholds, to assess release readiness.
Instructions
Fetch the quality gate configuration for a project and AI agent, including assessment scope and gate criteria.
Toolset: AI Agent
Parameters:
projectKey (string): Project key - unique identifier for the project (default: "default")
baseUrl (string): The base URL for the QMetry instance (must be a valid URL)
projectId (number) required: Numeric project ID for which to fetch the quality gate configuration. This is the internal numeric identifier, not the project key.
agentIdentifier (string) required: Unique identifier of the AI agent whose gate configuration should be retrieved.
Use Cases: 1. Retrieve gate criteria and thresholds before generating a quality gate report 2. Check which quality gates are configured for a project and agent 3. Inspect assessment scope and gate parameters for release readiness evaluation
Examples:
Fetch gate configuration for project 45851 and agent 'RR'
{
"projectId": 45851,
"agentIdentifier": "RR"
}Expected Output: Gate configuration object with assessment scope, gate criteria, and thresholds.
Hints: 1. REQUIRED: 'projectId' must be a valid numeric project ID (not the project key). 2. REQUIRED: 'agentIdentifier' must match a registered AI agent identifier. 3. Call this tool before 'Execute Quality Gate Report' to understand the gate criteria and available gates. 4. If AI Agent is not enabled for the project, the backend will return an appropriate error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | No | The base URL for the QMetry instance (must be a valid URL) | |
| projectId | Yes | Numeric project ID for which to fetch the quality gate configuration. This is the internal numeric identifier, not the project key. | |
| projectKey | No | Project key - unique identifier for the project | default |
| agentIdentifier | Yes | Unique identifier of the AI agent whose gate configuration should be retrieved. |