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

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, but the description adds critical behavioral details: partial failures degrade gracefully, bundlephobia's first measurement may take 5-30 seconds, and the `sources_failed` field will list timeouts. This goes beyond the structured annotations.

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 relatively lengthy but every sentence provides necessary information: purpose, what it fans out, return shape, limitations, and failure behavior. It is front-loaded with the main purpose. Could be slightly tighter, but overall well-structured for the information density.

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 has two parameters, no output schema, and modest complexity, the description covers all important aspects: what it does, what it returns (summary block, advisories, links, alternatives), error handling, timing behavior, ecosystem limitations, and feature set. No gaps identified.

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 does not add extra parameter semantics beyond what the schema already provides (package name and version). It mentions the parameters in context but no additional constraints or formatting rules.

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 the tool is a composite check for npm packages combining deps.dev and bundlephobia, and specifically mentions the use case of answering 'is X safe / popular / small' or 'what does adding lodash cost me'. It distinguishes from other ecosystems by explicitly stating NPM-only in v1 and directing to deps.dev for others.

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 'Use whenever an agent asks...' and also clarifies limitations: 'NPM ecosystem only in v1; PyPI / Maven / Cargo / Go fall under deps.dev:version directly.' This provides clear when-to-use and when-not-to-use guidance, differentiating from sibling tools.

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

Many tools have overlapping purposes, such as ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all performing similar data queries. Similarly, bet_research, polymarket_arbitrage, polymarket_edges, and polymarket_fill_risk cover the same betting domain. Players/player, teams/team, and games/game also blur distinctions.

Naming Consistency2/5

Naming styles are inconsistent: some use verb_noun (e.g., validate_claim, discover_tools), others are plain nouns (e.g., player, team, stats), and some are individual verbs (e.g., forget, recall). There's no predictable pattern.

Tool Count2/5

With 39 tools, the set is large and spans multiple unrelated domains (NBA stats, betting, general data lookup, memory). Given the server name 'Balldontlie' suggests NBA focus, the number is excessive and many tools feel out of place.

Completeness2/5

For an NBA stats server, the tool surface is incomplete (missing play-by-play, advanced stats, season leaders, etc.). As a general data server, it relies on meta-tools like ask_pipeworx rather than dedicated tools, so coverage is indirect and not comprehensive.