Skip to main content
Glama

ScorpTech x402 Tools

Package Risk

package_risk
Read-onlyIdempotent

npm or PyPI package risk/typosquat check: registry metadata, weekly downloads (npm), deprecation, license/repo presence, edit-distance to popular packages, and whether close-name variants already exist. Heuristic — not a malware scanner. Returns JSON with: ecosystem, package, riskScore, risk, typosquatOfPopular. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/package-risk

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_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name
ecosystemYesnpm or pypi

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the bar is lower; the description still adds real value by disclosing the heuristic (non-malware) limits, the exact response fields, the $0.01 USDC per-successful-call payment model over x402 (Base or Solana), and an equivalent HTTPS endpoint. It does not state rate limits or failure/charge behavior on non-2xx responses, which keeps it from a 5.

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?

Two dense, front-loaded sentences: capability and signals first, limits and return shape second, then pricing and endpoint. Nearly every clause carries information, though the endpoint/pricing tail could be split or trimmed for readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 helpfully enumerates the returned fields (ecosystem, package, riskScore, risk, typosquatOfPopular), which covers the return contract. It nonetheless omits how riskScore/risk bands should be interpreted and what happens on unknown packages or payment failure, leaving gaps for a paid, heuristic tool.

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 both parameters (name, ecosystem) are already documented and the baseline is 3. The description adds slight meaning by noting weekly downloads are npm-only, but it does not specify accepted ecosystem casing or name normalization rules.

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 ('npm or PyPI package risk/typosquat check') and enumerates exactly what signals are evaluated: registry metadata, weekly downloads, deprecation, license/repo presence, edit distance to popular names, and existing close-name variants. This is far more specific than the title and clearly separates it from token- or wallet-oriented siblings.

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?

The domain ('npm or PyPI') and the negative scope ('Heuristic — not a malware scanner') imply when it applies, so an agent can infer usage. However, it never names an alternative for token/contract risk (e.g. sol_token_risk) or states when to skip this check, leaving routing to inference.

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