Skip to main content
Glama
WSL DevSecOps MCP Server

WSL DevSecOps MCP Server

by darkpowerxo

generate_sbom

Create a Software Bill of Materials for a Docker image with Syft, outputting JSON, CycloneDX, or SPDX to inventory components for supply-chain review.

Instructions

Generate Software Bill of Materials for a Docker image using Syft

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

Input Schema

NameRequiredDescriptionDefault
imageYesDocker image name and tag
formatNoOutput format (json, cyclonedx, spdx)json

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses almost nothing beyond the one-line purpose. It does not say whether the image is pulled, whether the operation is read-only or safe to repeat, where the SBOM is written (returned inline vs. a file path), how long it may take, or how large the output can be.

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?

A single, front-loaded sentence with no filler. It is efficient, though it could be split to surface prerequisites or output behavior without becoming verbose.

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

Completeness2/5

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

For a tool with no annotations and no output schema, the description should explain what comes back (SBOM content in the response vs. a file location) and any execution prerequisites. Neither is covered, leaving meaningful ambiguity for an operation that can produce large output and depends on external tooling.

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 the schema already documents the image name/tag and the format enum values (json, cyclonedx, spdx). The description adds no syntax, default, or format-selection guidance beyond what the schema provides, so the baseline of 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?

States a specific verb and resource ('Generate Software Bill of Materials for a Docker image') and names the underlying engine (Syft). It is clear what the tool does, but it does not differentiate itself from the sibling scan_docker_image or explain how an SBOM differs from a scan report.

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 guidance on when to use this versus scan_docker_image or run_security_script, and no prerequisites are stated (e.g., whether the Docker daemon or Syft binary must be available, or whether private registry auth is needed). The only cue is the mention of Docker images.

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