Skip to main content
Glama

Package Check Before Install

package_check
Read-only

Check dependencies before your coding agent installs them: up to 20 packages per call (npm, PyPI, crates.io, Go, Maven, NuGet, RubyGems), one decision each: ALLOW, CAUTION or BLOCK with reasons. Catches hallucinated package names that do not exist (slopsquatting), known malware (OSV malicious-package feed, including versions already removed from the registry), typosquats one typo away from a popular package, critical and high vulnerabilities in the exact version with a safe upgrade, deprecated or yanked versions, brand-new packages, npm install scripts and low usage. npm version ranges are resolved like npm does. Pass packages as strings ("express@4.17.1", "pypi:requests==2.31.0", "cargo:serde") or objects, or paste a package.json or requirements.txt as manifest. Sources: deps.dev, OSV.dev, the registries. Price: $0.004 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"packages":["express@4.17.1","reqeusts","pypi:requests==2.31.0","lodahs"]}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
manifestNoContents of a package.json or requirements.txt (alternative to packages)
packagesNoStrings like "express@4.17.1", "pypi:requests==2.31.0", "go:github.com/gin-gonic/gin", "maven:org.apache.logging.log4j:log4j-core:2.14.1", or {name, ecosystem, version}
ecosystemNoDefault for entries without a prefix: npm, pypi, cargo, go, maven, nuget or rubygems. Default npm

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing per-call pricing ($0.004 USDC via x402 across Base/Solana/Polygon/Arbitrum), auto-payment for x402 MCP clients, the 20-package cap, upstream sources (deps.dev, OSV.dev, registries), and exactly which risks are flagged (slopsquatting, malware, typosquats, CVEs, yanked/deprecated versions, install scripts).

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?

Dense but front-loaded: purpose, limits, decision model, and risk coverage come before pricing and the sample. The payment and free-sample sentences are long but load-bearing for an x402 tool, so little is truly wasted.

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?

There is no output schema, and the description still conveys the return shape at a semantic level (one decision per package with reasons) along with input limits and manifest support. The precise field-level response structure is left implicit, which is the only gap.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real value: accepted ecosystem prefixes, worked string examples ("express@4.17.1", "pypi:requests==2.31.0", "cargo:serde"), the ability to paste a package.json or requirements.txt as a manifest, and the note that npm version ranges are resolved like npm.

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?

States a specific verb and resource (check dependencies before install) plus the decision outputs (ALLOW/CAUTION/BLOCK with reasons). No sibling tool performs package/dependency scanning, so the agent can confidently route here without further comparison.

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 frames the trigger: run before a coding agent installs packages, with a concrete free-sample input. It does not name when-not-to-use or a companion alternative such as cve_lookup, so it stops short of full routing guidance.

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