Skip to main content
Glama

Package vulnerability check

package_vulns
Read-only

Checks an open-source package version for known CVEs and GitHub advisories across npm, PyPI, Go, Rust, Maven and more, returning each issue's severity and the version that fixes it.

Instructions

Check an open-source package version for known security vulnerabilities (CVEs, GitHub advisories) across npm, PyPI, Go, Rust, Maven, RubyGems, NuGet, PHP and more. Returns each issue's severity and the version that fixes it. Costs $0.002 per call.

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": "package_vulns"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name, e.g. "lodash" or "django".
versionNoVersion to check, e.g. "4.17.15". Leave out to list every known advisory.
ecosystemYesPackage ecosystem: "npm", "PyPI", "Go", "crates.io", "Maven", "RubyGems", "NuGet", "Packagist".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds genuinely useful behavior beyond that: the advisory sources consulted, the shape of the result (per-issue severity plus the fixing version), and a concrete per-call price of $0.002. That cost disclosure is the kind of operational fact annotations cannot convey.

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?

Three tight sentences: what it does and coverage first, then the return shape, then the price. No filler, no repetition of schema detail, and the most decision-relevant facts are front-loaded.

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?

With no output schema, the description appropriately describes the return payload (severity and fixed version), and it covers cost and source coverage. Minor gaps remain — no mention of pagination or whether results are cached — but nothing essential to invoking it correctly is missing.

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 description coverage is 100%, so all three parameters are already documented, and the description largely restates them. The ecosystem list in the prose ('Rust', 'PHP') is looser than the schema's canonical values ('crates.io', 'Packagist'), which adds breadth but could momentarily confuse value selection rather than clarify it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Check an open-source package version for known security vulnerabilities') and enumerates supported ecosystems plus the data sources (CVEs, GitHub advisories), so the operation is unmistakable. It does not, however, distinguish itself from the sibling 'package_info', which an agent may plausibly consider for the same package-lookup task.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the wording — use it when you want vulnerability data for a specific package version — and the cost line gives a reason to be selective. There is no explicit when-to-use/when-not-to-use guidance and no routing to the closely related 'package_info' tool, leaving the agent to infer the split.

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