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

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive hints. The description adds valuable non-obvious behavioral details: bundlephobia's first measurement can take 5-30s, partial failures degrade gracefully via a 'sources_failed' field, and the specific output fields are listed. 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every sentence earns its place: main purpose, use cases, return summary fields, ecosystem scope, and failure behavior. The description is front-loaded with the core purpose and remains information-dense without wasting words, given the tool's complexity.

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?

Despite having no output schema, the description enumerates the summary block fields, per-advisory detail, links, recent alternative versions, and handles edge cases like timeouts and partial failures. It gives an agent sufficient context to know exactly what will happen and when to use the 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% with both parameters fully described ('package' and 'version'). The description does not add parameter-specific semantics beyond what the schema already states, e.g., 'Defaults to the latest published version' is already in the 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?

The description clearly identifies a composite npm package evaluation tool with a specific verb ('scan') and resource ('dependency'), explicitly framing it as a 'should I add this npm package' check. It distinguishes itself from any sibling by naming its two data sources (deps.dev and bundlephobia) and the consolidated return.

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?

Provides explicit when-to-use guidance: 'Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me".' It also clearly scopes to the npm ecosystem and directs non-npm ecosystems to 'deps.dev:version directly', which serves as an alternative tool route.

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

Several tools have heavily overlapping purposes: ask_pipeworx and ask_pipeworx_beta are explicitly identical, ask_pipeworx_grounded and deep_research blur the query/research boundary, and the polymarket_* family plus bet_research all target prediction-market analysis. An agent would frequently struggle to pick the correct tool among these near-duplicates.

Naming Consistency3/5

All names are snake_case, but the verb/noun style is inconsistent: get_* for flight lookups, ask_* for queries, noun-style names like entity_profile and bet_research, and the polymarket_* prefix group. Some subgroups are internally consistent, but there is no single predictable pattern across the set.

Tool Count2/5

36 tools is far too many for a server named 'flights' — only 5 tools actually relate to aviation, while the rest span prediction markets, SEC/FDA data, npm packages, memory, and feedback. Even viewed as a general data platform, the count is heavy and the scope is unfocused.

Completeness2/5

For a flights server, the surface is severely incomplete: no scheduled flight status, delays, cancellations, or airport schedules — only live ADS-B snapshots. For the broader data-research domain the tools imply, coverage is better but still scattered, with no coherent lifecycle and several one-off utilities that don't connect to the rest.