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

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint true. The description adds valuable behavioral details: it fans out to multiple external services, returns a structured summary block with specific fields, lists per-advisory detail, links, and alternative versions. It transparently warns about bundlephobia's first measurement taking 5-30s and that sources_failed will list timeouts. No contradictions 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 relatively long but well-structured: a clear purpose statement upfront, followed by usage context, return detail, ecosystem scope, and edge-case behavior. Every sentence adds value, though a minor trim could tighten it slightly without losing information.

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?

With no output schema, the description bears full responsibility for explaining returns. It does so thoroughly: a summary block with specific fields (is_latest, license, etc.), per-advisory detail, links, and alternative versions. It also covers partial failures and timing. For a tool of moderate complexity (composite call, multiple sources), this is complete and sufficient.

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 description coverage is 100% with both package and version documented. The description does not add new parameter-level information beyond what the schema provides (e.g., 'Scoped packages accepted', 'defaults to latest'). Since the schema already covers parameter meanings, the description adds no incremental semantic value for parameters, resulting in a baseline score of 3.

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 opens with a clear and specific verb-resource: 'Composite should I add this npm package to my project check in ONE call'. It explicitly states the tool fans out across deps.dev and bundlephobia for npm packages, distinguishing it from sibling tools that are either for other ecosystems or different queries.

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 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 notes limitations—'NPM ecosystem only in v1'—and mentions fallback via deps.dev directly for other ecosystems, plus handling of partial failures.

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

Many tools overlap heavily: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, and deep_research all answer factual questions through similar routing; the polymarket_* tools and entity_profile/compare_entities/recent_changes also cover the same ground. The server is named Pubchem but most tools are unrelated, adding another layer of confusion.

Naming Consistency4/5

All tool names are snake_case and mostly follow verb_noun (search_by_name, get_compound, create_subscription, etc.). Minor deviations exist like entity_profile and recent_alerts being noun-first, and the pipeworx_*/polymarket_* prefixes make the set feel more like multiple products than one coherent API.

Tool Count2/5

35 tools is a large surface, and only 4 (search_by_name, get_compound, get_classification, get_synonyms) actually belong to PubChem. The other 31 tools form a broad Pipeworx/prediction-market toolkit that seems unrelated to the server's stated name and purpose.

Completeness2/5

For a PubChem server the coverage is minimal: basic name->CID resolution, compound properties, classification, and synonyms, but no formula search, bioassay, spectra, or list/search by other identifiers. The Pipeworx tools are extensive for general data querying but require accounts/keys for full use, so anonymous agents hit incomplete workflow dead ends.