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

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

Beyond the annotations (readOnly, openWorld, idempotent), the description discloses rich behavioral details: fan-out across external APIs, exact return fields, partial failure degradation, and a 5-30s latency for bundlephobia's first measurement with 'sources_failed' listing timeouts. This fully prepares the agent for realistic behavior and edge cases.

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 a dense paragraph but every sentence contributes: purpose, use cases, return summary, ecosystem limitation, and failure modes. It could be slightly more structured (e.g., bullet points), but it remains readable and front-loaded with the key purpose. Appropriate for a composite tool.

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?

Given the tool's complexity (external API fan-out, no output schema), the description is remarkably complete. It lists the exact summary fields, behavior on partial failures, latency expectations, and alternative routing for non-npm ecosystems. An agent has enough context to invoke it correctly and interpret results confidently.

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 baseline is 3. The description adds some context around the 'version' parameter (defaults to latest, returns alternatives) and clarifies the package scope, but most parameter semantics are already captured in the schema's field descriptions. No significant addition beyond what's structured.

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 opens with a specific verb+resource: 'Composite "should I add this npm package to my project" check in ONE call'. It clearly distinguishes itself from siblings by naming the exact external sources (deps.dev, bundlephobia) and the scope (npm ecosystem only). This leaves no ambiguity about the tool's function.

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?

Explicit guidance is given: 'Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me"'. It also states exclusions: 'NPM ecosystem only in v1; PyPI / Maven / Cargo / Go fall under deps.dev:version directly', correctly directing non-npm queries to an alternative.

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

Most tools have distinct, well-described purposes, but clusters like ask_pipeworx/ask_pipeworx_beta/ask_pipeworx_grounded and the five polymarket_* tools have overlapping scopes that could cause misselection. The beta currently behaves identically to the stable router, and `recent` vs `recent_changes` vs `recent_alerts` are confusingly similar names for different domains.

Naming Consistency2/5

All names use lowercase underscores, but there is no consistent verb_noun pattern: some are verbs (ask, compare, generate), some are nouns (entity_profile, recent, user), and some are adjectives (deep_research). There are coherent subfamilies (subscribe/unsubscribe/list_subscriptions, remember/recall/forget), but the overall naming is a mix of conventions.

Tool Count2/5

33 tools is well above the 25+ threshold, making the surface heavy and hard to navigate. Many are highly specialized meta-tools (e.g., five Polymarket analyzers) that could be consolidated.

Completeness2/5

For a server named 'Codestats', only `recent` and `user` address coding stats, leaving major gaps in what that name implies. The broader data/research/betting capabilities are fairly rich, but the server's stated identity is under-served and there's no clear lifecycle coverage for any single domain.