Skip to main content
Glama

generate_sbom

Generate Software Bill of Materials (SBOM) from package manifests and lockfiles to identify dependencies, detect license compliance issues, and export in standard formats.

Instructions

Generate a Software Bill of Materials (SBOM) from package manifests and lockfiles. Supports npm, Composer, pip, Go, Cargo, Bundler, Maven. Outputs CycloneDX, SPDX, or plain JSON. Includes license compliance warnings for copyleft licenses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format (default: json)
include_devNoInclude devDependencies (default: false)
include_transitiveNoInclude transitive dependencies (default: true)
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds useful context beyond basic functionality by mentioning 'license compliance warnings for copyleft licenses,' which informs about output behavior. However, it does not cover other behavioral traits like error handling, performance characteristics, or side effects (e.g., file system changes), leaving gaps for a tool with mutation-like generation.

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 description is appropriately sized and front-loaded, with two sentences that efficiently convey core functionality, supported ecosystems, output options, and an additional feature (license warnings). Every sentence adds value without redundancy, making it easy to parse and understand quickly.

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?

Given the tool's moderate complexity (generating SBOMs from multiple sources) and the absence of annotations and output schema, the description is partially complete. It covers what the tool does and key features but lacks details on output structure, error cases, or integration context. This leaves some gaps for effective agent use, though it provides a solid foundation.

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?

The input schema has 100% description coverage, providing clear details for all three parameters (format, include_dev, include_transitive) with defaults and enums. The description does not add any parameter-specific semantics beyond what the schema already documents, so it meets the baseline of 3 without compensating or enhancing parameter understanding.

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 clearly states the tool's purpose with specific verbs ('Generate a Software Bill of Materials') and resources ('from package manifests and lockfiles'), distinguishing it from sibling tools focused on code analysis, refactoring, or project management. It precisely defines what the tool produces and the input sources it processes.

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 description implies usage context by listing supported package ecosystems (e.g., npm, Composer) and output formats, suggesting it should be used for SBOM generation in those contexts. However, it lacks explicit guidance on when to use this tool versus alternatives (e.g., other SBOM tools or sibling tools like 'get_package_deps'), and does not mention prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikolai-vysotskyi/trace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server