Skip to main content
Glama

Ingest External Scanner Report

ingest_external_scan
Destructive

Import external SARIF, SBOM, or scanner JSON to bulk-add findings or resolve absent ones. Optionally parse locally only.

Instructions

Ingest external SARIF, SBOM, or scanner JSON without executing its producer.

    This tool mutates the control plane when ``parse_only`` is false: it bulk-ingests
    findings and, with ``reconcile_absent``, resolves open findings absent from the batch.
    That write path is gated as a destructive action requiring the ``findings:write`` scope.
    ``parse_only`` requests parse locally only and stay a read.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoSource label stored on ingested findings.external_scan
scan_jsonYesJSON string containing tool-agnostic SARIF, CycloneDX, SPDX, Trivy, Grype, or Syft evidence
parse_onlyNoWhen true, parse locally only. When false, bulk-ingest to the control plane when AGENT_BOM_API_URL and credentials are configured.
reconcile_absentNoWhen pushing, mark findings absent from this batch as resolved.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.98.3
    • changedInput schema / properties / scan_json / description
      Previous value: -"JSON string from Trivy, Grype, or Syft scan output"New value: +"JSON string containing tool-agnostic SARIF, CycloneDX, SPDX, Trivy, Grype, or Syft evidence"
  2. Changed3 schema fields changedv0.93.0
    • addedInput schema / properties / parse_only
      Added value: +{
      +  "default": false,
      +  "description": "When true, parse locally only. When false, bulk-ingest to the control plane when AGENT_BOM_API_URL and credentials are configured.",
      +  "title": "Parse Only",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / reconcile_absent
      Added value: +{
      +  "default": false,
      +  "description": "When pushing, mark findings absent from this batch as resolved.",
      +  "title": "Reconcile Absent",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / source
      Added value: +{
      +  "default": "external_scan",
      +  "description": "Source label stored on ingested findings.",
      +  "title": "Source",
      +  "type": "string"
      +}
  3. Addedv0.88.4
  4. Removedv0.88.1
  5. Addedv0.87.1
  6. Removedv0.87.0
  7. Changed1 schema field changedv0.85.0
    • addedInput schema / additionalProperties
      Added value: +false
  8. Addedv0.84.5

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, it explicitly states the mutation side effects, including bulk-ingesting findings and resolving open findings absent from the batch, and notes the required scope. It also clarifies that parse_only keeps it a read. This is rich behavioral context.

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?

The description is front-loaded with a clear one-sentence summary, followed by a focused paragraph on behavior. Every sentence conveys necessary information without waste.

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?

With an output schema present, the description need not explain return values. It covers core aspects: accepted formats, non-execution, write gating, authentication scope, and the read-only parse_only path. This is sufficient for an agent to decide and invoke correctly.

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 schema already documents parameters. The description adds meaning by explaining the behavior implied by parse_only (read vs. write) and reconcile_absent (resolving absent findings), which goes beyond the schema descriptions.

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 opens with a specific verb ('Ingest') and resource ('external SARIF, SBOM, or scanner JSON'), and the phrase 'without executing its producer' distinguishes it from scanning tools. This clearly differentiates it from siblings like 'scan' and 'generate_sbom'.

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 description explains the conditional write behavior ('mutates the control plane when parse_only is false') and notes the destructive-action gating with findings:write scope. However, it does not explicitly name alternative tools or provide direct 'use when vs. instead of' guidance, so it stops 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.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/msaad00/agent-bom'

If you have feedback or need assistance with the MCP directory API, please join our Discord server