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

@ansvar/supply-chain-security-mcp

search_sbom_fields

Search SBOM standard fields from SPDX and CycloneDX by topic, such as license, hash, or supplier, and filter results by format to identify matching field definitions.

Instructions

Full-text search across SBOM standard fields from SPDX and CycloneDX specifications. Use when you need to find which SBOM fields relate to a topic (e.g., "license", "hash", "supplier", "vulnerability"). Supports filtering by format. Returns matching field definitions with type, required status, and 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": {
      "query": "<query>"
    },
    "name": "search_sbom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch text (e.g., "license", "hash", "supplier", "package URL")
formatNoFilter by SBOM format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden, and it does disclose the return payload ('matching field definitions with type, required status, and category') plus the format-filtering capability. It omits any mention of result volume, ranking behavior, or pagination, which are plausible concerns for a full-text search.

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?

Four short sentences, front-loaded with purpose before usage and return behavior, with essentially no filler. The query examples appear twice (description and schema), a minor redundancy.

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 read-only search with no output schema, the description covers purpose, usage trigger, filtering, and the shape of returned objects — enough to call it correctly. Volume and ranking behavior of results are the remaining gaps.

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 coverage is 100%, and the query examples in the description largely duplicate the schema's own example values. 'Supports filtering by format' clarifies the intent of the format parameter but adds little beyond the enum in 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?

States a specific verb and resource ('Full-text search across SBOM standard fields from SPDX and CycloneDX') and scopes it to field definitions rather than documents. The resource focus is distinct from siblings like search_attack_patterns or search_slsa_requirements, so an agent can route to it without opening the 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?

Gives an explicit when-to-use clause ('Use when you need to find which SBOM fields relate to a topic') with concrete topical examples. It stops short of naming alternatives or exclusions (e.g., use get_sbom_standard for the full spec), so there is no when-not guidance.

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