Skip to main content
Glama

purl_audit

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.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It explains that audit results are based exclusively on the provided package list, that unsupported ecosystems will be ignored, and that outputs include structured JSON and a Markdown summary. It does not mention side effects or read-only guarantees, but for an audit tool the behavior is well disclosed.

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 long but efficiently organized with clear headings: what it does, when to use, supported ecosystems, inputs, outputs, and LLM guidelines. Each section earns its place and the opening one-sentence summary is front-loaded, making the tool's purpose immediately understandable.

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?

Given the tool's moderate complexity and the presence of an output schema, the description covers all essential operational context: supported ecosystems, input sources, output types, and usage guardrails. An agent has enough information to decide when to call it and how to construct valid PURLs in the correct format.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the input schema already documents the 'purls' array with 100% coverage, the description adds substantial meaning by explaining how to generate PURLs from manifest files for each ecosystem and providing concrete examples per ecosystem. This goes well beyond the schema's simple 'List of Package URLs (PURL) to audit' and prepares the agent to construct valid input.

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 and resource: 'Perform a software package vulnerability audit using SecDB.' It clearly distinguishes itself from sibling tools like vulnerability_search or vulnerability_info by focusing on auditing a list of PURLs and returning a report plus summary, so an agent can tell them apart without opening schemas.

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 explicit conditions such as determining whether dependencies contain known vulnerabilities or which packages require patching. It also provides LLM usage guidelines like 'Never guess whether a package is vulnerable — always call this tool' and restricting input to supported ecosystems. It does not explicitly name sibling tools or state when to prefer them, but the context is clear.

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