Skip to main content
Glama

QA Orchestrator

QA Orchestrator MCP server – quality and maintenance score on Glama

A Python/FastMCP toolkit for evidence-bound code and QA reviews: deterministic workflow, ten specialist profiles, nine fixed bundles, structured findings, and optional execution and evaluation tools.

The host (Codex, Claude Code, or another integration) retrieves evidence, runs models, validates findings, and owns the final QA decision. The MCP server checks workflow and report contracts. Optional Python tools supervise actual execution; connecting the MCP server alone does not activate them.

Quick start

Requires Python 3.12+, Git, uv, and an MCP host. Supports Windows, macOS, and Linux. Model access is configured in the host.

For installation without a checkout, replace <commit-sha> with the full immutable revision you intend to install:

codex mcp add qa-orchestrator -- uvx --from 'git+https://github.com/Rbkmen/qa-orchestrator.git@<commit-sha>' qa-orchestrator-mcp

Use the same revision for server and host instructions. Remote installs contain only published code; local upgrades require a checkout installation.

With no saved policy, model_policy is host_default: the host uses its own model and reasoning. Existing explicit policies remain active.

For a checkout installation:

git clone https://github.com/Rbkmen/qa-orchestrator.git
cd qa-orchestrator
uv sync --locked
uv run qa-orchestrator-doctor --json

Register scripts/qa-orchestrator on macOS/Linux or .venv\Scripts\qa-orchestrator-mcp.exe on Windows. The client starts the STDIO server on demand. See Installation, Codex, and Claude Code.

Reference the canonical host rules from existing instructions. Verify the connection with get_qa_orchestration_catalog, get_qa_orchestration_model_policy, and prepare_qa_orchestration(agent_profile="code_explorer"); these calls create no session.

Related MCP server: Support Ticket Triage MCP

Architecture and responsibilities

Layer

Responsibility

MCP server

Checklists, stage/group validation, fixed escalation rules, bounded session state

Evidence utilities

Immutable Git source/diff hashes, citation coordinates, exact context packets

HostReviewAdapter

Async executor supervision, concurrency/time budgets, group barriers, attempts, and fixed-input synthesis replay

CodexProfileExecutor

Installed CLI execution, strict output schema, report validation and reported usage

The host owns source retrieval, defect confirmation, severity, final decisions, code edits, and external writes. Jira, GitLab, CI, TestRail, Sentry, and other sources come through the host's tools. Initialization instructions are advisory; read_only=true and host_owns_decisions=true describe review ownership, while session tools mutate local state.

Review workflow

Pinned evidence → triage → primary review groups → optional deep review
                → synthesis → awaiting_host_outcome → host final outcome
  1. For implementation reviews, build a complete ReviewContext: repository, exact diff and packet SHA-256 digests, changed paths, evidence refs, and an input_manifest using schema v2. Git input also requires base/head commits; a complete MR diff can use diff-only input without them. Non-review task types may omit it.

  2. Call start_qa_orchestration, then complete triage through advance_qa_orchestration with one selected_profile or selected_bundle.

  3. Run the returned execution_groups. Profiles in one group may run concurrently; wait for all, then record the ordered completed_profiles and reports in one transition. Transition calls are sequential.

  4. Supply evidence-based risk_signals on the last primary-review transition. Perform any required deep review, then validate and synthesize the result.

  5. Call finish_qa_orchestration with completed, partial, or blocked. A completed bound review requires final_review_report. Record early stops through advance_qa_orchestration first, including a sanitized stop_reason or an explicit statement that the cause is unknown. The reason is host-reported and cannot establish an unknown root cause.

Use the session returned by each transition. Read/recover with get_qa_orchestration or list_qa_orchestrations. Revision checks and request keys protect against stale submissions and lost-response retries.

completed records workflow completion; it is not a CI pass or release approval. For a clean route containing exactly one profile, skip_synthesis=true skips the separate synthesis stage, but still requires host validation and a final report. Findings, material unresolved questions, coverage gaps, unverified notes, or risk signals also prevent the shortcut. Bundles retain synthesis.

Deep-review rules

Trigger

Required signals

High-risk uncertainty

high_risk_domain and evidence_uncertain

Multiple complexity signals

At least two of cross_system_scope, multiple_plausible_causes, non_reproducible, high_blast_radius

Critical evidence conflict

evidence_conflict and at least one of high_risk_domain, cross_system_scope, high_blast_radius

Enabled signals require rationale and evidence refs. Missing CI, Stage, or device execution alone does not require escalation; uncertainty must concern a material question that scoped review could resolve.

Example: ordinary QA of a small Ruby guard change checks requirements, the changed branch, callers, and assertions. The host can select ruby_reviewer, execute its checklist, submit its report and risk signals, synthesize, then finalize. See the complete MCP tool contract for payloads.

Profiles and bundles

Use one profile for a narrow, low-risk concern; use a bundle for broad or cross-concern work. File count alone does not define scope.

At triage, set implementation_review=true when implementation behavior is in scope. A lone pr_test_analyzer or code_explorer cannot report implementation findings: choose an implementation profile or bundle, or explicitly set acknowledge_limited_profile=true to proceed with that limitation. Older callers may omit the intent; they receive an advisory route_warning instead. The host determines intent and remains responsible for choosing an adequate route.

Profile

Focus

code_explorer

Faraday — Evidence Investigator: paths, callers, dependencies and evidence map

code_reviewer

Changed-code failure modes and contract breaks

pr_test_analyzer

Test coverage and meaningful assertion gaps

security_reviewer

Authentication, authorization, input validation and sensitive data

silent_failure_hunter

Swallowed errors, fallbacks, timeout/rollback and error propagation

typescript_reviewer

Types, narrowing, casts, async and error contracts

react_reviewer

State, effects, rendering, accessibility and visible behavior

ruby_reviewer

Ruby semantics, exceptions, persistence and relevant jobs

python_reviewer

Validation, serialization, cancellation, cleanup and MCP contracts

mobile_reviewer

React Native/native lifecycle, navigation and platform contracts

Test Analyzer returns coverage gaps; Evidence Investigator returns an evidence map and unresolved links. Both are prohibited from returning implementation findings, enforced by server validation and the Codex output schema.

In the schedules below, + means one concurrent-capable group; → means a barrier between groups.

Bundle

Execution groups

ordinary_mr

code_explorer → code_reviewer + pr_test_analyzer

widget

code_explorer → react_reviewer + typescript_reviewer + pr_test_analyzer

widget_js

code_explorer → code_reviewer + react_reviewer + pr_test_analyzer

ruby_backend

code_explorer → ruby_reviewer + pr_test_analyzer

python_backend

code_explorer → python_reviewer + pr_test_analyzer

mobile

code_explorer → mobile_reviewer + pr_test_analyzer

security

code_explorer → security_reviewer + silent_failure_hunter

autotest

code_reviewer + typescript_reviewer + pr_test_analyzer

requirements

code_explorer → code_reviewer

The Python bundle starts code_explorer first; its report is available to the Python and test reviewers in the next group. Reports from previous groups are available only to subsequent groups. The installed catalog is authoritative; see the bundle and profile catalog.

Evidence and context

A bound ReviewContext pins repository identity, diff and packet SHA-256, changed paths, and evidence IDs. Git input also pins base/head commits; diff-only input does not establish Git revisions or surrounding source. Discovery can also bind its exact candidate set and a diff-ordered hunk inventory (up to 500 hunks) to the review. Partial or unavailable hunk inventory blocks strict completion. Profiles attest inspected hunk indexes; the report labels this as an attestation, not proof of reasoning. Changed-path coverage still accounts for binary and metadata-only changes that have no text hunks. Optional registry metadata adds source hashes, coordinates, text availability and external locators. Binary and non-UTF-8 source stays hash-bound but cannot support source coordinates. Git findings require cited head-source records; diff-only finding coordinates must lie within a bound diff hunk.

Local utilities verify immutable Git bytes, hashes and coordinates. External requirements/runtime evidence remains unverified by the Git checker. The MCP server validates identifiers and citations; it does not read the raw packet.

Exact context packing retains original UTF-8 fragments without summarizing or truncating them. The bound diff and supplied requirements remain mandatory; changed-source excerpts can be omitted or made profile-optional when the diff covers the change. Optional omissions are declared, and reports cannot cite omitted refs. A precise finding location still requires a cited head-source excerpt for that path. Mandatory overflow fails before execution. The Codex executor keeps a 1,000,000-byte context budget and a 2 MB serialized packet limit, while capping the complete CLI prompt at 1,000,000 UTF-8 bytes to stay below Codex CLI's 1,048,576-character input limit. These are byte/character limits, not token limits. Source caching is bounded and in memory; Python AST chunks preserve source coordinates.

See Evidence Registry and context packing.

Findings and final decisions

Reports separate candidates, coverage gaps, unverified claims and evidence maps. The host assigns every candidate one verdict: confirmed, rejected, duplicate, or unverified, with rationale and evidence. Final findings retain profile/candidate lineage; confirmation requires severity, impact, affected area and source locations. Finalization checks the complete decision ledger.

failure_condition and flip_condition describe the failure trigger and evidence that would refute it. New candidates also state expected_behavior from a requirement/contract and actual_behavior predicted from source under that trigger; predicted behavior is not runtime evidence. Confirmed findings name the affected consumer or contract in affected_area when supported. Conditioned candidates require a context/candidate-bound counterevidence check; confirmation or duplicate linkage requires not_refuted. The host performs that inspection. Legacy candidates may omit these fields.

Explicit scoped ReviewRuleset rules can raise concerns or guard against known false-positive patterns. They bind reports through a digest and guide inspection; they do not automatically suppress findings or learn from reviews. See rules and counterevidence.

Host execution

HostReviewAdapter supervises an injected async execute_profile(job) for a bound session with triage complete. It enforces group barriers, concurrency/time limits, lease renewal and cancellation. It stops at deep review or synthesis; later stages and final decisions remain with the host. Its optional synthesis replay reruns only the host-supplied synthesis executor over fixed saved profile reports; it does not persist the replay result.

Rendered final reports include review boundaries: recorded outcome when supplied, reported profiles, retrieved/incomplete sources and reported limitations. For partial or blocked outcomes they also list known completion gaps; these are evidence of gaps, not necessarily the host's recorded reason. Standalone qa-orch report render accepts --outcome when the session outcome is known; otherwise it displays that outcome was not provided.

Timeouts and explicit RetryableProfileError can be retried. Permanent failures are not replayed automatically. A failed group is never recorded as complete; the run becomes partial, retaining successful unsaved reports.

CodexProfileExecutor uses an authenticated installed CLI, a fresh temporary workspace, read-only sandbox, no inherited user configuration, and a strict JSON schema. Invalid output or detected forbidden tool actions fail the call; timeout/cancellation terminates its process tree. In host_default, it requires an explicit model. Other runtimes use a custom executor.

Optional checkpoints reuse validated reports only when context, rules, checklist, model policy, previous-group reports and executor/instruction identity match. Reuse is reported separately. See Host Adapter and execution tools.

Performance and evaluation

Narrow routing, concurrent groups, the clean-profile synthesis shortcut, checkpoints and bounded context selection can avoid unnecessary work. Execution speed and latency preferences remain controlled by the user's host/provider settings; improvement requires measurement.

execution_attempts records fresh successful, failed and cancelled calls, queue wait, duration and available phase/token observations. Missing usage remains unknown, never zero. Checkpoint reuse is separate; model_seconds includes the CLI/process interval rather than provider-only inference. No automatic price estimate is produced.

MCP tools

Tool

Purpose

resolve_git_review_input

Pin local Git refs and exact diff metadata

prepare_remote_git_review_input

Fetch remote branches into temporary refs and prepare a merge-base diff

get_qa_orchestration_catalog

Profiles, bundles and schedules

prepare_qa_orchestration

One profile checklist

prepare_qa_orchestration_bundle

Bundle checklists and groups

get_qa_orchestration_model_policy

Running server's policy snapshot

start_qa_orchestration

Create a session

advance_qa_orchestration

Validate and record a transition/reports

renew_qa_orchestration

Extend an active lease

get_qa_orchestration

Read a retained session

get_qa_orchestration_status

Render a concise retained-session status directly over MCP

list_qa_orchestrations

Discover retained session IDs

finish_qa_orchestration

Finalize host outcome and report

delete_qa_orchestration

Irreversibly discard local session state

Reads do not extend TTL. Deletion neither finalizes a review nor cancels host execution.

CLI tools

Command

Purpose

qa-orch setup / setup --host-default

Configure per-stage models or return to host settings

qa-orch config show / reload

Inspect/validate the saved policy

qa-orch evidence discover

Suggest pinned declarations, callers/callees, direct importers, contracts, tests, and bounded test-audit signals; reports traced relations and bounded omissions; --bound-context binds the exact candidate set and diff hunk inventory

qa-orch evidence build / verify

Register/verify source and diff

qa-orch evidence check-links

Explicit, host-allowlisted reachability check for external evidence URLs; does not verify external content hashes

qa-orch evidence pack / chunks

Exact context packets/source chunks

qa-orch repo profile / audit-tests

Profile tracked project/test/CI metadata and report source-anchored test-suite review candidates

qa-orch report status --input session.json

Summarize a saved full session, input identity, source statuses, progress and next action

qa-orch report render --input report.json --brief

Render a concise view; add --session session.json for the matching saved session's outcome, context and stop reason

qa-orch rules

Bind explicit review rules

qa-orchestrator-doctor --json

Read-only local diagnostics

qa-orchestrator aliases qa-orch. Running either without a subcommand starts the MCP server. These tools do not provide a one-command MR review and publication flow.

Save a full response from get_qa_orchestration as session JSON to use report status; compact transition responses omit data needed for a complete view. Status and brief output only render recorded, host-reported data: they do not fetch sources, validate connector completeness, resume a session, or generate manual test instructions. The host can add manual_checks to a final report with an action, expected result and bound evidence refs; these are proposed checks, not execution records. Both report formats preserve them and the brief version also exposes unverified scenarios and candidates. The default report remains the detailed version; --brief is optional. Add --session session.json to render the report saved in that session with its recorded outcome and stop reason; conflicting report, context or outcome inputs are rejected.

Repository profiling and test-suite audit operate on committed Git objects and do not change the repository; profile writes a local cache unless --no-cache is set. Candidate signals are not confirmed findings; see Repository profile and test audit for limits and examples.

Configuration

host_default uses the host's model/reasoning. Optional configured policy sets provider, model and effort per stage. Setup validates local metadata, not account access or live model capabilities; no provider credentials are stored.

Variable

Default

QA_ORCHESTRATOR_DATA_DIR

~/.qa-orchestrator

QA_ORCHESTRATOR_MODEL_POLICY_PATH

<data-dir>/model-policy.json

QA_ORCHESTRATOR_ORCHESTRATION_TTL_SECONDS

1800

QA_ORCHESTRATOR_ORCHESTRATION_MAX_SESSIONS

100

QA_ORCHESTRATOR_SESSION_STORE_PATH

Unset; opt-in SQLite recovery

Pass overrides through the MCP client's environment. Restart the server connection after code/policy changes: CLI reload does not update that process. Inspect the loaded policy with get_qa_orchestration_model_policy; neither configuration nor session metadata proves model execution.

Storage and trust boundaries

Session state is bounded and in memory by default. Optional SQLite restores non-expired unfinished sessions and finalized bound reviews with structured reports. Finalized legacy sessions without artifacts are removed. Checkpoints use a separate opt-in store; use one server process per session-store file. Persisted sessions containing the removed omission_auditor profile or its report fields are incompatible with this version and cause the configured session store to fail validation; use a different store path if needed.

Stored reports can contain source-derived findings and descriptions. Raw packets, prompts, and transcripts are managed separately by the host. Profile reports are limited to 72 KiB each, final reports to 80 KiB each, and combined review artifacts to 288 KiB per session. Normal MCP calls need no network; installation, evidence tools and model execution may need it.

Validation proves structure, identity and reported sequence, not source completeness, defect truth or runtime success. The CLI read-only sandbox restricts writes, not all reads; strict read isolation needs an OS/container boundary. Forbidden-action detection cannot prove an action never started. No autonomous external writes or learned persistent QA memory are added.

Development and documentation

uv run pytest -q
uv run ruff check .
uv run qa-orchestrator-doctor --json
git diff --check

Implementation: src/qa_orchestrator/. Tests cover contracts, workflow, storage, evidence and execution supervision; real-model quality and target application/device checks are separate.

See CONTRIBUTING.md, Orchestration Policy, Review Upgrades, and SECURITY.md. Licensed under MIT.

Available Tools

12 tools
advance_qa_orchestrationRecord QA step resultA

Record one active QA step's result; return updated state and next_action instructions for the host.

After completed triage, the response also includes selected_review_routes with the exact selected checklists and execution_groups, avoiding a separate preparation tool call.

For finalization, use finish_qa_orchestration at awaiting_host_outcome; after early stops, match the recorded outcome.

  • Triage: select exactly one bundle or profile; default to one profile for narrow work. Set implementation_review=true when implementation behavior is in scope.

  • Every call requires run_id, completed_step, and status. Copy completed_step from the latest session's current_step; use status=completed after a successful stage.

  • Primary review: after a whole execution group finishes, report its ordered profiles together with completed_profiles. In a review-context-bound session, also supply matching profile_reports. Older hosts may continue reporting completed_profile one at a time. The final group requires risk_signals ({} if none).

  • Clean single-profile fast path: set skip_synthesis=true only when the route contains one profile and that review has no findings, no unresolved material questions, and no risk signals. This bypasses only the separate synthesis step; the host still validates and produces the final QA report. The server cannot verify this claim. Bundles, findings, unresolved questions, or any risk signal require the normal synthesis stage.

  • Trust boundary: completion fields, execution_metrics, and risk_signals are host-reported. The server cannot confirm each review ran, whether it ran concurrently, or that risk_signals reflect evidence; bound sessions validate report/profile alignment, citation membership, finding-source lineage, and risk-signal reference membership, not report truth.

  • Early stop: provide stop_reason; omit route selectors, completion fields, and risk_signals.

  • Success saves state and refreshes expires_at.

  • Invalid/stale requests and unknown/expired run_ids fail without advancing.

  • With request_id and expected_revision, exact retries return current retained state without another transition or TTL refresh. Conflicting payloads and new stale revisions fail.

  • Legacy calls without request_id are non-idempotent: never retry them blindly. After a lost response or transition error, read get_qa_orchestration(run_id) and continue from its current_step; if the session is unknown or expired, start a new session.

Inputs: run_id (required), status (required), completed_step (required), request_id, +12 more. Returns: run_id, status, revision, read_only, +29 more

delete_qa_orchestrationDiscard QA session stateA
DestructiveIdempotent

Delete one QA session from memory and configured recovery storage. To retain a final QA outcome, use finish_qa_orchestration.

run_id selects one session at any stage; no prior advance or finish required. Recover a lost ID via list_qa_orchestrations(), matching task type, route, and stage; confirm the target if several entries match.

  • Idempotent: deleted=true confirms absence, including unknown or expired IDs.

  • Irreversible: get/advance/finish cannot use the ID, even after restart.

  • Storage failure: memory stays intact; resolve the error and retry.

Host tasks and model executions are unaffected.

Inputs: run_id (required). Returns: run_id, deleted

finish_qa_orchestrationRecord final QA outcomeA
Idempotent

Finalize the QA run and store its structured report when the session is review-bound.

After normal synthesis or an eligible clean single-profile fast path, use the retained run_id at awaiting_host_outcome to choose completed, partial, or blocked. After an early stop recorded by advance_qa_orchestration, outcome must match its partial/blocked status.

  • A completed review-bound session requires final_review_report.

  • Structured reports survive a restart only with the same configured session store; otherwise they are in-memory only. Legacy finalized sessions without review artifacts are removed at restart.

  • Same outcome: returns the retained terminal session.

  • Different outcome: conflicting final outcome; status unchanged.

  • Premature call: outcome is not ready. Retained sessions expire at the configured TTL (1800s default), or are removed by eviction or explicit deletion. Removed run_ids cannot be deduplicated.

Inputs: run_id (required), outcome (required), expected_revision, final_review_report. Returns: run_id, status, revision, read_only, +27 more

get_qa_orchestrationInspect one QA sessionA
Read-onlyIdempotent

Read one retained run_id's state, audit trace, bound context and structured reports.

Use run_id on the server retaining that session to resume or reconcile a lost advance_qa_orchestration response. Reads do not extend expires_at. Errors unknown run_id or expired session require a new session via start_qa_orchestration. If run_id is lost, use list_qa_orchestrations() to find retained sessions first.

For all-stage server policy, use get_qa_orchestration_model_policy(); for review progress or final outcome, use advance_qa_orchestration or finish_qa_orchestration, respectively. Local stdio access requires no additional credentials.

Inputs: run_id (required). Returns: run_id, status, revision, read_only, +27 more

get_qa_orchestration_catalogDiscover QA profiles and bundlesA
Read-onlyIdempotent

Read the static profile/bundle catalog: specialists, review scopes, and execution schedules.

Use before creating a session or choosing its triage route; no session or arguments required. Task-type recommendations are shortlists, not restrictions. Choose a bundle for broad work or a single profile for a narrow concern using changed files and confirmed stack.

  • For a session, the successful triage response includes selected_review_routes with the selected profile or bundle checklists and execution_groups.

  • Standalone or recovery lookup: prepare_qa_orchestration(agent_profile) or prepare_qa_orchestration_bundle(bundle).

  • Create a session: start_qa_orchestration; set its route: advance_qa_orchestration.

  • Session IDs: list_qa_orchestrations().

Available routes come from the installed server's bundled definitions; active sessions and configured models do not change this catalog.

Inputs: no named parameters. Returns: bundles, profiles, read_only, host_owns_decisions, +1 more

get_qa_orchestration_model_policyInspect server model settingsA
Read-onlyIdempotent

Read the server-wide model policy used to create new sessions.

The mode is either host_default (use the host's configured model and reasoning) or configured (use the returned per-stage provider, model IDs, and reasoning).

Use to inspect the policy loaded for new sessions; takes no arguments.

  • Existing session state and current-stage policy: get_qa_orchestration(run_id).

  • Create a session with these settings: start_qa_orchestration.

Reads the loaded in-memory snapshot, not the current policy file; restart the server connection after file changes. No session is created and no provider is contacted; the result does not verify which model the host executed.

Inputs: no named parameters. Returns: Flat MCP response shape for configured and host-default model policies.

list_qa_orchestrationsList retained QA sessionsA
Read-onlyIdempotent

List non-expired QA session identifiers and brief metadata, including bound review identity.

Recover a lost run_id by matching task type, route, and stage; confirm if several match. Call get_qa_orchestration(run_id) for full state and next action, or get_qa_orchestration_model_policy() for server policy. Takes no arguments.

  • Includes retained terminal sessions; expired or evicted sessions are unrecoverable.

  • Sorts by expires_at descending, then run_id descending; empty means none are retained.

  • After restart, unfinished sessions and finalized sessions with saved review artifacts restored from configured local storage appear.

  • Reading does not extend session TTL.

Inputs: no named parameters. Returns: sessions, read_only, host_owns_decisions

prepare_qa_orchestrationRead specialist review checklistA
Read-onlyIdempotent

Return one specialist's fixed ReviewRoute checklist: profile, display_name, focus, required_sections, constraints, and escalation_signals.

Use before reviewing one scoped concern when no session is active, or to recover a checklist when the triage response is unavailable; no session is required.

  • Standalone review: use get_qa_orchestration_catalog() to match profile focus to changed files and confirmed stack.

  • Session primary_review: use selected_review_routes returned by the successful triage advance call. It contains every selected checklist and execution_group; do not make a separate preparation call for the same session.

This local lookup reads bundled definitions, without executing reviews or calling models. Use advance_qa_orchestration to apply a session route. Results depend only on agent_profile. Invalid values fail input validation; retry with a listed enum value.

Inputs: agent_profile (required). Returns: focus, profile, read_only, constraints, +4 more

prepare_qa_orchestration_bundleRead bundle review checklistsA
Read-onlyIdempotent

Return every fixed ReviewRoute checklist and execution wave for one bundle.

Use for standalone bundle lookup or to recover checklists when the successful triage response is unavailable. In a session, the triage advance response includes the selected checklists and execution_groups. Run execution_groups in order; profiles in one group are independent and may run concurrently when the host supports it. For session transitions, follow advance_qa_orchestration's group-reporting rules. For a single profile, use prepare_qa_orchestration. This stateless lookup reads bundled definitions; it does not execute reviews, create a session, or call models.

Inputs: bundle (required). Returns: bundle, routes, execution_groups

renew_qa_orchestrationRenew active QA session leaseA

Extend an active session's TTL while host review work is running.

Pass the retained run_id and, optionally, the latest session revision as expected_revision; a stale revision fails without renewing. Before expires_at, active primary/deep/synthesis and awaiting-host-outcome sessions may be renewed. Terminal or expired sessions cannot be revived. Only the lease changes: no workflow revision advances and no worker or model is launched. Use advance_qa_orchestration to record progress and finish_qa_orchestration for the outcome.

Inputs: run_id (required), expected_revision. Returns: run_id, status, revision, read_only, +27 more

resolve_git_review_inputResolve local Git review inputA
Read-onlyIdempotent

Resolve two locally available Git refs into immutable commits and diff metadata.

The repository path is on the server host. This compares the resolved commits directly; choose the merge base explicitly when a merge-base comparison is required. It does not fetch refs, inspect uncommitted changes, or construct the evidence packet. Unresolvable refs fail; both refs must resolve to different commits with a nonempty diff.

Inputs: base (required), head (required), repository (required). Returns: object

start_qa_orchestrationA

Create a QA session and bind code reviews to one immutable review input.

Before calling for ordinary_review or widget_review, complete review preflight: resolve the authoritative task/MR, pin exact base_sha and head_sha for Git input, or use input_kind=diff with no Git revisions for a standalone unified diff; inspect the exact diff, build the host-owned Evidence Packet and stable refs, compute diff_sha256 and evidence_packet_sha256, and provide input_manifest.schema_version=2 with source_inventory_status and source_conflict_status. A task or MR URL alone is not enough. If an exact repository, required Git revisions, diff, or packet identity cannot be pinned, do not start; resolve it or tell the user what is missing. Record unavailable requirement/spec sources with partial or unknown manifest statuses.

Every call creates a separate session. Use prepare_qa_orchestration for a stateless profile checklist. task_type narrows the bundle shortlist; the host still selects the review route. Code review task types require review_context with the exact source and Evidence Packet identifiers plus an input manifest schema v2. The server stores identifiers and submitted report fields, not the raw diff or full Evidence Packet.

  • Sessions expire after the configured TTL (1800 seconds by default).

  • Capacity is 100 sessions by default and can be configured.

  • Expired sessions are purged and retained terminal sessions may be evicted. If capacity can only be freed by removing an active session, the call returns a session limit error.

Inputs: task_type (required), review_context. Returns: run_id, status, revision, read_only, +27 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools have clearly distinct lifecycle roles: start, advance, finish, renew, get, list, delete, prepare, and static policy/catalog lookups. The main possible confusion is among the three static/preparation tools (catalog, single-profile prepare, and bundle prepare), but their descriptions give enough guidance to distinguish them.

    Naming Consistency4/5

    The tools overwhelmingly follow a snake_case verb_noun pattern, mostly centered on qa_orchestration. Minor deviations include prepare_qa_orchestration vs. prepare_qa_orchestration_bundle, get_qa_orchestration_catalog/model_policy, list_qa_orchestrations plural form, and resolve_git_review_input outside the qa_orchestration prefix.

    Tool Count5/5

    Twelve tools are well-scoped for a QA orchestration lifecycle covering session creation, state advancement, finalization, deletion, renewal, listing, preparation, policy, catalog, and Git input resolution. Each tool appears to earn its place without excessive fragmentation.

    Completeness5/5

    The surface covers the full session lifecycle and supporting operations: start, advance, finish, renew, get, list, delete, plus static catalog/model-policy lookup and review-input preparation. It also handles stateless checklist preparation and Git diff resolution, leaving no obvious lifecycle gap.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers