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

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

Beyond annotations (readOnlyHint, idempotentHint, etc.), the description discloses key behavioral traits: partial failures degrade gracefully, bundlephobia's first measurement can take 5-30s and may time out, and sources_failed lists any failed sources. This provides rich behavioral context beyond what annotations already provide.

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 moderately concise at five sentences. Each sentence adds value, but the first sentence is quite long with parenthetical details. The most critical information (composite nature, use case) is front-loaded. Slightly more brevity could improve it, but it is not overly verbose.

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?

For a composite tool with no output schema, the description fully covers purpose, usage guidelines, behavioral traits, parameters, output format (summary block with specific fields), and limitations (NPM only, timing). It also addresses edge cases like partial failures and scoped packages, making it complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (both parameters described). The description adds meaning by listing the return summary fields (is_latest, license, advisory_count, bundle sizes, etc.), explaining version defaults to latest, and clarifying scoped packages are accepted. This goes beyond the schema definitions.

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 identifies the tool as a composite check for npm packages, combining deps.dev and bundlephobia data. It specifies the exact resources checked (license, advisories, version history, bundle size, etc.) and distinguishes it from sibling tools by being a one-call composite solution. The verb 'scan' and resource 'dependency' are well-defined.

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 states when to use the tool: when an agent asks about safety, popularity, size, or cost of adding an npm package. It also provides clear limitations (NPM only in v1, other ecosystems use deps.dev:version directly), giving agents guidance on when not to use it and what alternatives exist.

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

Several tools have overlapping purposes: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are near-duplicates, and the polymarket_* family has six tools with blurred boundaries. The Vimeo tools are distinct, but the massive unrelated Pipeworx set creates ambiguity about which tool is appropriate for a given task.

Naming Consistency2/5

Tool names mix conventions: Vimeo tools use bare nouns (video, channel, user), while Pipeworx tools use verb_noun (resolve_entity, validate_claim) or noun_verb (ai_visibility_check). Some names like ask_pipeworx and pipeworx_feedback do not follow a consistent verb-first pattern.

Tool Count2/5

40 tools is far too many for a Vimeo server; only 9 tools are Vimeo-related, and the remaining 31 are an unrelated Pipeworx data toolkit. This inflates the surface area and makes the set unwieldy.

Completeness2/5

The Vimeo surface covers read operations (search, get, list) but lacks any write operations like upload, update, or delete videos. It also misses common Vimeo features like comments, likes, or portfolio management, so common tasks would hit dead ends.