Skip to main content
Glama

preflight_check_deps

Verify PyPI and npm dependencies in a directory to catch slopsquatted or brand-new typosquat packages before they enter your project.

Instructions

Verify PyPI and npm dependencies in a directory to catch slopsquatted or brand-new typosquat packages.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "preflight_check_deps"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses very little beyond intent. It does not say whether the check hits live PyPI/npm registries (network and auth implications), what "brand-new" means as a threshold, whether it is purely read-only, or what the result looks like — and there is no output schema to fall back on.

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?

One dense, front-loaded sentence with no filler — the action, scope, and motivation all land immediately. It is not padded, though the same word count could have been spent on operationally useful detail instead of the marketing-flavored "slopsquatted".

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

Completeness2/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, no output schema, and an undocumented parameter, the description should cover what it reads, whether it needs network access, and what it reports back. None of that is present, leaving the agent able to guess the purpose but not the cost or the result of calling it.

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 0% for the single parameter, so the description must compensate, and it only partially does: "in a directory" clarifies that `path` is a directory rather than a file, which is meaningful. It never states that the value defaults to the current working directory or what the directory must contain (package.json, requirements.txt).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ("Verify") plus the resource (PyPI and npm dependencies in a directory) and the failure mode it targets (slopsquatted/brand-new typosquat packages). That distinguishes it in spirit from the sibling scanners (path/text/redact), though it never names an alternative explicitly.

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?

Usage is only implied: "in a directory" hints that you point it at a project root rather than a single file, which is the natural contrast with preflight_scan_path and preflight_scan_text. There is no explicit when-to-use statement, no prerequisite (e.g. manifest files must exist), and no statement of when a different preflight tool is the better choice.

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