Skip to main content
Glama

Shieldbook – EU Cyber Resilience Act (CRA), SBOM

Look up known vulnerabilities for SBOM components

sbom_vulnerabilities
Read-onlyIdempotent

Scans the components and dependencies listed in a CycloneDX or SPDX JSON SBOM (software bill of materials) for known vulnerabilities (CVEs and other security advisories) by looking them up in the public OSV.dev database. Sends only the package URLs (type, name, version) and returns, per affected component, the advisory IDs, and for up to 25 advisories the summary, aliases (for example CVE IDs) and fixed versions, with the OSV source. At most 1,000 components with versioned package URLs per call; nothing is stored. A lookup by package identifier, not proof that the vulnerable code is used; no match does not mean no vulnerability. For the SBOM's contents and missing fields: 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": {
      "sbom_json": "<sbom_json>"
    },
    "name": "sbom_vulnerabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
sbom_jsonYesThe full SBOM (software bill of materials) file content as JSON text: CycloneDX JSON or SPDX 2.x JSON listing the dependencies with package URLs (purl) and versions, for example from Syft, Trivy, cdxgen or npm sbom. Max 2,000,000 characters.

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, with package URLs (purl) and versions. Max 2,000,000 characters."New value: +"The full SBOM (software bill of materials) file content as JSON text: CycloneDX JSON or SPDX 2.x JSON listing the dependencies with package URLs (purl) and versions, for example from Syft, Trivy, cdxgen or npm sbom. Max 2,000,000 characters."
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover read-only, open-world and idempotent traits, yet the description still adds substantive behavior: only package URLs (type, name, version) leave the process and go to a public database, a 1,000-component cap per call, nothing is persisted, and up to 25 advisories are enriched with summary, aliases and fixed versions. It also discloses the false-negative risk (no match does not mean no vulnerability), which is exactly the kind of caveat an agent needs before reporting results.

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?

Front-loaded with the action and data source, then output shape, then limits and caveats, then the sibling pointer. Every clause carries information — the parenthetical expansions (CVE, purl) and the caveat sentence are load-bearing rather than padding.

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

Completeness5/5

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

There is no output schema, so the description carries return-value burden and does so concretely: per-component advisory IDs plus detail for up to 25 advisories with OSV source. Input constraints, provenance (public OSV.dev), and the sibling handoff for missing fields make it complete for a one-parameter, network-dependent lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single sbom_json parameter is documented there, so the baseline is a 3. The description nonetheless adds meaning the schema does not: only purl-bearing, versioned components are used, unsupported entries are effectively ignored, and the 1,000-component ceiling constrains what the input may contain.

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?

States a specific verb and resource — scanning components/dependencies in a CycloneDX or SPDX JSON SBOM for known vulnerabilities via OSV.dev — and explicitly names the sibling (sbom_summarize) that handles adjacent-but-different work, so an agent can separate the two without opening schemas.

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?

The use case is clear (vulnerability lookup by package identifier) and it routes content/field inspection to sbom_summarize, which is an explicit alternative. It stops short of stating exclusions such as when not to bother (e.g. SBOMs without purls), leaving that to be inferred from the caveats.

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