Skip to main content
Glama

purl_audit

Read-onlyIdempotent

Perform a software package vulnerability audit using SecDB.

What this tool does

Analyzes a list of software packages identified by PURL (Package URL) and returns vulnerability information plus a Markdown summary. The audit results are based exclusively on the package list provided.

When to use this tool

Use this tool when the user wants to determine:

  • whether application dependencies contain known vulnerabilities

  • whether a project is affected by security advisories

  • which packages require patching or upgrading

Supported ecosystems

Inputs

  • purls: list of Package URLs, one per entry. Generate them from your project manifest files:

    • Node.js: package.json / package-lock.json

    • Python: requirements.txt / Pipfile.lock / pyproject.toml

    • Ruby: Gemfile.lock

    • Go: go.mod / go.sum

    • Rust: Cargo.lock

    • PHP: composer.lock

    • Java: pom.xml / build.gradle

    • .NET: *.csproj / packages.lock.json

Outputs

  • report: structured JSON objects describing the advisories affecting the audited packages.

  • summary: Markdown summary including total vulnerabilities, severity breakdown, and key findings.

LLM usage guidelines

  • Never guess whether a package is vulnerable — always call this tool.

  • Only submit PURLs from the supported ecosystems listed above; others will be ignored.

  • The summary is already Markdown and can be shown directly.

  • Use report when deeper technical analysis is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purlsYesList of Package URLs (PURL) to audit

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
reportNo
summaryNoMarkdown summary including total vulnerabilities, severity breakdown, and key findings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / report / items / additionalProperties
      Added value: +true
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description still adds real behavior beyond that: results depend exclusively on the supplied package list, unsupported ecosystems are silently ignored, and the summary/report outputs are distinguished. It doesn't disclose rate limits or failure modes, so a 4 rather than 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?

Content is front-loaded with a one-line purpose followed by cleanly separated What/When/Ecosystems/Inputs/Outputs/Guidelines sections. It is long, and the ecosystem table plus manifest list are verbose, but each block carries actionable information rather than filler.

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?

For a single-parameter, annotated, read-only tool with an output schema, the definition covers everything an agent needs: when to use it, supported inputs, and what report vs summary contain. Nothing required for correct invocation 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% for the single 'purls' parameter, so baseline is 3. The description adds meaningful semantics beyond the schema — per-ecosystem PURL syntax examples and a mapping of which manifest files (package.json, requirements.txt, Cargo.lock, etc.) each should be generated from, which genuinely helps correct invocation.

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 ('Perform a software package vulnerability audit') and pins the scope to PURL-identified packages backed by SecDB, which clearly separates it from OS-level or feed-oriented siblings like linux_audit and feed_report. An agent can identify what it does and its input domain 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?

The 'When to use this tool' section gives three concrete triggering conditions (dependency CVEs, advisory impact, patching needs) and even an imperative 'always call this tool' rather than guessing. It lacks explicit 'when not to use' or named alternatives among siblings, so it falls 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources