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.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructiveHint. The description adds behavioral details beyond those: partial failure degradation, bundlephobia's first measurement taking 5-30s, sources_failed indicating timeouts while other data still returns. It also discloses the return summary block fields, making behavior predictable without contradicting annotations.

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?

The description is well-structured: starts with the core purpose, then usage triggers, return format, ecosystem scope, and failure behavior. Though it's longer than a simple tool description, each sentence adds distinct value and the format is front-loaded. No filler or redundancy.

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 enumerates the exact summary fields (is_latest, license, published_at, advisory_count, bundle_kb_min, bundle_kb_gz, dependency_count, has_esm, tree_shakeable) plus per-advisory detail and alternative versions. It covers edge cases like timeouts and partial failures, and specifies the ecosystem limitation. For a composite tool with two external sources, this is remarkably complete.

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 coverage is 100%, so both 'package' and 'version' are already documented. The description adds meaning by stating the 'package' param expects npm package names and mentions scoped packages are accepted. It also clarifies version defaults to latest when omitted, echoing the schema but reinforcing the semantic. Since the baseline for high schema coverage is 3, the added param context raises it to 4.

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 a specific composite action: 'should I add this npm package to my project' check, listing the two data sources and what each contributes. It distinguishes itself from siblings like validate_claim and scan_competitor_ai_presence by explicitly scoping to npm dependency evaluation with license/advisory/version/bundle information.

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 trigger phrases: 'is X safe / popular / small' or 'what does adding lodash cost me'. Also gives an exclusion: 'NPM ecosystem only in v1; PyPI / Maven / Cargo / Go fall under deps.dev:version directly', steering users to an alternative path. This is strong when-to-use and when-not-to-use guidance.

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

The ask_pipeworx family (ask_pipeworx / ask_pipeworx_beta / ask_pipeworx_grounded / deep_research) has significant boundary blurring—ask_pipeworx_beta explicitly 'currently matches ask_pipeworx exactly'—and the six prediction-market tools (bet_research, polymarket_arbitrage, polymarket_edges, polymarket_edge_tracker, polymarket_fill_risk, polymarket_kalshi_spread) have heavily overlapping edge-detection purposes. Only the archive, memory, and subscription families are cleanly delineated.

Naming Consistency3/5

There are consistent family prefixes (ask_*, polymarket_*, pipeworx_*) and clean pluralized lists (list_files, list_subscriptions), but the full set mixes bare verbs (remember, recall, forget, search), nouns (entity_profile), and varying patterns (bet_research vs compare_entities, search vs search_within vs recent_changes). Readable in clusters, but no single naming convention binds the set.

Tool Count2/5

35 tools is heavy, and the count is fattened by five distinct product areas—data routing, prediction markets, archive.org access, memory, and subscriptions—that have little to do with each other or with the server name 'archive'. It sits in the 25+ heavy zone even before honoring the mismatch between its name and the sprawl of its purpose.

Completeness3/5

Individual subdomains are well-covered: the memory trio (remember/recall/forget), subscription lifecycle (subscribe/unsubscribe/list_subscriptions/recent_alerts), and archive lineup (search/get_metadata/list_files/wayback_check) are each complete, and extra machinery like pipeworx_feedback and recent_changes shows domain care. But the unifying domain is incoherent—a server named 'archive' that's also a universal data router and prediction-market toolkit—and the scope ends up both bloated and still full of gaps for any one of the intended users (e.g. no archive-item upload, no prediction-market portfolio management).