Skip to main content
Glama
jsdelivr-mcp
by anvme

jsdelivr_gh_top_versions

Lists popular versions of a GitHub repository on jsDelivr, sortable by hits or bandwidth, to help identify which releases users access over a chosen period.

Instructions

List the most popular versions of a GitHub repo on jsDelivr.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "user": "<user>",
      "repo": "<repo>"
    },
    "name": "jsdelivr_gh_top_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoSort by hits or bandwidth. Default: hits
pageNoPage number (1-100). Default: 1
repoYesGitHub repo name, e.g. 'bootstrap'
userYesGitHub username or org, e.g. 'twbs'
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

C2.9/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. It does not state that this is a read-only listing, does not explain how 'popular' is measured despite the `by` param defaulting to hits, and says nothing about pagination or rate limits. 'Most popular' hints at ranking but never discloses the default or the bandwidth alternative.

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?

A single front-loaded sentence with no filler or redundant restatement of the name. It is efficient, but the brevity borders on under-specification for a six-parameter tool.

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

Completeness2/5

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

With six parameters, no annotations, and no output schema, the description should explain ranking semantics, defaults, and return shape. It provides none of this, leaving the agent to reconstruct behavior entirely from the schema.

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 all six parameters (user, repo, by, page, limit, period) are already documented with examples, enums, and defaults in the schema. The description adds nothing beyond that, which is the expected baseline for a fully documented schema.

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 states a specific verb and resource: 'List the most popular versions of a GitHub repo on jsDelivr.' The 'GitHub repo' qualifier implicitly separates it from the npm/package siblings, though it never names an alternative or states the distinction explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no mention of the sibling tools (e.g. jsdelivr_npm_top_versions or jsdelivr_gh_version_stats) that an agent could confuse this with. The agent must infer applicability from the single sentence alone.

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