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 indicate read-only, idempotent, non-destructive. Description adds behavioral details: fans out across two services, partial failure handling, bundlephobia timing (5-30s), sources_failed field, and returned fields. No contradictions.

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 with front-loaded purpose. Every sentence adds value, though a slightly more structured format (e.g., lists) could improve readability. Minimal waste.

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, so description fully explains return fields (summary block with specific fields, per-advisory detail, links, alternative versions). Covers edge cases (partial failures, timeout). Complete for a complex 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?

Schema description coverage is 100% (both parameters have descriptions). Description adds context about scoped packages and default version, but does not significantly enhance understanding beyond schema. 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 the composite check for npm packages, specifying verb 'scan', resource 'dependency', and outputs (license, advisories, size). Distinguishes from sibling tools by mentioning NPM ecosystem and referencing deps.dev/bundlephobia, which no other sibling does.

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 states when to use: 'when an agent asks "is X safe / popular / small" or "what does adding lodash cost me"'. Also mentions NPM-only in v1 and directs other ecosystems to a different tool, providing clear alternatives.

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

Several tools appear to do the same thing at the top level: ask_pipeworx, ask_pipeworx_beta (explicitly identical today), and ask_pipeworx_grounded are near-duplicate routing entry points, and deep_research overlaps heavily with them. Among the ct_* tools, ct_count_by_condition, ct_competitive_landscape, ct_sponsor_pipeline, and ct_compare_sponsors all provide overlapping counting/landscape functionality, making correct selection genuinely ambiguous.

Naming Consistency4/5

The overwhelming majority of tools use lowercase snake_case and mostly follow a verb_noun or domain-prefixed pattern (ct_search, ct_get_study, list_subscriptions, validate_claim, resolove_entity). Some names are noun phrases rather than verbs (ct_competitive_landscape, entity_profile, polymarket_edge_tracker) but the overall style is consistent and readable, with only minor deviations.

Tool Count2/5

44 tools is far too many for a server named 'Clinicaltrials'; only 13 tools are actually clinical-trials-specific while the rest span general data lookup, prediction markets, memory, subscriptions, and npm scanning. The count is inflated by redundant entry points (ask_pipeworx/beta/grounded) and overlapping ct tools, making the set feel heavy and unfocused.

Completeness4/5

For the clinical-trials registry domain, the surface is largely complete: search, full study details, results summaries, condition counts, sponsor pipelines, location-based lookup, recent updates, and catalyst tracking are all represented. Minor gaps exist (e.g., historical versions/protocol amendments and advanced filter combinations), but most could be worked around via the universal ask_pipeworx router.