Skip to main content
Glama

Package Install Preflight

package_install_preflight

npm or PyPI install preflight: blocks missing packages, detects near-name typosquats when an expected name is supplied, and checks OSV advisories. ($0.003 USDC on Base)

Input Schema

NameRequiredDescriptionDefault
nameYes
versionNo
ecosystemYes
expectedNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose meaningful behavior: it can block installs (missing packages), perform typosquat detection, and consult OSV advisories, plus the payment requirement ($0.003 USDC on Base). It omits the return/verdict format and any rate-limit or permission notes, but for a read-only preflight the coverage is solid.

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 front-loaded sentence that lists the three checks first and appends cost last. Every clause earns its place with no redundancy.

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 and no annotations, the description should describe what a call returns, but it never explains the pass/fail verdict structure or how advisories are reported. It is adequate on capability and cost but incomplete on result interpretation for a validation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain all four parameters. It clarifies expectedName's role (typosquat detection) and ecosystem (npm or PyPI), but never mentions 'version' and never explains the name vs. expectedName distinction, leaving the core inputs ambiguous.

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 states a specific verb+resource ('npm or PyPI install preflight') and enumerates three concrete checks: blocks missing packages, detects typosquats, checks OSV advisories. It is clearly distinct from its siblings, though it never names or differentiates against any of them, which keeps it at 4 rather than 5.

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 implied by the 'preflight' framing (run before installing) and by the conditional 'when an expected name is supplied'. However, there is no explicit when-to-use/when-not statement and no alternative tool named, so guidance is only broad-strokes.

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