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.

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses important behavioral details beyond annotations: partial failures degrade gracefully, bundlephobia's first measurement can take 5-30s, and sources_failed lists timeouts. Annotations already indicate read-only, idempotent, and non-destructive, and the description adds realistic latency and error handling without contradiction.

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 every sentence is informational. It front-loads the core purpose and fan-out structure, then details return fields and limitations. Could benefit from bullet points for return fields, but remains concise and efficiently structured.

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?

No output schema exists, yet the description fully enumerates return fields (is_latest, license, bundle sizes, dependency count, etc.), explains error handling, lists alternatives, and covers ecosystem scope. It is complete for a tool with only 2 parameters and a composite check.

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 minor semantic value by noting that scoped packages are accepted and default version behavior, but this largely repeats schema descriptions.

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 opens with 'Composite 'should I add this npm package to my project' check in ONE call' and specifies fan-out across deps.dev and bundlephobia, clearly stating the tool's unique purpose of assessing npm packages. It distinguishes from siblings like 'scan_competitor_ai_presence' by focusing on dependency analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit usage guidance is provided: 'Use whenever an agent asks 'is X safe / popular / small' or 'what does adding lodash cost me'.' It also notes ecosystem limitations ('NPM ecosystem only in v1') and directs other ecosystems to a different tool, offering clear context on 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

A3.8/5.0
Disambiguation2/5

Multiple tools have overlapping purposes, such as ask_pipeworx, ask_pipeworx_grounded, entity_profile, compare_entities, and validate_claim, all retrieving entity data. Agents may struggle to choose correctly between them. Likewise, bet_research, polymarket_edges, and polymarket_arbitrage cover similar prediction market territory.

Naming Consistency3/5

All tool names use underscores, but the verb/noun order varies: compare_entities (verb_noun), entity_profile (noun_noun), scan_competitor_ai_presence (verb_noun), bet_research (noun_verb). Some names are overly long (scan_competitor_ai_presence). The pattern is readable but not fully consistent.

Tool Count3/5

With 31 tools, the count is high but not extreme. However, the set covers geospatial, data retrieval, prediction markets, npm scanning, and memory/feedback - too broad for a single server. Many tools feel added without clear justification, making the set feel bloated.

Completeness2/5

The geospatial subset is incomplete (missing elevation, distance matrix, isochrones). The data access tools overlap rather than form a complete API surface (e.g., no entity update/delete). Prediction market tools are numerous but redundant. The server tries to do too much and lacks depth in any area.