Skip to main content
Glama

github_repos_download_zipball_archive

Download a GitHub repository ZIP archive by owner, repo, and ref to inspect or save source code without cloning.

Instructions

Download a repository archive (zip)

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": {
      "owner": "<owner>",
      "repo": "<repo>",
      "ref": "<ref>"
    },
    "name": "github_repos_download_zipball_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesref
repoYesrepo
ownerYesowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.4
  2. Removed
  3. Addedv1.0.2

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only states the basic operation, omitting critical details such as read-only nature, authentication requirements, behavior on invalid refs, or rate limits. The name 'download' implies a read operation, but no additional context is given.

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?

The description is a single concise sentence that directly states the purpose. It is front-loaded with key information. However, it could include more detail without becoming verbose, so a 4 is suitable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema and minimal schema descriptions, the description should provide more complete context. It does not explain what the tool returns (presumably binary file), how the ref parameter works, or any other important aspects. This is insufficient for a tool with three required parameters.

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% (all parameters described), but descriptions are simply the parameter names ('owner', 'repo', 'ref'), adding no real meaning. The tool description does not elaborate on parameters. Following the baseline rule for high coverage, a score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool downloads a repository archive and specifies the format as zip. This distinguishes it from the sibling 'github_repos_download_tarball_archive' which would be a tar archive. The verb 'Download' and resource 'repository archive' are specific.

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 guidance is provided on when to use this tool versus alternatives like the tarball download or other repository content retrieval tools. The description does not mention any preconditions, allowed ref formats, or when not to use it.

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

Deploy Server

Other Tools