Skip to main content
Glama
jsdelivr-mcp
by anvme

jsdelivr_gh_resolve

Resolve a GitHub repository semver range or tag to an exact version via jsDelivr.

Instructions

Resolve a GitHub repo semver range or tag to an exact version via 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>"
    },
    "name": "jsdelivr_gh_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesGitHub repo name, e.g. 'bootstrap'
userYesGitHub username or org, e.g. 'twbs'
specifierNoSemver range or tag to resolve. Default: 'latest'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It indicates resolution happens 'via jsDelivr' but says nothing about the read-only network nature of the call, failure behavior for a nonexistent repo or unmatched range, or whether the result is cached — all relevant for an agent deciding whether to call it.

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 action and outcome front-loaded and zero filler. Nothing could be removed without losing meaning.

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 three-parameter lookup with full schema documentation and no output schema, the description covers what the tool does and what it yields (an exact version). Only the error/edge-case behavior is left implicit, which is a minor gap at this complexity level.

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 user, repo, and specifier are already documented with examples and a stated default of 'latest'. The description only echoes the 'semver range or tag' concept already present in the specifier description, adding no new syntax or format detail.

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 description pairs a specific verb ('Resolve') with a precise resource ('a GitHub repo semver range or tag') and states the output ('an exact version'). The 'GitHub' qualifier implicitly separates it from the sibling jsdelivr_npm_resolve, though it never names that 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Resolve a ... range or tag to an exact version' implies the use case: converting a non-exact specifier into a pinned version. There is no explicit when-to-use/when-not guidance and no pointer to related siblings such as jsdelivr_gh_top_versions or jsdelivr_gh_version_stats for other needs.

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