Skip to main content
Glama

Scan Dependency

scan_dependency
Read-onlyIdempotent

Composite "should I add this npm package to my project" check in ONE call — fans out across deps.dev (license + advisories + version history) and bundlephobia (gzipped/minified bundle size, dependency count, ESM/tree-shake support). Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me". Returns a summary block (is_latest, license, published_at, advisory_count, bundle_kb_min, bundle_kb_gz, dependency_count, has_esm, tree_shakeable), per-advisory detail, links, and a list of recent alternative versions. NPM ecosystem only in v1; PyPI / Maven / Cargo / Go fall under deps.dev:version directly. Partial failures degrade gracefully — bundlephobia's first measurement on a new version can take 5-30s; sources_failed will list it if it times out, the rest still returns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYesnpm package name. Scoped packages (e.g. "@types/node") are accepted.
versionNoSpecific version to check (e.g., "18.3.1"). Defaults to the latest published version when omitted.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already indicate readOnly, idempotent, not destructive. The description adds significant behavioral details: partial failure handling, bundlephobia timeout (5-30s), and graceful degradation with sources_failed.

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?

The description is dense and well-structured. The first sentence summarizes the tool's purpose. However, some parts (e.g., listing output fields) could be slightly more concise. Still efficient overall.

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?

Despite no output schema, the description fully explains the return structure (summary, per-advisory, links, alternative versions) and behavior on failure. Adequate for a tool with 2 parameters and no nested objects.

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?

Schema describes both parameters with 100% coverage. The description adds that version defaults to latest when omitted, providing minor extra context beyond schema.

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?

Description clearly states the tool performs a composite check for adding npm packages, combining deps.dev and bundlephobia. It distinguishes itself from siblings by specifying the exact use case and scope.

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?

Explicitly states when to use: when an agent asks about safety, popularity, size, or cost of an npm package. Also notes limitations (NPM only in v1) and alternatives for other ecosystems.

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.

TDQS

A3.9/5.0
Disambiguation4/5

The tools are generally distinct, with clear purposes for NPI registry operations, but some overlap exists between ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded, which all route to the same underlying data but with different response modes. Additionally, bet_research and polymarket_edges both offer analysis of prediction markets, causing potential confusion.

Naming Consistency3/5

The naming is mixed: some tools follow a consistent verb_noun pattern (e.g., search, remember, forget), while others use descriptive but non-pattern names like ai_visibility_check or ask_pipeworx_grounded. There is also a mix of snake_case and camelCase (e.g., generate_llms_txt vs. ai_visibility_check).

Tool Count4/5

With 33 tools, the count is slightly high but still reasonable given the broad scope of the server, which covers NPI registry, company profiles, prediction markets, AI visibility, and more. Each tool serves a distinct purpose, though a few could potentially be consolidated.

Completeness3/5

The tool surface covers the NPI registry core (search, get by NPI) but lacks obvious CRUD operations like create, update, or delete for providers. For other domains like company profiles, it has good coverage, but the NPI-specific functionality feels incomplete without lifecycle management.