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.7/5.0
Behavior5/5

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

The description goes well beyond the readOnlyHint/idempotentHint annotations. It discloses degradation behavior (partial failures, sources_failed field), performance caveats (bundlephobia first measurement can take 5–30s), and the NPM-only limitation. 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.

Conciseness5/5

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

Though lengthy, the description is tightly structured and front-loaded. The first sentence gives the composite purpose, followed by usage guidance, return fields, ecosystem scope, and failure behavior. Every sentence earns its place with specific, non-redundant information.

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?

There is no output schema, but the description enumerates the full return block (is_latest, license, published_at, advisory_count, bundle_kb_min, bundle_kb_gz, dependency_count, has_esm, tree_shakeable, plus details and alternatives). It also covers error handling, performance, and ecosystem constraints, making the tool fully self-explanatory for an 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?

The input schema already provides 100% descriptive coverage for both parameters (package and version, including scoped package handling and default-latest behavior). The description adds no new parameter-level meaning beyond what the schema states, so the baseline of 3 applies.

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 ('check') and clearly defines the composite scope: a one-call evaluation of whether to add an npm package, fanning out to deps.dev and bundlephobia. It names concrete data points (license, advisories, bundle size, tree-shaking) and the intended question ('is X safe / popular / small'), distinguishing it from sibling tools focused on other domains.

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?

Explicit usage trigger: 'Use whenever an agent asks...' with concrete example phrasings. It also gives clear exclusions and alternatives: NPM only in v1, with other ecosystems falling under deps.dev:version directly. This tells an agent exactly when to choose this tool over simpler 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

B3.2/5.0
Disambiguation2/5

The tool set mixes OKX exchange tools with a large set of Pipeworx data query tools and prediction market tools. Many tools overlap in purpose, e.g., ask_pipeworx, deep_research, and ask_pipeworx_grounded all answer questions but with different modes. OKX tools like ticker and tickers are clear but the overall set is confusing.

Naming Consistency2/5

Naming is inconsistent: OKX tools use single nouns or underscores (ticker, order_book), Pipeworx tools use verb phrases (ask_pipeworx, validate_claim), and prediction market tools use prefixed names (polymarket_arbitrage, bet_research). No consistent pattern.

Tool Count2/5

43 tools is excessive for a coherent server. The scope is unclear—combining exchange, data lookup, and prediction market tools into one server results in a cluttered surface.

Completeness2/5

The server tries to cover too many domains. OKX coverage is decent, but the inclusion of many unrelated tools (e.g., generate_llms_txt, scan_dependency) makes the set feel incomplete for any single purpose. Gaps exist in each sub-domain due to the broad scope.