Skip to main content
Glama
jsdelivr-mcp
by anvme

jsdelivr_top_packages

List popular jsDelivr packages ranked by hits or bandwidth, with filters for npm/GitHub type, time period, and pagination.

Instructions

List the most popular packages on jsDelivr by hits or bandwidth.

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": "jsdelivr_top_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoSort by hits or bandwidth. Default: hits
pageNoPage number (1-100). Default: 1
typeNoFilter by package type: 'gh' or 'npm'. Default: all
limitNoMax results (1-100). Default: 100
periodNoTime period: floating (day|week|month|quarter|year), static (s-month|s-quarter|s-year), or date (YYYY-MM|YYYY-Qq|YYYY). Default: month

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing beyond the ranking axis. It does not say whether results are paginated, how many entries come back, what fields each entry contains, or whether the underlying data is cached/snapshotted. A read-only listing is low risk, but with zero annotation coverage the description should have said more.

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?

A single sentence with no filler, and the distinguishing scope information is front-loaded. Nothing in the sentence is redundant with the name or wasted.

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

Completeness3/5

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

Five optional parameters, two enums, and no output schema mean the description should at least sketch what a result row looks like (rank, package name, hits/bandwidth) and how the period value changes the ranking window. Because the input schema is fully annotated, the agent can build valid calls, but it cannot predict the response shape from the description.

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% and each of the five parameters (by, page, type, limit, period) is documented with defaults and enums in the schema itself. The description only echoes the 'by' parameter, adding no syntax or semantics for period, type filtering, or paging. Baseline 3 is appropriate when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('List the most popular packages on jsDelivr') plus the ranking dimension ('by hits or bandwidth'), so the tool's function is unambiguous. It does not differentiate itself from siblings such as jsdelivr_gh_top_versions or jsdelivr_npm_top_versions, which also surface 'top' entities, so an agent must infer that this one ranks packages rather than versions.

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: an agent can reason that 'most popular packages' means aggregate popularity ranking, but the description never states when to prefer this over the per-ecosystem top-versions siblings or the stats/lookup tools. There are no exclusions or preconditions, and no guidance on choosing between the hits and bandwidth rankings beyond the schema default.

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