Skip to main content
Glama

pkg-oracle — Dependency Trust Oracle

Server Details

Blocks typosquatted or hallucinated npm/PyPI packages before an AI agent installs them.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over 36 days
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

A4.5/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of misselection or overlapping purpose. Its scope (verify a package's existence, CVEs, scorecard, and typosquat risk) is clearly stated and self-contained.

Naming Consistency5/5

verify_package follows a clean verb_noun snake_case convention. With a single tool there is no mixed convention to create inconsistency, and the name matches the described action exactly.

Tool Count4/5

A single-tool surface is defensible for a narrowly scoped trust oracle that performs one composite check, but it sits below the typical 3-15 sweet spot and offers no alternate entry points. Nothing is redundant, so the count is lean rather than incoherent.

Completeness3/5

The core check (existence, OSV CVEs, OpenSSF Scorecard, typosquat detection) is thorough for one package, but obvious adjacent operations are missing: batch/manifest-wide verification, re-verification or cache status within a session, and any way to inspect the trust database the tool consults. Agents verifying a full dependency file must loop one call per package, which is a notable gap.

Available Tools

1 tool
verify_packageVerify PackageAInspect

Dependency Trust Oracle. Call this BEFORE writing any package into a manifest (package.json, requirements.txt, pyproject.toml, Cargo.toml, ...). It checks whether the package actually exists on its registry, cross-references OSV.dev for known CVEs, pulls the package's OpenSSF Scorecard via deps.dev, and runs a Levenshtein-distance typosquat/slopsquat check against a curated list of popular packages combined with the package's publish age. Returns a synthetic verdict: ALLOW (no issues found), WARN (proceed with caution — read the findings before installing), or BLOCK (do not install — likely a hallucinated package name, an active typosquat, or a known critical/high-severity vulnerability). Always call this before running an install command for a package you have not already verified in this session. First 5 calls per caller are free; after that this tool requires x402 payment (USDC on Base) and will return a payment-required error with the amount and address to pay.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesExact package name as it would appear in the manifest (case-sensitive for npm scoped packages).
versionNoOptional exact version string to verify (e.g. "4.17.21"). Omit to check only the package name.
ecosystemYesPackage registry to check the name against.

TDQS

A4.6/5.0
Behavior5/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 so: it discloses the verdict semantics (ALLOW/WARN/BLOCK with what each means), that BLOCK implies hallucinated names, typosquats, or critical/high CVEs, and the payment behavior (first 5 calls free, then x402 USDC on Base with a payment-required error). These are exactly the operational facts an agent needs and none of them are derivable from structured fields.

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?

It is a dense paragraph rather than a terse one, but it is front-loaded with the core purpose and every subsequent clause adds operationally useful information (checks performed, verdicts, payment). The verdict and payment sentences are long, but none is filler, so it falls just short of maximally tight.

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?

For a tool with no annotations and no output schema, the description supplies everything needed to invoke and interpret it: the inputs' intent, the full set of internal checks, the possible return verdicts, and the error/payment behavior. Nothing an agent needs to call this correctly is missing.

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 documents name, version, and ecosystem in detail (including case-sensitivity for npm scoped packages and version-string format). The description mentions manifest file types but does not add syntax or format meaning beyond the schema, so the baseline of 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 names a specific operation (verifying a package before it is written into a manifest) and enumerates the concrete checks performed: registry existence, OSV.dev CVE lookup, OpenSSF Scorecard via deps.dev, and a Levenshtein typosquat/slopsquat check. An agent understands exactly what this tool does without opening the schema, and it is unambiguous about the resource (a package in a given ecosystem).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit timing and exclusionary guidance: 'Call this BEFORE writing any package into a manifest' and 'Always call this before running an install command for a package you have not already verified in this session.' The condition for reuse (already verified in-session) is stated, so an agent knows when not to call it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool update
    • Changedverify_package1 field changed
      • changedInput schema / properties / ecosystem / enum
        Previous value: -[
        -  "npm",
        -  "pypi"
        -]New value: +[
        +  "npm",
        +  "pypi",
        +  "crates.io"
        +]
  2. 1 tool update
    • First observedverify_package

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Verifies npm package names for safety, detecting typosquats and nonexistent packages before your coding agent installs them.
    2
    8 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Validates and checks packages across 19 ecosystems to prevent AI agents from installing hallucinated, deprecated, or malicious packages.
    40 npm
    AGPL 3.0
  • A
    license
    B
    quality
    A
    maintenance
    Pre-install gate for AI coding agents. Checks npm, PyPI and crates.io package names before an install runs and blocks names that do not exist, were registered after models invented them, or sit one keystroke from a popular package. CLI, GitHub Action and MCP server. Apache 2.0.
    1
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI coding agents to automatically verify npm packages against the live registry before installation, flagging hallucinated, slopsquatted, or otherwise suspicious packages with risk verdicts.
    1 npm
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources