Skip to content

Quality & code review

This page is generated from the live QualityMax MCP registry. Examples use placeholders; replace them with values for your workspace.

Start an AI-powered code review and suggest improvements. Worker-backed deployments return a job_id immediately; poll check_ai_review_status until the review completes.

Parameter Type Required Description
repo_id string Yes Repository ID to review
focus_areas array No Areas to focus review on
model string No Model to use for review (default: gpt-5.6-terra)
max_tokens integer No Max tokens for the review output (default: 4000)
debug boolean No Include debug metadata (default: false)

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"repo_id": "your-repo-id"
},
"tool": "ai_review"
}

Analyze test coverage and identify gaps in the repository

Parameter Type Required Description
repo_id string Yes Repository ID to analyze
include_suggestions boolean No Include improvement suggestions

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"repo_id": "your-repo-id"
},
"tool": "analyze_coverage"
}

Read your dependency scan status and a page of findings. Free Beta Plus or Studio+ required; reports expire after 24 hours. Poll queued/running scans no more often than every two seconds. For completed scans follow next_offset until null to read every finding. Failed scans have no security verdict.

Parameter Type Required Description
scan_id string Yes ID returned by start_dependency_scan.
offset integer No Finding offset from next_offset.
limit integer No Maximum findings per page.

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"scan_id": "your-scan-id"
},
"tool": "get_dependency_scan"
}

Get the user’s AI code-review preferences (which categories to check, which to skip). Returns effective preferences: per-repo overrides merged over global defaults. Call without repository_id for global defaults.

Parameter Type Required Description
repository_id integer No Repository ID. Omit to get global defaults only.

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {},
"tool": "get_review_preferences"
}

Query data from the system using flexible queries. Use this for exploratory queries or when you need to list data with filters. For specific single-item lookups, prefer specialized tools like get_test_case, get_execution, etc.

Parameter Type Required Description
query_type string Yes Type of data to query: projects (all user projects), test_cases (requires project_id), repositories (requires project_id), executions (requires project_id), scripts (requires project_id)
project_id integer No Project ID to query within (required for test_cases, repositories, executions, scripts)
filters object No Filter criteria - supported filters vary by query_type: status, category, name_contains, created_after, created_before
limit integer No Maximum number of results to return

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"query_type": "your-query-type"
},
"tool": "query_data"
}

Get the imported repository’s stored coverage signal without starting a new scan.

Parameter Type Required Description
repo_id integer Yes Repository ID

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"repo_id": 1
},
"tool": "repo_coverage"
}

Get the imported repository’s stored quality signal without starting a new scan.

Parameter Type Required Description
repo_id integer Yes Repository ID

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"repo_id": 1
},
"tool": "repo_quality"
}

Set or update AI code-review preferences. Controls which categories the reviewer checks (security, performance, test_coverage, type_safety, accessibility, style, secrets_scanning, ai_safety_for_agents) and an optional custom_focus string. Use scope=‘global’ for defaults that apply everywhere, or scope=‘repo’ with a repository_id for per-repo overrides.

Parameter Type Required Description
scope string Yes Whether to set global defaults or a per-repo override.
repository_id integer No Required when scope is ‘repo’.
preferences object Yes Key-value map of review categories. Boolean categories: security, secrets_scanning, performance, test_coverage, type_safety, accessibility, style, ai_safety_for_agents. Plus optional custom_focus (string or null).

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"preferences": {},
"scope": "your-scope"
},
"tool": "set_review_preferences"
}

Queue an OSV dependency/CVE scan of a UTF-8 lockfile for Free Beta Plus or Studio and above. Pass file contents, not a local path or URL. Lockfiles run in isolated E2B sandboxes. Package names and versions are sent to public OSV; do not include secrets. Returns a scan id; poll get_dependency_scan. One active scan and ten MCP submissions per hour per user. Checks known dependency advisories, not application code or exploitability.

Parameter Type Required Description
filename string Yes Original lockfile basename.
content string Yes UTF-8 lockfile text, up to 2 MiB.

The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.

{
"arguments": {
"content": "your-content",
"filename": "your-filename"
},
"tool": "start_dependency_scan"
}