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. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond annotations (readOnly, idempotent, openWorld), the description adds critical behavioral details: the tool fans out across two external services, bundlephobia's first measurement can take 5-30s, and partial failures are handled gracefully with a sources_failed list. No contradictions with annotations.

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 but well-organized: starts with the core purpose, then usage, then return structure, then limitations. Every sentence contributes information. Slightly verbose due to parenthetical examples and ecosystem notes, but still efficient for the information density.

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?

For a composite tool with no output schema, the description thoroughly covers what is returned (summary block, per-advisory detail, links, alternative versions), ecosystem restrictions, and failure modes. It leaves no obvious gaps for an agent to invoke or interpret the result.

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 100%, so the description does not need to add meaning for parameters. It echoes the schema's info about defaults and mentions scoped packages, but this adds minimal value beyond what is already in the schema. Baseline score of 3 is appropriate.

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 clearly states the tool's composite function: a single call to check npm package advisories, license, version history, and bundle size. It explicitly distinguishes from sibling tools that may cover other ecosystems or different scanning purposes, and names the external services used (deps.dev, bundlephobia).

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?

Provides explicit when-to-use examples ('is X safe / popular / small') and when-not-to-use (other ecosystems like PyPI, Maven, Cargo, Go, which fall under deps.dev:version directly). Also notes graceful degradation and potential delays, guiding the agent on expectation.

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.8/5.0
Disambiguation2/5

Several near-overlapping query tools exist: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all route to the same underlying catalog, and ask_pipeworx_beta is currently described as identical to ask_pipeworx. The Polymarket tools (bet_research, polymarket_edges, polymarket_arbitrage, polymarket_fill_risk, polymarket_edge_tracker) also heavily overlap and rely on lengthy descriptions to keep them apart.

Naming Consistency3/5

The set is uniformly snake_case and generally readable, but conventions are mixed: verb_noun (resolve_entity, suggest_questions), noun_verb (bet_research, ai_visibility_check), noun_adj (pipeworx_trending, recent_changes), and bare verbs (size, forget, recall) all appear. Variant suffixes like ask_pipeworx_beta and ask_pipeworx_grounded add further unpredictability.

Tool Count2/5

32 tools exceeds the 'too many' threshold and spans unrelated domains: package size, general data research, prediction markets, memory, and subscription management. The set would feel more coherent at roughly half the count, with several query and Polymarket tools consolidated.

Completeness3/5

For the dominant data-research purpose, the surface is reasonably complete: querying, grounded verification, deep research, entity resolution, entity profiles, comparisons, claim validation, and discovery are all covered. However, the server's stated identity ('Packagephobia') is nearly absent—only `size` and `scan_dependency` address package sizing—so the namesake domain is thin while unrelated domains are overbuilt.