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 declare readOnly/idempotent, but the description adds valuable behavioral context: it fans out across multiple services, partial failures degrade gracefully, bundlephobia's first measurement can take 5-30s, and 'sources_failed' reports timeouts. This exceeds the annotation baseline with actionable detail.

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 is information-rich with clear flow: what it does, when to use, what it returns, ecosystem limits, and failure behavior. It earns its length, though a slight structure improvement would make it more scannable.

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?

Given the tool's complexity and lack of output schema, the description covers return fields, per-source behavior, latency expectations, and limitations. The agent has enough context to invoke correctly and handle edge cases like timeouts.

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% for both parameters, so the schema documents package and version defaults. The description adds no new parameter-specific semantics, but it reinforces the npm scope and version default. Baseline 3 is appropriate because the schema carries the load.

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-resource combination ('Composite ... check') and clearly scopes to npm packages, distinguishing itself from sibling tools by naming deps.dev and bundlephobia integrations. It answers 'what does this tool do' with concrete examples.

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 ('whenever an agent asks is X safe / popular / small') and gives alternative guidance for non-npm ecosystems ('PyPI / Maven / Cargo / Go fall under deps.dev:version directly'). This is clear when-to-use and when-not-to-use.

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/5.0
Disambiguation4/5

Most tools have clearly distinct purposes (e.g., ask_pipeworx for general queries, ask_pipeworx_grounded for high-stakes verification, deep_research for multi-faceted research). However, some overlap exists among the ask_* variants and the prediction-market tools (bet_research vs. polymarket_edges vs. polymarket_arbitrage), which could cause misselection without careful reading of the detailed descriptions.

Naming Consistency4/5

Tool names consistently use snake_case and mostly follow the verb_noun pattern (e.g., list_subscriptions, resolve_entity, validate_claim). Minor deviations like random_fact and today_fact (adjective_noun) and pipeworx_feedback (noun_noun) introduce slight inconsistency, but the overall pattern is predictable.

Tool Count3/5

With 33 tools, the count exceeds the typical 3-15 range and even the 16-25 'heavy' threshold. While the server covers an unusually broad domain (data retrieval, prediction markets, memory, subscriptions, AI visibility), several tools could be consolidated (e.g., the six polymarket tools, trivial random_fact/today_fact). The scope partially justifies the count, but it feels over-provisioned.

Completeness4/5

The tool surface is remarkably comprehensive for a data platform: it covers querying, entity resolution, comparison, change feeds, memory persistence, subscription management, validation, and even meta-tool discovery. Minor gaps exist (e.g., no explicit update/delete for external data, but that is not the service's purpose). Overall, no obvious dead ends.