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. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description details the tool's behavior beyond annotations: it fans out to two external services, returns a specific summary block with fields like is_latest, advisory_count, bundle_kb_gz, etc., and warns about bundlephobia's first measurement time (5-30s) with graceful degradation via 'sources_failed'. Annotations already indicate read-only, idempotent, and non-destructive, which the description does not contradict.

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 front-loaded with a clear one-sentence summary, followed by details on usage, output fields, and warnings. Every sentence adds value without redundancy. It is well-structured and appropriately sized for 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?

Despite lacking an output schema, the description comprehensively explains the return value structure (summary block, per-advisory detail, links, alternative versions). It covers inputs, behavior, ecosystem scope, error handling, and partial failures, making it complete for a tool of this complexity.

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% with both parameters documented. The description does not add significant meaning beyond the schema: it mentions that version defaults to latest, which is already in the schema. Baseline 3 is appropriate as the schema carries the burden.

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 composite purpose: a single call to check if an npm package should be added to a project, fanning out across deps.dev and bundlephobia. It specifies the checks (license, advisories, bundle size, etc.) and distinguishes itself from other tools by targeting npm packages specifically.

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 advises when to use the tool: 'when an agent asks 'is X safe / popular / small' or 'what does adding lodash cost me''. It also sets boundaries by noting that other ecosystems (PyPI, Maven, etc.) should use a different tool (deps.dev:version directly). This provides clear context and excludes 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

A4.2/5.0
Disambiguation4/5

Most tools have clear distinct purposes, but the three ask_pipeworx variants (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded) are very similar, and there is some overlap between bet_research and polymarket_edges. Overall, the majority are well-differentiated.

Naming Consistency5/5

Tool names follow a consistent snake_case verb_noun pattern with only minor deviations (e.g., 'chokepoints_list' vs 'chokepoint_daily_traffic'). The naming convention is predictable and clear.

Tool Count2/5

At 37 tools, the surface is overly large for a focused server. Many tools are meta-tools that could have been consolidated, and the count exceeds the recommended range (25+), making it feel heavy and unwieldy.

Completeness5/5

The server covers maritime chokepoints comprehensively (list, status, daily, compare, disruptions), and the Pipeworx-based tools provide broad coverage across financial, drug, prediction market, and general query domains. There are no obvious gaps for the stated scope.