Skip to main content
Glama
kongyo2

@kongyo2/npm-info-mcp-server

Get npm Package Score

npm_package_score
Read-onlyIdempotent

Retrieve quality, popularity, and maintenance scores for any npm package, including download counts, GitHub stars, test coverage, and release frequency.

Instructions

Get quality, popularity, and maintenance scores for an npm package from npms.io.

Provides detailed metrics including download counts, GitHub stars, test coverage indicators, and release frequency.

Args:

  • package_name (string): The npm package name

Returns: Comprehensive scoring breakdown:

  • Overall score (0-100%)

  • Quality score: carefulness, tests, health, branding

  • Popularity: community interest, downloads, dependents

  • Maintenance: release frequency, commit frequency, open issues

  • GitHub stats: stars, forks, issues

  • Download statistics

Examples:

  • "react" -> High scores across all categories

  • "lodash" -> Well-maintained with high popularity

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
package_nameYesnpm package name
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the tool's safety profile is clear. The description adds detail about the returned metrics but does not reveal additional behavioral traits such as rate limits, authorization needs, or data freshness.

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 concise and well-structured. It starts with a clear summary sentence, then details the metrics, arguments, return structure, and examples. Every section provides necessary information without unnecessary fluff.

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 no output schema, the description thoroughly explains the return value with a breakdown of scores and metrics. It also includes examples. For a simple one-parameter tool, this provides complete context for an agent to understand inputs and outputs.

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?

With 100% schema description coverage, the schema already documents the single parameter. The description reinforces its purpose (the npm package name) and ties it to the tool's functionality, but does not add new constraints or format details beyond what the schema provides.

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 gets quality, popularity, and maintenance scores for an npm package from npms.io. It lists specific metric categories and provides examples, distinguishing it from siblings like npm_package_info which would focus on general details.

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?

The description explains what the tool provides (scores, metrics) but does not explicitly state when to use it over alternatives like npm_package_info or npm_search. The examples imply it's for comprehensive scoring, but no direct comparison or exclusion criteria are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kongyo2/npm-info'

If you have feedback or need assistance with the MCP directory API, please join our Discord server