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

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

Discloses behavioral traits beyond annotations: fan-out across multiple data sources, partial failure degradation, bundlephobia timeout (5-30s), and sources_failed handling. This adds valuable context not captured by readOnlyHint, openWorldHint, or idempotentHint.

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?

Four sentences, each packed with distinct information: purpose, usage trigger, ecosystem scope, return payload, and failure behavior. No redundancy and front-loaded with the main action.

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 no output schema, the description enumerates all return fields (summary block with license, bundle_kb, tree_shakeable, etc.) and notes failure behavior. This makes the tool's capabilities and limitations fully transparent for an agent.

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 schema already describes both parameters with 100% coverage (package name, scoped packages accepted, version defaults). The description adds no additional parameter semantics beyond the schema, 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 clearly states the tool's composite purpose: a 'should I add this npm package to my project' check that fans out across deps.dev and bundlephobia. It uses a specific verb ('scan') and resource ('dependency'), and distinguishes from siblings by explicitly limiting to the NPM ecosystem.

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 provides when-to-use guidance: 'Use whenever an agent asks "is X safe / popular / small"' and gives an alternative path for non-NPM ecosystems (deps.dev:version directly). This is clear and actionable.

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

Most tools have distinct purposes, with clear descriptions differentiating similar ones like ask_pipeworx and ask_pipeworx_grounded. A few overlaps exist (multiple Polymarket analysis tools), but descriptions sufficiently resolve ambiguity.

Naming Consistency2/5

Tool naming is inconsistent, mixing descriptive phrases (entity_profile, polymarket_edges) with verb-object patterns (generate_llms_txt, search). No strong convention is followed, and the 'polymarket_' prefix is applied to some betting tools but not others.

Tool Count3/5

32 tools is high but not extreme. However, the scope is too broad for a single server, covering data queries, betting, memory, NYPL, and more, making the set feel bloated and unfocused.

Completeness2/5

The domain is unclear due to mixed tools, but within the NYPL subset there are clear gaps (only search and item, no CRUD). For the other domains, coverage is uneven and lacks clear lifecycle completeness.