Skip to main content
Glama
jsdelivr-mcp
by anvme

jsdelivr_gh_files

List files in a specific GitHub repository version on the jsDelivr CDN to inspect package contents, with tree or flat output and a 50MB repo limit.

Instructions

List files in a specific GitHub repo version on jsDelivr CDN (max 50MB repos).

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_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesGitHub repo name, e.g. 'bootstrap'
userYesGitHub username or org, e.g. 'twbs'
versionYesExact version, e.g. '5.3.3'
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?

No annotations exist, so the description carries the full burden, and it discloses only one behavioral trait: repositories are capped at 50MB. It says nothing about authentication, rate limits, pagination, or how errors surface for oversized repos or missing versions, which matters for a no-annotation 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?

One front-loaded sentence with zero filler, and the size constraint is attached as a compact parenthetical. It is efficient, though the brevity leaves no room for the operational caveats an unannotated tool needs.

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?

For a four-parameter listing tool with no output schema and no annotations, the definition covers purpose and one hard limit but omits what the response looks like and how tree vs flat shapes differ. Adequate to invoke, thin for interpreting results.

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% and every parameter, including the 'tree'/'flat' enum with its default, is documented in the schema itself. The description only reinforces that 'version' must be an exact repo version, adding little beyond the structured data, 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 specific verb and resource: "List files in a specific GitHub repo version on jsDelivr CDN." An agent can distinguish it from stats-oriented siblings like jsdelivr_gh_version_files_stats by the verb. It does not explicitly name a sibling it is not, so it stops short of a 5.

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 or when-not-to-use guidance and no alternatives named among the many sibling tools (e.g. jsdelivr_gh_repo, jsdelivr_gh_resolve). The only usage constraint offered is the parenthetical repo-size limit, which does not route the agent between tools.

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