Skip to main content
Glama

Get popular npm packages

get_popular_packages
Read-onlyIdempotent

Lists the npm packages that kad.dev projects declare most often. Each entry has the package name, the number of distinct projects that declare it, and how many of those projects used it in the last 90 days. The list is empty when no package data has been collected yet.

Input Schema

NameRequiredDescriptionDefault
limitNomax packages to return (default 50)

Output Schema

NameRequiredDescriptionDefault
packagesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine context the annotations cannot: what each entry contains and that an empty list is a legitimate no-data state rather than an error.

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 the core purpose, no filler. The middle sentence enumerating returned fields partly overlaps the output schema, which is the only mild redundancy.

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?

An output schema exists, so return values need not be explained, and the empty-state caveat is a useful addition. The one real gap is ranking: 'popular' implies an order but the description never states that results are sorted by project count.

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% (the single limit param documents itself with a default of 50), so the baseline is 3. The description never mentions limit or how ordering interacts with truncation, adding nothing beyond the schema.

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?

States a specific verb (lists) plus a precise resource (npm packages most often declared by kad.dev projects) and scopes it to a population. No sibling tool covers package data, so an agent can distinguish it immediately from the project/deploy/file tools.

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?

Usage is only implied by the resource description; there is no statement of when to reach for this versus something like list_objects or query_sql, and no guidance on how to pick a limit. The empty-result note hints at data availability but is a caveat, not a when-to-use rule.

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.

Resources