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

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds valuable behavior beyond that: it explains that partial failures degrade gracefully, that bundlephobia's first measurement can take 5-30s, and that sources_failed will list timeouts. It also reveals the fan-out architecture, which is not in annotations. This is useful context, though some latency expectations are already implied by the read-only nature.

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 a single paragraph but well-structured, with the primary purpose front-loaded. It includes relevant details on usage, output, and failure modes. While it is longer than typical simple tools, the length is justified by the tool's complexity and every sentence carries useful information. A 5 would require even more brevity, so 4 is appropriate.

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 no output schema, the description is exceptionally complete. It enumerates the exact return fields (is_latest, license, published_at, advisory_count, bundle_kb_min, etc.), per-advisory details, links, alternative versions, and ecosystem limitations. It covers the 'what', 'when', and failure behavior comprehensively.

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 schema already documents both parameters (package and version) with descriptions. The description adds minimal parameter-specific meaning beyond the schema, such as confirming version defaults to latest. It does not introduce new details about parameter formats or interactions, so 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 uses a specific verb ('scan') and resource ('npm package dependency'), and clearly defines the purpose as a composite check for adding an npm package. It explicitly lists the data sources (deps.dev and bundlephobia) and the output summary fields, which fully distinguishes it from sibling tools like scan_competitor_ai_presence or deep_research.

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: 'Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me"'. It also provides an exclusion/alternative for non-NPM ecosystems, noting that PyPI/Maven/Cargo/Go fall under deps.dev:version directly. This is clear, actionable guidance.

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

Several tools have overlapping or poorly distinguished purposes. For instance, `ask_pipeworx` and `ask_pipeworx_beta` have nearly identical descriptions, and `ask_pipeworx_grounded` also shares the same routing but adds a different output format. The `ai_visibility_check` and `scan_competitor_ai_presence` tools also overlap significantly.

Naming Consistency3/5

There is some consistency with verb_noun patterns (e.g., `resolve_entity`, `search_within`, `subscribe`, `unsubscribe`). However, there are many deviations: `ask_pipeworx`, `pipeworx_feedback`, `pipeworx_trending`, `entity_profile`, `scan_dependency`, and `polymarket_edges` break the pattern, mixing descriptive names with non-standard prefixes.

Tool Count4/5

37 tools is slightly above the ideal range for a single MCP server, but the tools cover a very broad and varied domain (IETF data, company research, prediction markets, package scanning, memory, etc.). The count is high but still within a manageable scope for a multi-purpose utility server.

Completeness2/5

The server combines tools from two very different domains: IETF Datatracker (document/WG/person lookups) and Pipeworx (data retrieval, prediction markets, company analysis). The IETF-related tools are sparse and incomplete (only document search, document, person, wg, wgs_search, rfc are present—no ability to create or modify records). The Pipeworx side is extensive but leaves notable gaps (e.g., no tool for submitting comments or editing IETF documents).