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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Results per page"
    • addedInput schema / properties / offset / description
      Added value: +"Results to skip; pass next_offset of the previous page"
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds genuine value by disclosing which upstream sources are queried and that fixed-version and EOL dates are included in the result. It does not cover rate limits, caching, or what happens when a package is unknown, but those are secondary for a read-only lookup.

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?

Two sentences, zero filler. The capability and sources come first, and the severity-escalation handoff is placed at the end where it belongs.

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?

For a 5-parameter read-only lookup with full schema coverage and no output schema, the definition covers purpose, sources, and the shape of returned data (fixed version, EOL dates) adequately. Only the bulk-vs-single choice is left unaddressed, which is a minor omission rather than a blocking gap.

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 ecosystem, version, limit, and offset are all documented with examples and defaults in the schema itself. The description adds no parameter-level detail beyond implying that version scoping affects result listing, so the baseline of 3 applies.

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?

States a specific verb and resource ('Check a package') and names the exact data sources consulted (OSV.dev ecosystems and the OpenSSF malicious package list), plus what comes back (fixed version, endoflife.date dates). It does not distinguish itself from the sibling package_check_bulk, which is the only thing keeping it from a 5.

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?

Explicitly routes one adjacent need: 'For severity, pass the CVE aliases to the cve_triage_bulk tool,' which is a concrete when-to-use-elsewhere instruction with a condition attached. It gives no guidance on when to prefer this single-package call over the bulk sibling.

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.