Skip to main content
Glama

dev_typosquat_check

Read-only

Package typosquat and lookalike check (npm, crates) — Live supply-chain check before installing a package: is this name a typo or lookalike of a far more popular package? Probes up to ~120 typo variants of the name (missing/extra/swapped letters, separators, common suffixes) through npm bulk download counts plus registry search, and compares weekly downloads. verdict = OK, REVIEW (little-used package with install scripts), SUSPICIOUS, LIKELY_TYPOSQUAT, REMOVED_MALICIOUS (npm security holding placeholder), NOT_FOUND or NOT_FOUND_DID_YOU_MEAN, with reasons, the suggested intended package, the target's downloads/install scripts/repository and up to 10 lookalikes. Optional ecosystem= npm (default) or crates. Price: $0.004 USDC (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": {
      "package": "<package>"
    },
    "name": "dev_typosquat_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYescrossenv

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, non-destructive), it discloses the probe mechanism (~120 typo variants), the data sources (npm bulk download counts plus registry search), the full verdict taxonomy, the returned fields, and even the price ($0.004 USDC via x402). That is unusually complete behavioral context for a read-only tool.

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?

Purpose and the 'before installing' trigger are front-loaded, and the verdict list and return fields are packed efficiently. The single long paragraph is dense and slightly run-on, but virtually every clause carries information an agent needs.

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?

With no output schema, the description compensates by enumerating verdict values, the reasons/suggested package/downloads/install-scripts/repository/lookalikes it returns, and the cost. For a one-parameter read-only check, nothing material is missing.

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?

The description clarifies that the input is a package name to be checked and that ecosystem may be 'npm (default) or crates', which the schema does not convey (its only parameter description is the bare example 'crossenv'). However, the schema lists no 'ecosystem' property at all, so the description references an argument the agent cannot actually pass — a minor mismatch rather than a gain.

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 opens with a specific verb and resource ('Package typosquat and lookalike check') and immediately narrows the scope to npm and crates. It is clearly distinguishable from siblings like dev_npm, dev_package, or dev_vulns because it targets name-similarity rather than general metadata or CVEs.

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?

It states the trigger explicitly: 'Live supply-chain check before installing a package.' That tells the agent when to reach for it. It does not name a sibling alternative or state when not to use it, which keeps it below a 5.

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