Skip to main content
Glama

package_check

Is this package version safe to install? npm, PyPI, Go, Cargo, Maven, NuGet or RubyGems: known vulnerabilities and malicious-package reports (OSV) with CVE ids, severity and the fixing version, the version to upgrade to, latest version, deprecation, licenses, the repo's OpenSSF Scorecard, and an ok/upgrade/avoid verdict with reasons. Version defaults to the latest. Data: deps.dev and OSV.dev (CC-BY 4.0). Costs $0.003 USDC on Base via x402.

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 (lodash, requests, github.com/gin-gonic/gin, org.slf4j:slf4j-api)
versionNoVersion to check (default: the latest)
ecosystemYesPackage registry

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the data sources (deps.dev, OSV.dev), the license of the data (CC-BY 4.0), the verdict taxonomy, and critically the paid model ($0.003 USDC on Base via x402) — a cost the agent must know before invoking. It omits failure modes and rate limits, but the payment disclosure is the high-value item and it is present.

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?

Front-loads the decision question, then packs ecosystems, return payload, default behavior, attribution, and pricing into a compact block with no filler sentences. The single long middle sentence is dense but every clause names a real returned field rather than padding.

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, so the description must enumerate return values — and it does so exhaustively (vulnerabilities with CVE ids and severity, fixing/upgrade/latest versions, deprecation, licenses, Scorecard, verdict with reasons). Combined with the cost disclosure and source attribution, an agent has enough to decide and call correctly.

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 name, version, and the ecosystem enum are already fully documented, and the enum in the schema matches the ecosystem list in the prose. The description's "Version defaults to the latest" merely restates the schema's own default note, adding no syntax or format detail beyond structured fields.

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?

Opens with a specific question the tool answers ("Is this package version safe to install?") and names the exact resources it returns: vulnerabilities, CVE ids, severity, fixing version, deprecation, licenses, OpenSSF Scorecard, and an ok/upgrade/avoid verdict. It also enumerates all supported registries. The only gap is that it does not distinguish itself from the sibling `packages_check`, whose name suggests overlapping behavior.

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 opening question — check a package before installing — and the default-version behavior is stated. However, there is no explicit when-not guidance, no prerequisites, and no routing away from the similarly named `packages_check` sibling, leaving the agent to guess which of the two to call.

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