Skip to main content
Glama

Get package

get_package
Read-onlyIdempotent

Get one package's vulnerability history on cve.now: every advisory naming it (newest first, each with severity, CVSS, KEV, its affected ranges, fix status from the registry's releases and, on npm and crates.io, the share of downloads that were affected versions), whether the latest release is affected, the newest stable release no advisory affects (the version to upgrade to; it doesn't count unplaced advisories and is null when truncated), affected version spans per advisory, and unplaced: advisories whose ranges can't be compared with versions (when only those could affect a release, its affected is null, meaning unknown), and truncated: more than 500 advisories name it, so only the newest are listed and no release is called clean, and weekly downloads and dependents. Pass version to ask whether that version is affected and by which advisories. The page is https://cve.now/packages//. For many packages or a lockfile at once, use check_stack.

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": {
      "ecosystem": "<ecosystem>",
      "name": "<name>"
    },
    "name": "get_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe package name as its registry spells it, e.g. axios, @babel/core, django, org.apache.logging.log4j:log4j-core, github.com/gin-gonic/gin
versionNoA version to check, e.g. 1.7.4
ecosystemYesThe package's ecosystem

Output Schema

NameRequiredDescriptionDefault
urlNoThe package's page on cve.now
nameNoThe package name
spansNoAffected version spans per advisory id, lowest first
latestNoThe latest release, whether it is affected (null when only unplaced advisories could affect it) and by which advisories
versionNoWith version: whether it is affected (null when only advisories it can't be compared with could affect it) and by which advisories
unplacedNoAdvisories whose ranges can't be compared with versions, so verdicts leave them out
ecosystemNoThe package's ecosystem
truncatedNoMore advisories name the package than cve.now checks (the newest 500 are listed); then no release is called clean
advisoriesNoEvery advisory naming the package, newest first, with severity, its affected ranges, fixStatus, downloadExposure and whether it affects the latest release (and the version asked for)
dependentsNoPackages depending on it per deps.dev, when cve.now has read them
weeklyDownloadsNoDownloads in the last week, when cve.now has read them
newestUnaffectedNoThe highest stable release no advisory affects, not counting unplaced advisories

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources