Skip to main content
Glama

trigger_scan_git

Start a Checkmarx One scan from a Git repository URL and branch, then return the created scan ID for status polling.

Instructions

Trigger a new scan from a Git repository URL. Returns the created scan with its ID for status polling.

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": {
      "repoUrl": "<repoUrl>",
      "branch": "<branch>"
    },
    "name": "trigger_scan_git"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchYesBranch name to scan
repoUrlYesGit repository URL to scan
projectIdNoProject UUID (uses CHECKMARX_PROJECT_ID if not provided)
scanTypesNoScanner engines to run (defaults to sast, sca, kics). Use 'containers' to scan Dockerfiles and their base image layers for CVEs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose two useful traits beyond the schema: that a scan resource is created as a side effect and that the response contains an ID used for subsequent status polling, revealing an asynchronous workflow. However, it omits permission requirements, behavior when a scan is already running, and failure modes for invalid or unreachable repositories.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both earning their place: the first states the action and source, the second states the return shape and its downstream use. The action is front-loaded with no filler or redundancy.

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?

With four fully documented parameters and no output schema, the description covers the essential contract, including what the call returns and how the result is used. Gaps remain around authentication, async timing, and error behavior, but the core is complete enough to invoke correctly.

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 description coverage is 100%, with repoUrl, branch, projectId (including its CHECKMARX_PROJECT_ID fallback), and scanTypes (with defaults and the 'containers' hint) all documented in the schema. The description adds no parameter-level meaning, so the baseline 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 names a specific verb and resource ('Trigger a new scan') and qualifies the source as 'a Git repository URL', which implicitly separates it from image- and local-based trigger siblings. It stops short of naming those siblings explicitly, so differentiation relies on the qualifier rather than a direct contrast.

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 'from a Git repository URL' qualifier implies the appropriate context (remote Git sources vs. local paths or container images), but the description never states when to prefer trigger_scan_image or trigger_scan_local, nor does it mention prerequisites such as repository access credentials. Usage is implied rather than stated.

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