Skip to main content
Glama

lumoz_check_package_trust

AI agent supply-chain & anti-slopsquatting guard. Call BEFORE running npm install, pip install, or composer require to verify a package is real and safe: checks registry existence (catches hallucinated names), typosquatting/slopsquatting similarity against popular packages, package age, weekly downloads, suspicious preinstall/postinstall scripts, and OSV malware advisories (MAL-*).

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>",
      "package": "<package>"
    },
    "name": "lumoz_check_package_trust"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYesPackage name to verify before installing (e.g. "axios", "axois", "laravel/framework", "requests").
versionNoOptional specific version to inspect (defaults to latest).
ecosystemYesPackage registry: npm, pip (PyPI), or composer (Packagist).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the full battery of checks and names a specific advisory source (OSV MAL-*) so the agent understands what evidence backs a verdict. It stops short of saying whether the result is a pass/fail verdict, a risk score, or raw signal dump, and doesn't mention network latency or rate limits.

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?

A single sentence with the action trigger front-loaded and the check list following as supporting detail. No filler, no repetition of the tool name, and the colon-delimited list is easy to scan.

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 three-parameter, annotation-free tool with no output schema, the description covers purpose, timing, and the nature of the checks. The remaining gap is what the caller actually receives (verdict shape, severity, remediation hints), which matters because no output schema documents return values.

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 coverage is 100% and already documents all three parameters with examples, so the schema does the heavy lifting. The description only implicitly maps npm/pip/composer to the ecosystem field and says nothing about the optional version parameter, so it adds little beyond structured data — baseline 3.

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 states a specific verb and resource — verify a package is real and safe before install — and enumerates the concrete signals it checks (registry existence, typosquat similarity, age, downloads, install scripts, OSV MAL-* advisories). This is unmistakably distinct from every listed sibling, none of which deal with package registries.

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 an explicit, imperative trigger: "Call BEFORE running npm install, pip install, or composer require." The agent knows exactly the moment to invoke it, and there is no sibling tool competing for that moment, so no alternative routing is needed.

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