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

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses rich behavioral details: it fans out across two services, returns a specific summary block, and handles partial failures gracefully with a noted 5-30s latency for first bundlephobia measurement. It also mentions that sources_failed will list any timeout, ensuring the agent knows what to expect.

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 dense but well-structured: it starts with the core purpose, then gives use-case triggers, enumerates the exact return fields, states the ecosystem constraint, and ends with error/failure handling. Every sentence earns its place without redundancy or fluff.

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 compensates by explicitly listing all returned fields in the summary block, plus per-advisory details, links, and alternative versions. It also covers edge cases like partial failures and timeout behavior. This is a complete picture for an agent to use the tool correctly.

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 fully documents both parameters with 100% coverage, including scoped package support and version defaulting. The description adds minimal extra parameter semantics, mostly reiterating what the schema says. The baseline of 3 applies because schema does the heavy lifting; the description doesn't need to compensate.

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: a composite check for 'should I add this npm package' combining deps.dev and bundlephobia. It explicitly mentions the specific verb ('check'), resource ('npm package'), and lists the outputs (summary block, advisories, links, alternatives). It distinguishes itself from siblings by focusing on dependency risk/cost analysis.

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?

The description gives explicit when-to-use guidance: whenever an agent asks 'is X safe / popular / small' or 'what does adding lodash cost me'. It also states the NPM-only limitation and directs users to deps.dev:version directly for PyPI/Maven/Cargo/Go packages. This clearly delineates usage vs alternatives.

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

Several tools have overlapping purposes: the four ask_pipeworx variants all route to the same 5,581 tools (ask_pipeworx_beta is currently identical to stable), and the six polymarket_* tools have subtle boundaries between research, edges, and arbitrage that could cause misselection. That said, the descriptions are unusually detailed, and non-overlapping clusters (CSO table tools, memory tools, subscription tools) are clearly distinct.

Naming Consistency3/5

All names are snake_case and mostly verb-first (get_dataset, resolve_entity, validate_claim), but conventions are inconsistent: polymarket_* and pipeworx_* are brand/noun-first while bet_research and ask_pipeworx put the verb first for the same domains, and some tools are pure nouns (entity_profile, recent_alerts). The pattern is readable but far from predictable.

Tool Count2/5

At 35 tools the server is well past the 25+ 'too many' threshold for a single MCP. Several tools don't earn their place: ask_pipeworx_beta is functionally identical to ask_pipeworx right now, and the six polymarket tools plus four ask_pipeworx variants represent heavy redundancy for what are essentially two sub-domains.

Completeness4/5

The data-access core is covered end to end: discovery (discover_tools, list_datasets, suggest_questions), structured reads (ask_pipeworx, get_dataset, query_dataset), grounded verification (validate_claim, ask_pipeworx_grounded), comparison (compare_entities), change tracking (recent_changes), plus memory and subscription CRUD. Minor gaps: subscriptions can't be edited (only recreated) and unrelated utilities (generate_llms_txt, scan_dependency) dilute the focus rather than fill a real gap.