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 read-only, open-world, idempotent, non-destructive. The description adds valuable behavioral details: fans out across two services, partial failures with graceful degradation, bundlephobia's first measurement can take 5-30s, and sources_failed will list timeouts.

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?

Description is well-structured with front-loaded purpose, use cases, and constraints. Slightly verbose with parenthetical clarifications, but each sentence adds value. Could be trimmed slightly, but overall effective.

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 no output schema, the description fully explains return values: summary block fields (is_latest, license, etc.), per-advisory detail, links, recent alternative versions, and failure behavior (sources_failed). Complete for a composite lookup tool.

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%, so baseline is 3. The description adds no additional meaning beyond schema: both package and version are already described with scoped packages mention and default behavior. No extra semantics.

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 it is a composite check for adding an npm package, listing specific checks (license, advisories, bundle size) and the question it answers ('is X safe/popular/small'). It distinguishes from siblings by being a composite tool that fans out across deps.dev and bundlephobia.

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 says when to use: 'Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me"'. Also provides exclusions: 'NPM ecosystem only in v1; PyPI / Maven / Cargo / Go fall under deps.dev:version directly.'

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 vs. deep_research vs. validate_claim). However, a few pairs like ask_pipeworx_beta vs. ask_pipeworx and validate_claim vs. ask_pipeworx_grounded have overlapping roles, even though descriptions do differentiate them.

Naming Consistency4/5

All tool names use snake_case consistently, and many follow a verb_noun pattern (ask_pipeworx, compare_entities, subscribe). Some exceptions like entity_profile, recent_alerts, and pipeworx_trending break the strict verb_noun pattern but remain readable and stylistically uniform.

Tool Count3/5

With 35 tools, this is above the typical 'well-scoped' range and exceeds the 25-tool threshold for heavy servers. However, the server covers a very broad domain (financial data, prediction markets, agriculture, AI visibility, memory, subscriptions), which partially justifies the count, but it still feels bloated.

Completeness4/5

The tool surface covers all major workflows: data querying (ask_pipeworx, deep_research), entity resolution and comparison, prediction-market analysis, agricultural data (FAS tools), memory (remember/recall/forget), and subscription management (subscribe/unsubscribe/list). The only minor gap is lack of direct write/update operations for external data, but that's not expected for a read-heavy platform.