Skip to main content
Glama

Package Vulnerability Check

package_check
Read-only

Check a package against the OSV.dev advisories (GitHub, Go, PyPA, RustSec) and the OpenSSF malicious package list, with the fixed version and endoflife.date dates. For severity, pass the CVE aliases to the cve_triage_bulk tool.

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

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name as the dependency file writes it, e.g. lodash, @babel/core, org.apache.logging.log4j:log4j-core, golang.org/x/net
limitNoResults per page
offsetNoResults to skip; pass next_offset of the previous page
versionNoExact version, e.g. 4.17.20; without it every result is listed
ecosystemYesnpm, PyPI, Maven, Go, NuGet, RubyGems, crates.io, Packagist or SwiftURL. Case does not matter.

Output Schema

NameRequiredDescriptionDefault
eolYesSupport dates from endoflife.date. null when the package maps to no endoflife.date product. Then the dates are unknown.
limitYesMost items in results: the limit argument, 20 by default.
totalYesListed results, before paging. malicious is not counted.
offsetYesItems skipped: the offset argument, 0 by default.
creditsYes
resultsYesOne vulnerability each, newest first.
maliciousYesThe OpenSSF report that the package is malware. null when there is none, or none that may affect the version.
attributionYesEach source and license of the listed results, of malicious and of eol, once.
data_sourceYes
next_offsetYesoffset plus this page's items; total on the last page.
fixed_versionNoPresent only with a version. The upgrade target: the highest fixed version of the listed results, so no listed result affects it. null when a listed result has no fixed version, no result is listed, or an advisory still affects or may affect that version.
has_advisory_dataYestrue when an advisory of any source names the package. false does not mean that the package does not exist.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior1/5

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

The description says the tool checks external OSV.dev advisories and the OpenSSF malicious package list, which is an open-world external lookup. The annotations declare openWorldHint=false, directly conflicting with that described behavior. Per the contradiction rule, this dimension is scored 1.

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 two compact sentences with the core purpose and data sources front-loaded. The second sentence efficiently routes severity work to the correct sibling tool.

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?

Given the output schema and full parameter descriptions, the definition is largely complete: it names the advisory sources, mentions fixed versions and EOL dates, and routes severity handling. It leaves out pagination and the batch package_check_bulk alternative, but those are secondary given the structured schema coverage.

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 the schema already explains package name, ecosystem, version, limit, and offset semantics. The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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 states a specific verb and resource: checking a package against named advisory sources (OSV.dev ecosystems and the OpenSSF malicious package list). It also mentions the fixed version and endoflife.date dates, making the tool's output scope distinguishable from a generic CVE lookup.

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?

It gives clear routing guidance for severity work: pass CVE aliases to cve_triage_bulk. That is useful explicit when-to-use guidance, but it does not state when not to use this tool or mention the sibling package_check_bulk for batch package checks.

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.