Skip to main content
Glama

Shieldbook – EU Cyber Resilience Act (CRA), SBOM

Generate SBOM steps for CI

sbom_ci_snippet
Read-onlyIdempotent

Generates a CI workflow that produces an SBOM (software bill of materials, CycloneDX JSON) on every build, on GitHub Actions or a GitLab CI pipeline, for npm (Node.js), pip or Poetry (Python), Maven or Gradle (Java), Go or Cargo (Rust) projects. Returns a ready-to-commit workflow or job with actions pinned to commit SHAs and the generator version. Covers no other CI systems or ecosystems; for reading an existing SBOM: sbom_summarize.

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": {
      "ecosystem": "<ecosystem>",
      "ci": "<ci>"
    },
    "name": "sbom_ci_snippet"
  }
}

Input Schema

NameRequiredDescriptionDefault
ciYesCI system or pipeline: github (GitHub Actions workflow) or gitlab (GitLab CI/CD job).
ecosystemYesPackage manager or language of the project: npm (Node.js, JavaScript, TypeScript), pip or poetry (Python), maven or gradle (Java, Kotlin), go (Go modules), cargo (Rust).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / ci / description
      Previous value: -"CI system: GitHub Actions or GitLab CI/CD."New value: +"CI system or pipeline: github (GitHub Actions workflow) or gitlab (GitLab CI/CD job)."
    • changedInput schema / properties / ecosystem / description
      Previous value: -"Package ecosystem of the project."New value: +"Package manager or language of the project: npm (Node.js, JavaScript, TypeScript), pip or poetry (Python), maven or gradle (Java, Kotlin), go (Go modules), cargo (Rust)."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate a read-only, idempotent, non-destructive operation with no open-world behavior. The description adds useful behavioral context: the result is a ready-to-commit workflow or job, actions are pinned to commit SHAs, the generator version is included, and the SBOM is CycloneDX JSON.

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?

The definition is two tight sentences. Core purpose and supported systems come first, and the scope exclusion plus sibling pointer is placed at the end without wasted wording.

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?

For a two-parameter generation tool with no output schema, the description covers what is produced, the supported CI systems and ecosystems, and how the output can be committed. Only the exact shape of the returned workflow is left unspecified, which is acceptable given the tool's scope.

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% and both parameters are enums with clear descriptions. The description reinforces the meaning of ecosystem and CI by listing the supported values and mapping ecosystems to languages, but it adds little beyond the schema.

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 gives a specific verb and resource: generates a CI workflow producing an SBOM in CycloneDX JSON. It explicitly names the supported CI systems and ecosystems, and distinguishes itself from sbom_summarize, which reads existing SBOMs.

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

Usage Guidelines5/5

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

It states when to use the tool (to generate SBOM-producing CI steps for GitHub Actions or GitLab CI), when not to use it (other CI systems or ecosystems are not covered), and names the alternative for reading existing SBOMs. This leaves little ambiguity about routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources