Skip to main content
Glama

trigger_scan_image

Triggers a Checkmarx Container Security scan for a specified container image from public or integrated private registries and returns a scan ID for polling results.

Instructions

Scan a specific container image (e.g. 'nginx:1.27-alpine-slim', 'ghcr.io/org/app:v1') via Checkmarx Container Security. Works for any public registry (Docker Hub, GHCR, public ECR, Quay). Returns a scan ID for polling. For private registries, set up a Private Registry Integration in Checkmarx One first.

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": {
      "image": "<image>"
    },
    "name": "trigger_scan_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesImage reference in {name}:{tag} form, optionally with registry prefix or @sha256 digest
branchNoBranch label for the scan (defaults to a sanitized form of the image ref)
projectIdNoProject UUID (uses CHECKMARX_PROJECT_ID if not provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose two useful behaviors: the call is asynchronous ('Returns a scan ID for polling') and private registries require prior setup. It does not state that each call creates a new scan (no dedup/re-run semantics), nor any auth or rate-limit context, leaving meaningful gaps for a mutation-style trigger.

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?

Four short sentences, front-loaded with the core action and immediately followed by scope and the polling return value. The private-registry caveat is placed last, which is appropriate, and no sentence is filler.

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?

No output schema exists, and the description compensates by explaining that the return is a scan ID used for polling. Combined with the registry scope and private-registry prerequisite, an agent has enough to invoke it correctly, though it never points to get_scan as the polling mechanism.

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%, so image, branch, and projectId are already documented, and the description's image examples largely duplicate the schema's pattern and format note. It adds nothing about how branch defaults are sanitized or when projectId should be passed explicitly, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Scan a specific container image') and scopes it to Checkmarx Container Security, with two concrete image-reference examples. This makes it clearly distinguishable from sibling triggers like trigger_scan_git and trigger_scan_local without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It defines the supported scope (any public registry: Docker Hub, GHCR, public ECR, Quay) and gives an explicit precondition for the unsupported case ('For private registries, set up a Private Registry Integration first'). It stops short of naming sibling alternatives for non-image scans, but the context needed to choose correctly is present.

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