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?

Discloses important behaviors beyond annotations: partial failures degrade gracefully, bundlephobia first measurement can take 5-30s, and sources_failed will list timeouts. This is valuable context for the agent. Annotations already indicate readOnly and idempotent, but description adds timing and failure mode details.

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 longer than typical but every sentence adds substantive information. It is front-loaded with purpose and usage, but could be slightly more structured. Still, it earns its length.

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 having no output schema, the description explains the return structure in detail (summary block fields, per-advisory detail, links, alternative versions). This is complete and well-suited for an agent to understand the tool's output.

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 the schema already documents parameters. The description adds value by mentioning scoped packages are accepted and version defaults to latest, but this is marginal. Baseline 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 what the tool does: a composite check for evaluating npm packages, combining deps.dev and bundlephobia data. It uses a specific verb (scan) and resource (dependency) and distinguishes from siblings by being a one-call composite that covers multiple aspects.

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 the tool: when an agent asks about safety, popularity, or size of an npm package. It also provides an alternative for other ecosystems (PyPI/Maven/Cargo/Go fall under deps.dev directly), guiding the agent on tool selection.

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
Disambiguation2/5

The ask_pipeworx family—ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded—plus deep_research all describe the same router under slightly different modes, and the six polymarket tools overlap heavily around edge detection and arbitrage. ai_visibility_check and scan_competitor_ai_presence are also near-duplicates, so agents will frequently have to choose between tools that appear to do the same thing.

Naming Consistency3/5

All names use snake_case and several families share prefixes (ask_pipeworx, polymarket_, pipeworx_, destatis_), which helps discoverability. However the pattern is not consistent: bare verbs (remember, recall, forget), adjective_noun phrases (recent_alerts, recent_changes), and noun_noun names (entity_profile, bet_research) are all mixed.

Tool Count2/5

With 33 tools, the surface is well past the 25+ threshold and mixes unrelated concerns: Destatis statistics, a general data router, prediction-market analytics, memory, and AI-marketing scans. The count could be justified if split into separate servers, but as one set it feels over-stuffed.

Completeness4/5

For the broad data-retrieval/research purpose the descriptions reveal, coverage is strong: lookup, grounded answers, validation, entity resolution, comparison, change feeds, subscriptions, memory, and Destatis search/table are all present. The only notable weakness is that the Destatis-specific surface is just search-and-fetch, which is thin for a server literally named Destatis, but this is offset by the general router.