Skip to main content
Glama

audit_package_dependency

Check any software package for known CVEs via OSV.dev and retrieve its current registry version, so you can audit dependencies before adding or updating them.

Instructions

Check a software package for known CVEs via Google OSV.dev and report its latest registry version.

Cost: $0.005 USDC per call.
Freshness: live lookup against OSV.dev and the package registry at request time.
Inputs: ecosystem (default 'PyPI'; also npm, Go, crates.io, Maven, NuGet, RubyGems, Packagist, Hex, Pub), package (default 'fastapi'), version (optional; empty checks the latest release).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "audit_package_dependency"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageNofastapi
versionNo
ecosystemNoPyPI

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 well: it discloses per-call cost ($0.005 USDC), freshness (live lookup at request time), and both data sources. It stops short of describing failure behavior for unknown packages, registry rate limits, or how payment/auth is settled, which are the remaining behavioral gaps for a paid tool.

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?

Four labeled lines — purpose, cost, freshness, inputs — with the core purpose front-loaded and no filler. Every sentence delivers a fact the agent would otherwise have to guess.

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?

An output schema exists, so return-value detail is correctly omitted, and the description covers cost, freshness, sources, and all three parameters. It is nearly complete for a simple lookup tool; only error/edge-case behavior is unstated.

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?

Schema description coverage is 0%, so the description must compensate, and it does: it enumerates the accepted ecosystem values (PyPI, npm, Go, crates.io, Maven, NuGet, RubyGems, Packagist, Hex, Pub) and their default, states the package default, and explains the non-obvious semantics that an empty version means 'check the latest release'. That is meaning well beyond the bare schema types.

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 ('Check a software package for known CVEs') plus the exact upstream source (Google OSV.dev) and a second concrete output ('latest registry version'). The scope is unambiguous and no sibling in the catalog covers package dependency auditing, so the agent can select 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?

The Inputs block effectively says when to use it: pass a package, optionally pin a version, and leave version empty to check the latest release. It gives clear context but no explicit exclusions or when-not-to-use conditions (e.g., what to do for a monorepo or a package not in a supported registry).

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