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?

Annotations already provide readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. The description adds substantial behavioral context beyond these: partial failures degrade gracefully, bundlephobia's first measurement can take 5-30s, and sources_failed will list timeouts while other data still returns. This describes failure modes and latency, which annotations do not cover.

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 longer than ideal, but it packs in necessary details: the composite nature, what each source provides, return fields, ecosystem scope, and failure behavior. It front-loads the primary purpose in the first sentence and then organizes supporting details. Every sentence contributes, though the density might challenge skimming. Overall, it earns its length for a complex 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?

Despite having no output schema, the description explicitly lists the return fields: summary block keys, per-advisory detail, links, and recent alternative versions. It also covers edge cases like timeouts and graceful degradation. For a composite tool with two external dependencies, this is thoroughly complete and leaves little guesswork for the agent.

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 description coverage is 100%, so the baseline is 3. The description does not add significant semantics beyond the schema: it reiterates that package is an npm package name and version defaults to latest, which the schema already states. The only minor addition is implying both parameters are used in the composite check, but this is not essential. The description carries minimal extra meaning for parameters.

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 starts with a specific verb+resource: 'Composite "should I add this npm package to my project" check in ONE call'. It clearly identifies the tool as a composite check that fans out across deps.dev and bundlephobia, and distinguishes itself by scoping to the NPM ecosystem while noting that other ecosystems belong to deps.dev:version directly. This is unambiguous and differentiates it from sibling 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?

The description explicitly states when to use: 'Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me".' It also provides an alternative path for non-NPM ecosystems, guiding the agent away from this tool for PyPI/Maven/Cargo/Go. This is clear usage guidance with 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 clusters overlap: the three random-activity tools are near-variants of the same action, ask_pipeworx_beta is currently identical to ask_pipeworx, and discover_tools/suggest_questions both serve capability discovery. The detailed descriptions help agents choose correctly, but the boundaries are not always crisp.

Naming Consistency3/5

All names are snake_case, but conventions are mixed: verb_noun (resolve_entity, discover_tools), bare verbs (remember, subscribe), adjective_noun (recent_alerts, deep_research), and noun compounds (polymarket_edge_tracker, entity_profile). Clusters are internally consistent, but there is no single pattern across the set.

Tool Count2/5

At 34 tools, this exceeds the 25+ threshold and feels bloated. The random-activity trio and the ask_pipeworx stable/beta/grounded trio add redundancy, and several meta-tools could be consolidated. The broad domain scope justifies some of the size, but not all of it.

Completeness3/5

The data query, memory, and Polymarket research surfaces are well covered, but the subscription lifecycle is incomplete: list_subscriptions invites cancellation yet there is no cancel/unsubscribe tool, creating a dead end. Other areas have minor workarounds but no other show-stopping gaps.