Skip to main content
Glama
cdnjs-frontend-libraries-mcp

cdnjs-frontend-libraries-mcp

Get CDNjs library versions

get_cdnjs_library_versions
Read-onlyIdempotent

List published versions of a CDNjs library in reverse chronological order. Filter by semver prefix and limit results to check release history or choose compatible versions.

Instructions

List published versions for a CDNjs library in reverse chronological order with optional semver prefix filtering.

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": {
      "library": "<library>"
    },
    "name": "get_cdnjs_library_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum versions to return (default 30, max 100).
prefixNoOptional version prefix filter (e.g. "18.", "4.").
libraryYesExact CDNjs library slug (e.g. "react", "vue").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the bar is lower. The description adds genuinely new behavioral facts not in the schema: results are ordered reverse-chronologically and prefix filtering follows semver conventions. It stops short of describing error behavior for invalid libraries, but the added ordering/filter semantics are meaningful.

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 well-formed sentence with the resource and ordering front-loaded and no redundant clauses. Every element (ordering, optional prefix filter) carries information an agent needs.

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 simple read-only listing tool with fully documented params, rich annotations, and no output schema, the description conveys what is returned (a list of published versions) and in what order. Only error/empty-result behavior is left unaddressed, which is a minor gap.

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%, with all three parameters (library, prefix, limit) documented inline including defaults and examples, so the baseline is 3. The description reinforces that prefix filtering is semver-based, but adds little beyond what the schema already states.

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?

Specific verb ('List') plus resource ('published versions for a CDNjs library') makes the purpose unambiguous. It is clearly distinguishable from siblings like get_cdnjs_library_metadata or get_cdnjs_version_sri_hashes by the resource it returns, though it doesn't name them explicitly.

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 infer this is the tool for enumerating a library's version history, versus metadata or SRI hashes. There is no explicit statement of when to choose this over the sibling tools or any prerequisite caveats (e.g. what happens with an unknown slug).

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