Skip to main content
Glama

jsDelivr Global Package CDN and Traffic Stats MCP

Resolve jsDelivr package version

resolve_jsdelivr_package_version
Read-onlyIdempotent

Resolve a semver range or dist-tag (e.g. "latest", "^19.0.0", "18.x") to an exact version and immutable jsDelivr CDN URL.

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": {
      "package_name": "<package_name>"
    },
    "name": "resolve_jsdelivr_package_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
specifierNoSemver range or dist-tag (default "latest").
package_nameYesPackage name (e.g. "react", "lodash").
package_typeNoRegistry source: "npm" (default) or "gh".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description contributes the return shape (exact version + immutable CDN URL), which matters because there is no output schema, but says nothing about failure behavior for an unresolvable range, network/lookup cost, or rate limits.

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 zero filler that names the input forms and the output artifacts. It could add one clause of routing guidance without becoming bloated, but as written it is efficient.

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?

For a three-parameter read-only lookup with full schema coverage and rich annotations, the description covers purpose and return value adequately. The only real gap is what happens on a non-resolvable specifier, which is minor given no output schema exists to document.

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 coverage is 100%, so all three parameters are already documented, and the description's specifier examples ("latest", "^19.0.0", "18.x") largely restate the schema's own "semver range or dist-tag" wording. Baseline 3 is appropriate; no added semantics for package_type or package_name beyond what the schema provides.

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?

States a concrete verb ("Resolve") and a precise transformation: semver range/dist-tag → exact version plus immutable CDN URL. That distinguishes it functionally from listing tools like get_jsdelivr_npm_package_versions, though the description never names the sibling to route agents away from it.

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 explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as get_jsdelivr_npm_package_versions or get_jsdelivr_package_files. Usage is only inferable from the stated purpose (you want a pinned URL), which leaves an agent to guess in ambiguous cases.

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.