Skip to main content
Glama
jsdelivr-mcp
by anvme

jsdelivr_npm_files

Lists files in a specific npm package version on the jsDelivr CDN, returning a nested tree or flat list to inspect package contents before use.

Instructions

List files in a specific npm package version on jsDelivr CDN (max 100MB packages).

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": "<package>",
      "version": "<version>"
    },
    "name": "jsdelivr_npm_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYesnpm package name, e.g. 'jquery' or '@popperjs/core'
versionYesExact version, e.g. '3.7.1'
structureNoResponse structure: 'tree' (nested) or 'flat' (list). Default: tree

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?

With no annotations, the description carries the full behavioral burden, yet it only discloses one trait: the 100MB package ceiling. It says nothing about auth requirements, rate limiting, pagination of large file lists, or what the response contains for a mutation-free read.

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?

One front-loaded sentence with a useful parenthetical constraint and no filler. It is efficient, though the brevity leaves the reader with nothing on behavior or output.

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?

A read-only listing tool with fully documented parameters and no output schema needs little more, but the absence of any return-shape or size/pagination context leaves a real gap for an agent calling it. Adequate, not complete.

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 parameter already documents itself, including the tree/flat enum and default. The description adds no format or semantics beyond 'specific npm package version', so baseline 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?

States a concrete verb and resource: 'List files in a specific npm package version on jsDelivr CDN'. The 'npm package version' scope implicitly separates it from the gh_files and proxy_files siblings, though it never names an alternative 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?

No when-to-use, when-not-to-use, or alternative routing. An agent must infer whether jsdelivr_npm_entrypoints or jsdelivr_npm_resolve is the better choice for related listing tasks; the only guidance given is an eligibility constraint (100MB), not usage context.

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