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

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds valuable behavioral details beyond annotations, such as the composite nature, potential timeout (5-30s) for bundlephobia's first measurement, and graceful degradation with sources_failed field. This gives agents full awareness of performance and failure modes.

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 relatively long but well-structured: a high-level summary first, then details on data sources, return values, usage conditions, and limitations. Every sentence provides necessary information. It could be slightly more concise, but it avoids redundancy and 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 comprehensively lists return fields (summary block with specific keys, per-advisory detail, links, alternative versions) and explains edge cases (partial failures, timeout). This gives the agent full understanding of what to expect, meeting all contextual needs.

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?

The input schema already has 100% coverage for both parameters. The description adds semantic value by clarifying that scoped packages like '@types/node' are accepted for the 'package' parameter, and explicitly states that 'version' defaults to the latest published version. This goes beyond the schema descriptions and aids correct invocation.

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 deciding whether to add an npm package, covering license, advisories, bundle size, and more. It uses specific verbs like 'fans out across' and lists data sources, distinguishing it from any sibling tools by focusing on npm dependency evaluation.

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 explicitly says when to use: 'whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me"'. It also specifies limitations: 'NPM ecosystem only in v1' and directs to alternative tools for other ecosystems. Partial failure handling is also explained, making usage conditions crystal clear.

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

B3.4/5.0
Disambiguation2/5

The tool set blends two unrelated domains (TMDB and Pipeworx). Among Pipeworx tools, several overlap heavily (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, suggest_questions) with vague boundaries, making it hard for an agent to pick the right one. TMDB tools are distinct but the overall mixture creates confusion about which domain a request belongs to.

Naming Consistency3/5

All tools use snake_case, which is consistent. However, naming styles vary widely: TMDB tools use simple noun or verb-first names (movie, search_movie, discover_tv), while Pipeworx tools use longer descriptive phrases with prefixes (ask_pipeworx, polymarket_arbitrage, entity_profile). The pattern is not predictable across the set.

Tool Count2/5

50 tools is excessive for a server named 'Tmdb'. Only about 18 tools are actually TMDB-related; the remaining 32 belong to the Pipeworx ecosystem. This inflates the count and makes the server feel bloated and unfocused, far beyond a well-scoped TMDB server.

Completeness3/5

The TMDB portion is quite complete (search, discover, details, credits, recommendations, trending, genres, configuration). However, the server's overall scope is muddled—it tries to cover two disjoint domains, so no single domain feels fully fleshed out. There are also some missing TMDB features (e.g., upcoming/now playing) that would require extra discovery. The Pipeworx tools cover data broadly but overlap in coverage.