Skip to main content
Glama
vibecode-checker
by Lex6won

scan_sbom

Scan components in a supplied SBOM without source code to identify vulnerabilities; supports CycloneDX JSON and SPDX JSON, returning skipped components with reasons for incomplete results.

Instructions

건네받은 SBOM 의 컴포넌트를 검사합니다 — 소스 코드가 없어도 됩니다.

조달·협력사가 SBOM 만 제출하는 경우, 또는 빌드 파이프라인이 이미 SBOM 을 만들어 두는 경우에 씁니다. scan_dependencies 가 매니페스트/락파일을 받는 것과 짝입니다.

읽지 못한 컴포넌트는 버리지 않고 skipped 에 사유와 함께 돌려줍니다. purl 이 없거나 버전이 NOASSERTION 이면 취약점 판정이 불가능한데, 조용히 빼면 받는 쪽은 "그 컴포넌트는 안전하다"로 읽습니다 — 없는 것과 안 본 것은 다릅니다. truncated_count > 0 도 같은 뜻이니 limit 를 올려 재검사하세요.

반대 방향(우리 검사 결과를 SBOM 으로 내보내기)은 CLI 의 gvskb scan --sbom <경로> 입니다(패키지 검사는 기본 수행).

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_text": "<sbom_text>"
    },
    "name": "scan_sbom"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo검사할 최대 컴포넌트 수(기본 2000). 초과분은 truncated_count 로 표시
callerNo호출 주체 자율 신고. 감사 구분용
sbom_textYesSBOM 파일 원문. CycloneDX JSON 또는 SPDX JSON (XML·tag-value 형식은 지원하지 않습니다)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.4

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does real work: it discloses that unreadable components are returned in `skipped` with a reason rather than dropped, that purl-missing or `NOASSERTION` versions are unjudgeable, and that `truncated_count` > 0 means results are incomplete. It does not state anything about authorization, determinism, or cost of scanning large SBOMs, which keeps it short of a 5.

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?

Front-loaded with the core action and the sibling contrast, then the failure-mode explanation. The skipped/truncated paragraph is long but earns its space because it prevents misreading incomplete results; only the redundant restatement of the 'not seen vs. safe' point could be trimmed.

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?

An output schema exists, yet the description still supplies the interpretation the agent most needs — that absence from results is not a clean bill of health. Supported input formats, the truncation path, and the export alternative are all covered, so nothing needed to call it correctly is missing.

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%, so the baseline is 3, but the description adds real meaning on top: it explains that `limit` overflow surfaces as `truncated_count` and instructs the caller to raise the limit and re-scan. That connects a parameter to an output signal rather than restating 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 (scan the components of a supplied SBOM) plus the key scope condition that no source code is needed. It explicitly contrasts itself with scan_dependencies, which takes manifests/lock files, so the agent can separate the two siblings without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names two concrete triggering situations — a supplier submitting only an SBOM, or a build pipeline that already emits an SBOM — and pairs them against the alternative tool's input type. It also redirects the opposite direction (exporting results to an SBOM) to the CLI, which prevents a wrong tool call.

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