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 establish read-only, idempotent, non-destructive behavior. The description adds meaningful behavioral detail: partial failures degrade gracefully, bundlephobia's first measurement can take 5-30s, and sources_failed will list timeouts while the rest still returns. This goes beyond annotations and sets accurate expectations.

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?

Single paragraph is information-dense and front-loaded with the core purpose and use case. It packs in many output field names and caveats, but each clause earns its place for a composite tool; minor lack of structural formatting keeps it from a 5.

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, so the description compensates by listing exact summary fields, per-advisory detail, links, alternative versions, and failure behavior. For a complex multi-source read tool with two parameters, this is complete.

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?

Input schema fully covers both params (package name with scoped support, version defaulting to latest). The description does not add significant new parameter semantics beyond the schema; it mostly restates the default and explains output fields, so baseline 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?

Description clearly states it is a composite check for deciding whether to add an npm package, aggregating license, advisories, version history, and bundle size from deps.dev and bundlephobia. This specific verb+resource+scope distinguishes it from generic scan tools like scan_competitor_ai_presence.

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 tells the agent when to use: 'Use whenever an agent asks...' and gives a clear exclusion for non-NPM ecosystems ('PyPI / Maven / Cargo / Go fall under deps.dev:version directly'), meeting the when/when-not bar.

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

Many tools have detailed, differentiated roles, but there are several overlapping clusters: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, and validate_claim all answer natural-language data questions, and ask_pipeworx_beta is currently identical to ask_pipeworx. Onboarding/discovery and Polymarket edge tools also blur together, so an agent can easily select the wrong entry point.

Naming Consistency3/5

Names are uniformly snake_case and readable, with coherent subfamilies like ask_pipeworx*, polymarket_*, and list_*. But conventions are mixed across the set: bare verbs (remember, forget, subscribe), noun phrases (entity_profile, recent_changes), and adjective-led names (recent_alerts) exist alongside verb_noun names, so there is no consistent pattern.

Tool Count2/5

35 tools is already in the 'too many' range, and only four (get_exercise, list_exercises, list_equipment, list_muscles) belong to a wger fitness server. The remaining ~31 tools are unrelated Pipeworx/prediction-market/memory utilities, making the count inappropriate for the apparent domain.

Completeness1/5

As a wger fitness server, the surface is a read-only reference slice: exercise, equipment, and muscle lookups, with no workout routine management, user data, or create/update/delete operations for any wger resource. Even ignoring the unrelated Pipeworx tools, the fitness domain has severe gaps that would block most real usage.