Skip to main content
Glama

Is this package version vulnerable or malicious?

check_package
Read-onlyIdempotent

Check a package version across supported ecosystems against OSV.dev for known vulnerabilities and confirmed-malicious releases, returning severity, CVSS, and fixed versions.

Instructions

Checks one package version (npm, PyPI, Go, crates.io, Packagist, RubyGems, Maven, NuGet, Pub, Hex) against OSV.dev. Paid mode uses https://api.youraitools.co/pkgguard/v1/package ($0.001).

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": {
      "name": "<name>",
      "version": "<version>"
    },
    "name": "check_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
versionYes
ecosystemNodefault npm

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and idempotent, so safety is covered; the description usefully adds that the lookup is backed by OSV.dev and that paid mode exists at $0.001 per call through a specific endpoint. The cost disclosure is genuinely valuable context an agent cannot get from structured fields, though 'paid mode' is never explained (no parameter or mechanism to select it).

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?

Two front-loaded sentences with no filler; the ecosystem list and data source come before the pricing note. The raw endpoint URL is of marginal use to an agent and could be trimmed, but the cost figure earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description never says what comes back — vulnerability identifiers, severity, malicious-package verdict, or otherwise — even though the title references 'vulnerable or malicious'. For a read-only lookup tool with three parameters this is workable, but the return shape and the paid-mode mechanism remain unexplained.

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

Parameters4/5

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

With only 33% schema coverage and no enums, the description compensates by listing the accepted ecosystem identifiers (npm, PyPI, Go, crates.io, Packagist, RubyGems, Maven, NuGet, Pub, Hex), which is meaning the schema does not provide. It also implies name and version must identify a single exact package version, though it does not specify version-range behavior.

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 ('Checks') and a narrow resource ('one package version'), and enumerates the ten supported ecosystems, so the agent knows exactly what is examined against OSV.dev. It implicitly contrasts with the bulk sibling scan_dependencies by emphasizing 'one package version', but never names that sibling explicitly.

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?

The phrase 'one package version' hints that this is the single-package check versus a multi-dependency scan, but the description never states when to prefer it over scan_dependencies or what to do for bulk checks. No exclusions or prerequisites are given, so the routing decision 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.

Deploy Server

Other Tools