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?

The description discloses behavioral traits beyond annotations: the fan-out across two external services, the summary/return block structure, per-advisory detail, links, alternative versions, and graceful degradation with 5-30s timeout on first bundlephobia measurement. This adds significant context on top of the readOnly/idempotent hints.

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 well-organized: it opens with the composite purpose, then gives trigger use cases, return content, ecosystem scope, and failure behavior. Each sentence carries relevant information, though the first sentence is long and could be split for readability.

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?

Given the tool's complexity (two external services, multiple data points) and the absence of an output schema, the description compensates fully by enumerating exactly what fields are returned, noting alternative versions, and covering partial failure behavior. The ecosystem limit and timing caveats make the tool predictable to invoke.

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% for both parameters, so the description does not need to add syntax. It reinforces that scoped packages are accepted and that version defaults to latest, but these are already in the schema. The description adds contextual use-case info but no new parameter-level semantics, warranting the baseline 3.

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 names a specific composite check ('should I add this npm package to my project') and specifies the sources (deps.dev, bundlephobia) and data types (license, advisories, bundle size, dependencies, tree-shaking). It clearly distinguishes itself from sibling tools by its npm-only scope and composite nature.

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 states when to use the tool ('Use whenever an agent asks...') and gives concrete example queries. It also provides an important exclusion ('NPM ecosystem only in v1; PyPI/Maven/Cargo/Go fall under deps.dev:version directly'), which steers agents to 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.7/5.0
Disambiguation2/5

Several tools have genuinely unclear boundaries: ask_pipeworx and ask_pipeworx_beta are described as currently identical, ask_pipeworx_grounded shares the same router, and the polymarket_edges/arbitrage/fill_risk/bet_research group overlaps heavily in purpose. The remaining clusters (dog data, memory, subscriptions) are mostly distinct, so the confusion is concentrated in a few spots but severe there.

Naming Consistency3/5

Nearly all names are lower_snake_case and readable, but the conventions are mixed: get_/list_/ask_/scan_ verb-noun names sit alongside bare verbs (remember, forget, recall), noun-phrase names (entity_profile, bet_research, pipeworx_trending), and a versioned suffix (ask_pipeworx_beta). No single predictable pattern covers the whole set.

Tool Count2/5

At 35 tools, the server is well past the 25+ threshold for feeling bloated, and the count is dominated by unrelated Pipeworx, prediction-market, and AI-visibility tools rather than the dog-data domain implied by 'dogsapi'. Only four tools actually serve the dog API, making the surface both oversized and misaligned with the server name.

Completeness3/5

The broad data-access side is thorough, covering discovery, universal routing, grounded answers, deep research, entity profiles, comparisons, claim validation, memory, and subscriptions. However, the nominal dog domain is thin (list/get/groups/facts with no filtering or additional operations), subscriptions have no update path, and some one-off tools like generate_llms_txt and scan_dependency exist without any surrounding lifecycle.