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?

Goes beyond the read-only/idempotent annotations by disclosing partial failure degradation, the 5-30s timeout on bundlephobia's first measurement, and the sources_failed field. No contradiction with annotations.

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 dense but well-organized: purpose, use case, return structure, ecosystem scope, and failure behavior are all covered in a compact block. Slightly long but every sentence earns its place.

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?

With no output schema, the description lists the summary fields and return contents, covers ecosystem limitations, and explains timeout/partial failure. This is sufficient for an agent to understand what to expect.

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%, and the description adds minimal new meaning: it references the version example and default but these already appear in the schema. Baseline 3 is appropriate.

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 uses a specific verb 'scan' plus resource 'dependency' and clearly explains it's a composite check for evaluating npm packages across deps.dev and bundlephobia. This distinguishes it from sibling tools like scan_competitor_ai_presence or deep_research.

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 'Use whenever an agent asks "is X safe / popular / small"' and provides an alternative for non-npm ecosystems via 'deps.dev:version directly'. Gives clear when-to-use and when-not-to-use guidance.

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

Several tools occupy nearly the same role: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are deliberately near-duplicates, while deep_research, validate_claim, bet_research, and the polymarket_* family all route factual questions to overlapping data pipelines. Generic single-word tools like get, search, structure, and author add further ambiguity, making it hard for an agent to confidently pick the right tool.

Naming Consistency3/5

Names are consistently lowercase snake_case, but they mix verb_noun tools (list_subscriptions, resolve_entity, validate_claim) with bare nouns (author, get, search, structure) and domain-prefixed families (ask_pipeworx, polymarket_*, pipeworx_*). The conventions are readable but not predictable enough to infer behavior from the name alone.

Tool Count2/5

35 tools is heavy for a single server, especially when many are meta-routers or near-variants of each other. The broad data-research scope justifies some breadth, but the surface feels padded with overlapping research and prediction-market tools rather than a tight, well-scoped set.

Completeness4/5

For its apparent purpose — authoritative data lookup, verification, research, entity profiling, prediction-market analysis, and monitoring — the surface is largely complete: retrieval, grounded answers, deep research, comparison, change tracking, subscriptions, and memory are all covered. Minor gaps exist, such as no direct tool for managing alert delivery or for some of the vague HAL-style operations, but agents can work around these via the router tools.