Skip to main content
Glama

Shieldbook – EU Cyber Resilience Act (CRA), SBOM

Summarize an SBOM

sbom_summarize
Read-onlyIdempotent

Summarizes a CycloneDX or SPDX JSON SBOM (software bill of materials) from your own build or a supplier and checks whether the basics are there: format and spec version, product name and version, how many third-party components it lists, up to 100 component names, and findings on missing fields. Limits: 2,000,000 characters, 64 nesting levels, 50,000 components; processed in memory and not stored. Does not read XML or tag-value SBOMs and does no full schema validation or licence check; advisory lookups: sbom_vulnerabilities.

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": {
      "sbom_json": "<sbom_json>"
    },
    "name": "sbom_summarize"
  }
}

Input Schema

NameRequiredDescriptionDefault
sbom_jsonYesThe full SBOM (software bill of materials) file content as JSON text: CycloneDX JSON or SPDX 2.x JSON, for example from Syft, Trivy, cdxgen or npm sbom. Max 2,000,000 characters. It is processed in memory and not stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sbom_json / description
      Previous value: -"The full SBOM as JSON text: CycloneDX JSON or SPDX 2.x JSON. Max 2,000,000 characters. It is processed in memory and not stored."New value: +"The full SBOM (software bill of materials) file content as JSON text: CycloneDX JSON or SPDX 2.x JSON, for example from Syft, Trivy, cdxgen or npm sbom. Max 2,000,000 characters. It is processed in memory and not stored."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, closed-world, and non-destructive, so the description's job is to add operational detail — and it does: hard limits (2,000,000 characters, 64 nesting levels, 50,000 components), in-memory processing with no storage, and explicit exclusions (no XML/tag-value, no full schema validation, no licence check). The listed output contents (format, product/version, component count, capped component names, missing-field findings) are valuable given there is no output schema. Minor gap: it does not say what happens at limit overrun or how the 100-name cap is chosen.

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?

It is front-loaded with the core action and then layers limits and exclusions in a single dense sentence with semicolon-separated clauses; nothing is filler. Readability suffers slightly from packing the checks, limits, exclusions, and sibling pointer into one long sentence, but the information density earns its space.

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 stateless single-input analysis tool with no output schema, the definition supplies what an agent actually needs: accepted input dialects, size and depth limits, processing/storage behavior, the shape of the summary returned, and a pointer to the sibling for vulnerability data. The only shortfall is the vague 'findings on missing fields' — the agent cannot predict exactly what findings look like — but that is a small gap for a summarization tool.

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?

There is a single parameter with 100% schema description coverage, which already documents that it must be full SBOM file content as JSON text, the accepted dialects, example generators, and the 2,000,000-character ceiling. The description restates the same facts rather than adding new meaning such as escaping expectations or whether a partially valid document is accepted, so it sits at the baseline for a fully documented one-parameter tool.

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 (summarizes/checks) and a precisely bounded resource: CycloneDX or SPDX JSON SBOMs, with the concrete checks enumerated (format/spec version, product name and version, third-party component count, up to 100 component names, missing-field findings). It also routes the advisory-lookup case to the sibling sbom_vulnerabilities, so an agent can separate it from the other SBOM/CRA tools without opening a schema.

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?

Usage context is clear: JSON SBOMs from your own build or a supplier, and explicitly not XML or tag-value formats. It also names sbom_vulnerabilities as the place for advisory lookups. What is absent is an explicit statement of when this should be preferred over siblings like cra_scope_check or the CRA reporting tools, but the enumeration of what it does and does not cover effectively draws the boundary.

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