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?

Adds latency and failure behavior beyond the readOnly/idempotent annotations: bundlephobia's first measurement can take 5-30s, and partial failures degrade gracefully with sources_failed listing timed-out sources. This is rich behavioral context annotations cannot provide.

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?

Five dense sentences, each serving a distinct purpose: definition, use cases, return shape, ecosystem scope, and failure mode. Slightly longer than minimal but well organized with no filler.

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 lists the complete summary block fields and other return components (per-advisory detail, links, alternatives). It also covers edge cases like the 5-30s first-measurement timeout, making the tool fully predictable.

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 descriptions already cover both parameters (package name, scoped package support, version default), so the description adds no new parameter-level detail. Baseline 3 applies because the schema does the heavy lifting.

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 a specific composite check definition and names the two external services (deps.dev, bundlephobia). It clearly distinguishes itself from unrelated sibling tools by scoping to npm package evaluation.

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?

Contains an explicit 'Use whenever...' clause with example queries ('is X safe / popular / small') and an explicit exclusion for non-npm ecosystems, directing users to deps.dev:version directly for other package managers.

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

Several clusters of tools overlap heavily: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all answer data questions; entity_profile, compare_entities, and recent_changes all pull company data; polymarket_edges, polymarket_arbitrage, and bet_research all analyze prediction markets. Though descriptions are detailed, the boundaries are subtle and the beta variant is nearly identical to the stable one.

Naming Consistency3/5

Most names are snake_case, but there's no consistent verb_noun pattern: some are bare nouns (disease, target, drug, search), some are verb phrases (resolve_entity, validate_claim, generate_llms_txt), and some are domain-prefixed (ask_pipeworx_*, polymarket_*, target_*). The mixed conventions make it hard to predict tool names.

Tool Count2/5

38 tools is far beyond the typical well-scoped server, and the set mixes Open Targets lookup, a general data platform (Pipeworx), prediction markets, npm package checks, and AI-marketing utilities under the name 'Opentargets'. Many tools are unrelated to the server's apparent core purpose.

Completeness4/5

The Open Targets drug-discovery workflow is well covered: search for IDs, get disease/drug/target profiles, and get associations/known drugs. However, the broader platform lacks some lifecycle operations (no create/update/delete since it's read-only), and the unrelated utilities (generate_llms_txt, scan_dependency) appear tacked on rather than filling domain gaps.