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.

TDQS

A4.6/5.0
Behavior5/5

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

The description adds significant behavioral context beyond the annotations: it is a composite fan-out call, partial failures degrade gracefully, bundlephobia's first measurement can take 5-30s, and sources_failed lists timeouts. These details are not available in the annotations and are valuable for the agent to set expectations correctly.

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 moderately long but every sentence serves a distinct purpose: purpose identification, usage scenarios, return fields, ecosystem limitation, and failure behavior. It is front-loaded with the most important information and remains well-structured, though it could be slightly streamlined without losing clarity.

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?

With no output schema, the description properly enumerates the summary block fields, per-advisory detail, links, and alternative versions. It also covers edge cases like non-NPM ecosystems and timeouts, ensuring the agent has a complete picture of what to expect and how to handle partial failures. This is comprehensive for the tool's complexity.

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?

The input schema already provides 100% coverage for both parameters, including scoped package acceptance and version defaulting. The description reinforces this by mentioning 'npm package' and 'version' but does not add new semantic detail beyond what the schema already offers, so the 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 purpose as a composite 'should I add this npm package' check that fans out across deps.dev and bundlephobia. It uses specific verbs like 'scan' and 'check' and enumerates concrete outputs (license, advisories, bundle size, ESM support), making it easily distinguishable from sibling research tools.

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?

It explicitly states when to use the tool ('is X safe / popular / small' or 'what does adding lodash cost me') and provides an exclusion for non-NPM ecosystems, directing users to deps.dev:version directly. This clear when-to-use and when-not-to-use guidance goes beyond typical descriptions.

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

Several tool clusters overlap heavily: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all route natural-language questions to the same underlying catalog, and polymarket_arbitrage, polymarket_edges, polymarket_edge_tracker, polymarket_fill_risk, and polymarket_kalshi_spread all target prediction-market opportunities. entity_profile, recent_changes, and compare_entities also share company-research territory, making misselection likely without reading long descriptions carefully.

Naming Consistency3/5

All names use snake_case, but conventions are mixed: some are verb_noun (list_subscriptions, generate_llms_txt, resolve_entity), some are noun phrases (entity_profile, rba_cash_rate), and some are brand-prefixed product names (ask_pipeworx, pipeworx_trending). The polymarket_* and rba_* families are internally consistent, but the overall surface has no single predictable pattern.

Tool Count2/5

35 tools is a large surface, well above the 25+ threshold that typically becomes unwieldy. While the server covers a broad domain (data lookup, prediction markets, memory, subscriptions, company research), many tools are niche variants (ask_pipeworx_beta, polymarket_edge_tracker, scan_competitor_ai_presence) that add cognitive load rather than earning their place.

Completeness3/5

Core flows are well covered: memory has remember/recall/forget, subscriptions have subscribe/list/unsubscribe/recent_alerts, and data access has ask_pipeworx plus grounded and research variants. However, the surface is sprawly and uneven — prediction markets get six tools while other domain areas rely on generic routing, and the server's overall purpose is diffuse enough that gaps are hard to assess cleanly.