Skip to main content
Glama

Set Up CI/CD

setup_cicd

Create a Pull Request on the linked GitHub repository that adds a GitHub Actions workflow file running the project's test suite. Auto-detects the framework from the repo's analyzed languages (playwright / pytest / go / rust) when omitted, and for Rust auto-detects apt packages from Cargo.lock (glib-sys→libglib2.0-dev, openssl-sys→libssl-dev, libxdo-sys→libxdo-dev, etc.) so the generated workflow builds on a bare ubuntu-latest runner. Requires the GitHub App to be installed on the target repo. Returns the PR URL, PR number, workflow file path, detected framework, and the apt packages that were injected.

Input Schema

NameRequiredDescriptionDefault
browserNoPlaywright-only. chromium (default), firefox, webkit.chromium
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
repo_idYesCode repository ID in QualityMax.
base_urlNoOptional BASE_URL to bake into the workflow.
frameworkNoOptional framework override. Leave unset to auto-detect from the repo's language analysis. Accepts both CI-template names (playwright / pytest / jest / go / rust) and the canonical execution framework names (rust_cargo / go_test) — they are normalized to the CI naming internally.
test_suiteNoTest suite to run — all (default), smoke, regression, custom.all
target_branchNoBranch the generated workflow triggers on. Defaults to the repo's default branch.
trigger_eventsNoEvents to trigger the workflow. Only push, pull_request, and workflow_dispatch are supported.
include_manual_triggerNoAdd a workflow_dispatch trigger so the workflow can be run manually.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the mutating/external nature is known; the description adds genuine value beyond that by naming the prerequisite GitHub App installation, disclosing the auto-detection logic and the Cargo.lock→apt-package mapping, and enumerating what is returned. It omits whether a branch is created, what happens if a workflow file already exists, and whether repeated calls are idempotent.

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 in the first sentence, then detection behavior, then prerequisites, then return values — a sensible ordering. The parenthetical apt-package mapping list is long but demonstrably useful for predicting runner failures; only mildly over-detailed.

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 a 9-parameter mutation tool with no output schema, the description covers the action, prerequisite, detection semantics, and even the return payload, which is a lot. The remaining gap is operational edge cases (existing workflow file, branch naming, failure modes) that an agent would want before calling on a repo already configured.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining that framework is auto-detected from language analysis when omitted and that both CI-template and canonical execution names (rust_cargo/go_test) are normalized. It does not add anything about base_url, target_branch, trigger_events, or include_manual_trigger beyond the schema.

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 first sentence names a specific verb (create a Pull Request) and a specific artifact (a GitHub Actions workflow file running the project's test suite), which is far more precise than a generic PR tool. It stops short of explicitly contrasting itself with the sibling create_pr, so an agent must infer the distinction from the 'adds a workflow file' framing.

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?

The description states one real precondition (the GitHub App must be installed on the target repo) and explains that framework may be omitted to trigger auto-detection, which implies usage context. However, it never says when to pick this over create_pr or create_deploy_integration, nor any when-not conditions or idempotency guidance.

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.

Resources