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 read-only, idempotent, and non-destructive behavior. The description adds valuable context beyond that: partial failures degrade gracefully, bundlephobia's first measurement can take 5-30 seconds and may time out, and 'sources_failed' will be included in that case while the rest still returns. This latency and degradation behavior is exactly the kind of context that helps an agent set expectations and handle errors.

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 dense but efficient: it leads with the primary purpose, then gives usage triggers, a detailed return summary, ecosystem scope, and failure behavior. Each sentence contributes meaningful information, though the length is on the higher side; still, it earns its place.

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?

With no output schema, the description fully enumerates the return structure (summary block fields like is_latest, license, bundle_kb_min/gz, dependency_count, etc.), per-advisory detail, links, and recent alternative versions. It also covers edge cases like timeouts and partial failures, making it complete for the complexity of this multi-source 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?

The input schema already provides 100% coverage, describing package as an npm package name (with scoped packages accepted) and version as a specific version with a default of latest. The description does not add significant new meaning to the parameters beyond what is in the schema, so the baseline of 3 is appropriate.

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's purpose: a composite 'should I add this npm package' check combining deps.dev and bundlephobia data. It distinguishes itself from siblings by explicitly naming the data sources and the specific question it answers, and by contrasting with direct deps.dev:version usage for other ecosystems.

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 tells agents when to use it: 'Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me".' It also provides an alternative for non-NPM ecosystems, stating 'PyPI / Maven / Cargo / Go fall under deps.dev:version directly,' which is clear guidance on when not to use this tool.

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

Most tools target distinct purposes (e.g., ask_pipeworx vs. get_repo vs. validate_claim), but there is some overlap between ask_pipeworx and ask_pipeworx_grounded, and between bet_research and polymarket_edges. Overall, an agent can generally distinguish them.

Naming Consistency2/5

Tool names lack a consistent pattern: some are verb_noun (search_repos, get_user), others are noun_verb (entity_profile), and many are compound descriptor phrases (polymarket_arbitrage, scan_dependency). This mixed convention makes the set feel disjointed.

Tool Count2/5

38 tools is excessive for a server named 'Github', especially since many tools (e.g., ai_visibility_check, bet_research) are unrelated to GitHub functionality. The count would be appropriate for a broader 'Pipeworx' server but not for a focused GitHub server.

Completeness2/5

The GitHub-relevant tools are limited to read-only operations (get_repo, list_commits, etc.), lacking essential actions like creating/updating repos, issues, or pull requests. The inclusion of numerous non-GitHub tools does not compensate for these gaps.