Skip to main content
Glama

Known vulnerabilities of a package or package version

get_package_vulnerabilities
Read-onlyIdempotent

Known vulnerabilities (OSV.dev and NVD advisories) of an open-source package, or of one version of it: severity, whether each is exploited in the wild (CISA KEV) and its EPSS score, the version that fixes them and the upgrade command. Works without an API token. Packages in AIssue's public catalog also get the newest version with no known advisory and their licence; any other npm, PyPI, Go, Cargo, RubyGems, Packagist, Maven, NuGet, Pub, Hex or Swift package is looked up live in OSV.dev. Runtimes and servers (Java, Node.js, Python, NGINX...): catalog only.

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_vulnerabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name as in the registry (e.g. "lodash", "django", "github.com/gin-gonic/gin", "org.apache.logging.log4j:log4j-core")
versionNoExact version (e.g. "4.17.20"). Omit for the whole package.
ecosystemYesnpm, pypi, go, cargo, rubygems, packagist, maven, nuget, pub, hex, swift, or runtime (Java, Node.js, Python, NGINX, PostgreSQL...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With readOnlyHint/idempotentHint/destructiveHint already covering the safety profile, the description adds meaningful operational context: the tool works without an API token, catalog packages get extra fields, and non-catalog packages are fetched live from OSV.dev, which implies an external dependency and possible coverage gaps. The only unaddressed point is that openWorldHint=false is slightly at odds with the described live OSV.dev lookup, though the read/write semantics themselves are fully consistent.

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?

The payload (what is returned) is front-loaded in the first sentence, followed by access rules and the catalog/live split. The fourth sentence is a fragment ('Runtimes and servers (Java, Node.js, Python, NGINX...): catalog only.') and the ecosystem list recurs three times across description and schema, adding minor redundancy.

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?

There is no output schema, and the description compensates fully by naming every returned field: severity, KEV status, EPSS score, fix version, upgrade command, licence, and newest non-vulnerable version. For a read-only 3-parameter lookup it tells the agent everything needed to call it and interpret the result, including the behavior difference between catalog and live lookups.

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

Parameters3/5

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

Schema coverage is 100% and the descriptions already define name format, exact version, and the ecosystem list, including the 'omit for the whole package' rule. The prose restates version as 'or of one version of it' and repeats the ecosystem families without adding format, casing, or matching rules beyond the schema, so it stays at the baseline for a fully documented schema.

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 precise verb+resource ('Known vulnerabilities ... of an open-source package, or of one version of it') and enumerates the returned data: severity, CISA KEV exploitation status, EPSS score, fixing version, upgrade command, licence, and newest safe version. It also draws a clear scope boundary (catalog packages vs. live OSV.dev lookups, runtimes catalog-only) that separates it from advisory- and licence-oriented siblings.

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?

Gives clear context for when this applies: any npm/PyPI/Go/Cargo/RubyGems/Packagist/Maven/NuGet/Pub/Hex/Swift package is looked up live, while runtimes and servers are catalog-only — an explicit exclusion an agent can act on. It never names which sibling to use instead (e.g. get_advisory for a single advisory or check_licences for bulk licence auditing), so routing between tools is left partly to inference.

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