Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

clair_vulnerability_scan

Scan container images for vulnerabilities with Clair to identify security issues and return structured JSON or YAML analysis results.

Instructions

Execute Clair for container vulnerability analysis.

Args: image: Container image to scan config: Clair configuration file output_format: Output format (json, yaml) additional_args: Additional Clair arguments

Returns: Container vulnerability analysis results

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": "clair_vulnerability_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYes
configNo/etc/clair/config.yaml
output_formatNojson
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.9/5.0
Behavior2/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, and it discloses little beyond 'execute and return results.' It never states that Clair must be installed/reachable, whether the image is pulled locally or from a registry (auth/credentials), or how long the scan may take. For a tool that shells out to an external scanner against a container image, these are significant gaps.

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 sentence, followed by a compact Args/Returns block; there is no filler or hedging. The parameter list is somewhat redundant with the schema titles, but given zero schema coverage that repetition earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema exists, so return values need no explanation, and the brief 'Returns' line is acceptable. Still, for a tool that wraps an external binary, the description omits operational context (Clair availability, registry access, expected runtime) that an agent would need to invoke it successfully.

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 0%, so the description must compensate, and it partially does by glossing all four parameters (image as the container image to scan, config as the Clair config file, output_format as json/yaml, additional_args as extra Clair flags). However, the glosses largely restate the parameter titles, and the allowed output_format values are stated only loosely ('json, yaml') without enumerating constraints on additional_args.

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?

States a specific verb and resource: 'Execute Clair for container vulnerability analysis.' This clearly distinguishes it from the many sibling scanners, since Clair is specifically a container-image scanner rather than a web/host scanner. It lacks any explicit sibling comparison, but the purpose itself is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says to use this for container images versus the many network/web scanning siblings, and no prerequisites or preconditions are mentioned. The agent must infer the container-scanning scenario entirely from the phrase 'container vulnerability analysis.'

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

Deploy Server

Other Tools