Skip to main content
Glama

release_quality_gate

Applies quality gates for a release and returns an exit code for CI, validating coverage, mutation testing, contracts, suite health, and production metrics.

Instructions

🚦 Aplica quality gates e retorna exit code para CI. Valida coverage, mutation, contracts, suite health, production metrics.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo": "<repo>",
      "product": "<product>"
    },
    "name": "release_quality_gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesCaminho do repositório
productYesNome do produto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important trait: it returns an exit code for CI consumption, hinting at pass/fail semantics. It does not state what exit code values mean, whether the tool mutates anything (e.g., writes reports or gate state), what permissions are required, or how long the multi-check run takes.

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?

Two short sentences, front-loaded with the core action and the CI exit-code outcome, with the check list following. The emoji is decorative noise but does not impede comprehension.

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

Completeness3/5

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

For a two-parameter tool with fully described schema and no output schema, the description covers the checks and the return channel adequately. It leaves a meaningful gap around exit-code semantics and side effects, which matter for an agent deciding whether to chain on this tool in CI.

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 coverage is 100%, so both 'repo' and 'product' are already documented in the schema. The description adds no additional meaning about their format, expected path conventions, or how 'product' scopes which gates apply, so the baseline of 3 applies.

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?

The description states a concrete verb and resource ('Aplica quality gates') and enumerates the checks performed (coverage, mutation, contracts, suite health, production metrics), so an agent knows what the tool does. It does not, however, distinguish itself from siblings such as 'validate', 'run_mutation_tests', or 'slo_canary_check', which overlap with the listed validations.

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?

'para CI' implies the operating context (automated pipeline gating) but no explicit when-to-use/when-not guidance or named alternative is given. An agent must infer that this is the aggregate gate rather than a single-check tool like run_mutation_tests.

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