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?

The description discloses failure behavior and performance characteristics beyond annotations: '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.' This complements annotations (readOnlyHint, idempotentHint) and adds operational context. No contradiction with annotations is present.

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?

The description is dense but every sentence contributes: purpose, usage, ecosystem scope, failure handling, and return details. It is front-loaded with the primary purpose, and the follow-up details are logically ordered. No fluff or redundant content.

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 returned summary block fields, per-advisory details, links, and alternative versions. It also explains timeout behavior. This gives a complete mental model of the tool's behavior and outputs, fitting for a composite tool with multiple data sources.

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?

The input schema already provides 100% coverage for both parameters ('package' and 'version') with clear descriptions. The tool description adds minimal additional parameter semantics, mainly reinforcing that package is an npm package name and version defaults to latest. Since schema coverage is complete, a baseline score of 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 states a specific composite purpose: 'Composite "should I add this npm package to my project" check in ONE call — fans out across deps.dev and bundlephobia.' It clearly identifies the resource (npm package) and the action (scan/check). It also distinguishes itself from siblings by focusing on npm dependency analysis, while siblings like scan_competitor_ai_presence target different domains.

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?

Explicit usage is given: 'Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me".' It also excludes non-NPM ecosystems: 'NPM ecosystem only in v1; PyPI / Maven / Cargo / Go fall under deps.dev:version directly.' This provides clear when-to-use and when-not-to-use 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

A3.5/5.0
Disambiguation2/5

Multiple tools have heavily overlapping purposes: ask_pipeworx, ask_pipeworx_beta, and ask_pipeworx_grounded are near-duplicates, while deep_research, validate_claim, and bet_research blur the same routing/grounding line. The polymarket_* family also has five tools covering edges, arbitrage, fill risk, and edge decay with significant functional overlap, making misselection likely despite very detailed descriptions.

Naming Consistency2/5

Naming mixes verb_noun tools (get_pair, compare_entities, suggest_questions) with noun-style tools (entity_profile, recent_changes, bet_research) and bare verbs (remember, recall, forget). The polymarket_ and pipeworx_ prefixes add some structure, but overall the naming is inconsistent and doesn't follow a predictable pattern.

Tool Count1/5

The server is named 'exchangerate' but exposes 33 tools, only two of which (get_pair, get_rates) relate to exchange rates. Even as a general data platform 33 tools is at the extreme high end, and for the stated server purpose the count is wildly inappropriate.

Completeness1/5

For an exchange-rate server, the surface is severely incomplete: there is no historical rate lookup, no amount conversion, no supported-currency listing, and no rate-change monitoring. The actual tool content covers a broad research platform, but that is entirely mismatched with the server name, leaving the implied exchange-rate domain almost completely uncovered.