Skip to main content
Glama
jsdelivr-mcp
by anvme

jsdelivr_gh_version_stats

Fetches jsDelivr CDN usage statistics for a specified GitHub repository version, helping you inspect download traffic and version-level adoption.

Instructions

Get stats for a specific GitHub repo version 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>",
      "version": "<version>"
    },
    "name": "jsdelivr_gh_version_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesGitHub repo name, e.g. 'bootstrap'
userYesGitHub username or org, e.g. 'twbs'
periodNoTime period: floating (day|week|month|quarter|year), static (s-month|s-quarter|s-year), or date (YYYY-MM|YYYY-Qq|YYYY). Default: month
versionYesExact version, e.g. '5.3.3'

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 exist, so the description carries the full burden and largely drops it. It never says what the stats contain (requests, bandwidth, etc.), whether the API is public or needs auth, whether rate limits apply, or whether the call is read-only. One sentence about scope is all the behavioral context provided for a four-parameter tool.

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 and no redundancy. It is efficient, though the brevity comes at the cost of substance rather than from disciplined editing.

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 no annotations, no output schema, and four parameters, the definition is too thin. An agent cannot tell what the response shape is or which sibling to prefer for aggregate versus per-version versus per-file metrics, which matters given the large family of similar jsDelivr stat tools.

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 the schema already documents each field including the period format tokens and the '5.3.3' style version example. The description adds nothing beyond that, so the baseline of 3 applies.

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 definition gives a specific verb ('Get stats') and a precisely scoped resource ('a specific GitHub repo version on jsDelivr'), which an agent can separate from repo-level or file-level stats tools. It stops short of naming any sibling, so the boundaries against jsdelivr_gh_stats or jsdelivr_gh_version_files_stats must be inferred.

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 statement, no exclusion, and no named alternative. The only hint at usage is the word 'specific version', which implies the tool is for per-release metrics rather than aggregate repo metrics, but the agent has to work that out alone.

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