Skip to main content
Glama
@ansvar/supply-chain-security-mcp

@ansvar/supply-chain-security-mcp

compare_sbom_formats

Compare SPDX and CycloneDX fields side by side within a chosen category to understand how the two SBOM formats differ on package information, licensing, or relationships.

Instructions

Side-by-side comparison of SPDX and CycloneDX fields within a specific category. Use when you need to understand the differences between the two SBOM formats for a field category (e.g., "Package Information", "Licensing", "Relationships"). Returns fields from both formats grouped by category.

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": {
      "category": "<category>"
    },
    "name": "compare_sbom_formats"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesField category to compare (e.g., "Package Information", "Licensing", "Relationships", "Document Creation")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the return shape ("Returns fields from both formats grouped by category"), which matters since there is no output schema. It doesn't explicitly state the operation is read-only or whether the result is a fixed lookup table, but the comparison framing makes that behavior clear enough.

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?

Three short sentences, front-loaded with the core action and followed by usage guidance and return behavior. Only mild redundancy between "within a specific category" and "for a field category" keeps it from a 5.

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 single-parameter, non-mutating lookup tool this covers purpose, trigger, and return shape. The only gap is that there is no output schema, so details like the exact grouping structure or whether both formats always have entries for a category are left implicit.

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 the parameter already carries examples, so the description's parenthetical category examples add little beyond what the schema provides. Baseline 3 is appropriate; no hidden constraints or formatting rules for the category string are added.

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: "Side-by-side comparison of SPDX and CycloneDX fields within a specific category." An agent can tell this apart from a single-standard lookup (get_sbom_standard) or a field search (search_sbom_fields), though the description never names those siblings to make the distinction explicit.

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?

"Use when you need to understand the differences between the two SBOM formats for a field category" gives a clear triggering condition and concrete category examples. It lacks an explicit when-not or a pointer to the alternative tools for other needs, which keeps it short of a 5.

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