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.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, destructiveHint. Description adds substantial behavioral context: composite fan-out, graceful degradation on partial failures, bundlephobia measurement can take 5-30s, and sources_failed reporting. No contradiction with 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 long but front-loaded with core purpose. Every sentence adds necessary detail for a complex composite tool. Could be slightly trimmed but remains efficient given the information density.

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?

For a tool with no output schema and high complexity (multiple sources, partial failures, timing), the description comprehensively covers return summary fields, behavior on failures, and ecosystem scope. It leaves no major gaps for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for both 'package' and 'version'. Description adds value by explaining version defaults to latest and that scoped packages are accepted. Beyond the baseline of 3 for full coverage, this extra context earns a 4.

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 clearly states it's a composite check for 'should I add this npm package' in one call, covering license, advisories, version history, and bundle size. It specifically targets npm packages, distinguishing it from sibling tools like scan_competitor_ai_presence and other general tools.

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 guides when to use: 'Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me"'. Also notes NPM ecosystem only in v1 and directs to deps.dev:version for other ecosystems, providing clear exclusions and 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

B3.4/5.0
Disambiguation2/5

Many tools have overlapping purposes, such as ask_pipeworx, ask_pipeworx_beta, and deep_research all routing queries, and the polymarket family (arbitrage, edges, edge_tracker, fill_risk) covering similar ground. While descriptions are detailed, an agent could easily select the wrong tool.

Naming Consistency2/5

Tool names mix bare nouns (airlines, airports, flights) with verb phrases (compare_entities, resolve_entity) and standalone verbs (remember, forget), with no consistent verb_noun pattern. Names like ask_pipeworx_beta and scan_competitor_ai_presence are internally inconsistent with the rest.

Tool Count2/5

37 tools is far beyond the typical scope for a single server, and many are unrelated to the aviation theme, suggesting a lack of focus. The core aviation functionality only accounts for 6 of the tools.

Completeness3/5

The aviation tools (airlines, airports, flights, routes, cities, countries) cover basic lookups, but advanced operations like delay statistics or aircraft data are absent. The unrelated tools do not fill these gaps, and the overall surface feels shallow for a server claiming to be an Aviationstack.