Skip to main content
Glama
npm and PyPI Package Adoption MCP Server

npm and PyPI Package Adoption MCP Server

Get npm and PyPI package downloads and release stats

get_package_adoption
Read-onlyIdempotent

Fetches npm and PyPI package download trends, versions, release dates, licenses, and deprecation data to compare adoption and maintenance status.

Instructions

Give npm or PyPI package names. Returns one row per package from the public registry APIs: downloads for the last day, 7, 30, 180, and 365 days, the 30 day trend against the prior 30 days, monthly totals, latest version, first and latest release dates, releases in the last 12 months, license, repository, homepage, maintainers count, deprecation, runtime requirement, dependencies count, and keywords. Pay per event on Apify: 0.003 USD per package row.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_package_adoption"
  }
}

Input Schema

NameRequiredDescriptionDefault
npm_packagesNonpm package names or npmjs.com package URLs, for example express, @angular/core, or https://www.npmjs.com/package/react. One per line; one line can hold several names separated by commas. In Clay, put the column inside a one item list.
pypi_packagesNoPyPI package names or pypi.org project URLs, for example requests, django, or https://pypi.org/project/httpx/. One per line; one line can hold several names separated by commas.
max_charge_usdNoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds real context beyond them: the data source (public registry APIs), the one-row-per-package granularity, and the pay-per-event pricing model (0.003 USD per package row), which is important operational information for a paid actor.

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?

Three sentences, front-loaded with input expectations and the row granularity, followed by a dense but purposeful field list and the cost note. The long enumeration is justified because it defines the contract of an otherwise output-schemaless tool; no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three fully documented parameters, strong annotations, and a very rich return-field list compensating for the absent output schema, an agent has enough to call this correctly. Remaining gaps are minor: no stated limits on how many package names per call, and no mention of error or partial-failure behavior.

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%, so the schema already documents all three parameters in detail, including accepted name/URL formats and the max_charge_usd stop semantics. The description adds only the per-row charge figure, which indirectly clarifies why a spend cap exists, but contributes no new parameter-level meaning beyond that.

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 names the resources (npm and PyPI packages) and enumerates exactly what is returned per row: downloads at five windows, trend, monthly totals, version, release dates, license, repo, maintainers, deprecation, runtime, dependency count, keywords. This is a specific verb-plus-resource statement, not a restatement of the title.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It opens with an input instruction ('Give npm or PyPI package names'), which implies when the tool applies, but there is no explicit when-to-use/when-not guidance or prerequisite statement. With no sibling tools present there is nothing to route against, so implied usage is the ceiling here.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools