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?

The description discloses important behavioral traits beyond the annotations: composite nature, graceful degradation on partial failures, potential 5-30s latency for bundlephobia's first measurement, and the sources_failed field to indicate timeouts. It also lists the exact return fields, giving the agent a clear picture of 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph but each sentence earns its place: purpose, use cases, return fields, ecosystem limitations, and failure behavior. It is front-loaded with the core purpose. Slightly long but justified given the tool's complexity.

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?

Without an output schema, the description takes on the burden of explaining return values (summary block fields, per-advisory detail, links, alternatives). It also covers ecosystem scope, partial failures, and latency. The description is comprehensive for an agent to decide to use the tool and interpret results.

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: 'package' is described as an npm package name and 'version' as a specific version with a default. The description adds little beyond that—it mentions the package in the context of npm but does not introduce new semantic meaning for the parameters themselves.

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 'should I add this npm package to my project' check that fans out to deps.dev and bundlephobia. It specifies the exact resources (npm package, license, advisories, bundle size) and distinguishes itself from sibling tools, which are unrelated to dependency scanning.

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?

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 exclusions and alternatives, noting that non-NPM ecosystems fall under deps.dev:version directly. This is clear guidance on when to invoke the tool versus 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.6/5.0
Disambiguation2/5

Several tools have overlapping purposes, particularly the ask_pipeworx family (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded) where the beta variant is currently identical to the stable one, creating selection ambiguity. Additionally, many data-lookup tools (entity_profile, compare_entities, recent_changes, validate_claim) could be confused for similar queries, and the three weather tools are buried among unrelated prediction-market and utility tools.

Naming Consistency2/5

Tool names are all snake_case, but the pattern is inconsistent: some are verb-first (get_forecast, list_subscriptions, remember), while others are noun-first or noun phrases (polymarket_edges, pipeworx_trending, entity_profile, bet_research). The mix of verbs and nouns without a clear convention makes the interface feel unstructured.

Tool Count1/5

With 34 tools, the count is far too high for a server nominally focused on weather, which only has 3 relevant tools. The majority of tools are unrelated to weather (Pipeworx data, prediction markets, memory, subscriptions), making the scope seem bloated and misaligned with the server name.

Completeness3/5

For the weather domain itself, the coverage is adequate (real-time, forecast, historical), but the server includes many unrelated tools that create confusion about its true purpose. The extra tools neither enhance weather functionality nor form a coherent secondary domain, leaving the overall surface feeling incomplete for a single coherent use case.