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.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Despite readOnlyHint already marking this as safe, the description adds valuable behavioral context: it fans out to external services, handles partial failures gracefully, and warns that the first bundlephobia measurement can take 5-30s with sources_failed as the failure signal. This goes well beyond the 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 moderately long but every sentence carries functional value: composite purpose, use cases, output fields, ecosystem limits, and failure behavior. It is well structured and front-loaded, though slightly dense.

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 block: is_latest, license, published_at, advisory_count, bundle sizes, dependency_count, ESM/tree-shake flags, advisories, links, and alternative versions. It also covers latency and partial failure, making it highly complete for a composite 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 coverage is 100%, so the baseline is 3. The description reinforces the npm ecosystem scope and mentions the version default, but the schema already documents these details. No additional parameter semantics beyond the schema are provided.

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 purpose: 'should I add this npm package to my project' check in ONE call, spanning deps.dev and bundlephobia. It clearly differentiates from siblings by naming the exact data sources and the decision it supports.

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: whenever an agent asks 'is X safe / popular / small' or 'what does adding lodash cost me'. It also names an alternative for non-NPM ecosystems (deps.dev:version directly), providing clear boundaries and exclusions.

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

A4/5.0
Disambiguation3/5

Several tool families overlap heavily: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded serve nearly the same routing purpose (beta explicitly 'currently matches ask_pipeworx exactly'), and the five polymarket_* tools plus bet_research create a dense cluster an agent must pick through. The descriptions are unusually detailed and do differentiate them, but the boundaries between the ask_pipeworx variants and between bet_research/polymarket_edges/arbitrage remain easy to misselect.

Naming Consistency4/5

All names are lowercase snake_case and mostly follow verb_noun or domain-prefix patterns (ask_pipeworx, polymarket_edges, list_subscriptions, resolve_entity). Minor deviations exist: subjects and table_meta are bare nouns rather than verbs, the ask_pipeworx family uses an ask_ prefix while the closely related deep_research does not, and entity appears as both a prefix (entity_profile) and a suffix (resolve_entity).

Tool Count2/5

34 tools is well above the 25-tool threshold for 'too many,' and the mismatch is sharpened by the server name 'Statfin Fi': only 3 of 34 tools (query_table, subjects, table_meta) actually relate to Statistics Finland, while the rest are a sprawling multi-domain platform covering prediction markets, AI visibility, npm packages, memory, and subscriptions. The count is appropriate for a general data platform but not for the apparent StatFin scope, making the surface feel bloated and unfocused.

Completeness4/5

The platform covers the full research lifecycle: discovery (discover_tools, suggest_questions), identifier resolution (resolve_entity), lookups (ask_pipeworx, entity_profile, compare_entities), verification (validate_claim, ask_pipeworx_grounded), monitoring (subscribe, recent_alerts, recent_changes), and memory (remember/recall/forget), with no obvious dead ends. Minor gaps exist — there is no keyword search across the StatFin catalog (browse-only via subjects), and one-off tools like generate_llms_txt and scan_dependency feel bolted on rather than part of a coherent domain.