Skip to main content
Glama

List workflow artifact files

gh_list_artifact_files
Read-onlyIdempotent

List file paths and sizes from a specific GitHub Actions artifact, with safety validation and pagination. Read-only tool; GitHub is never modified.

Instructions

Read-only: inspect one exact, unexpired GitHub Actions artifact ZIP and return one bounded page of normalized regular-file paths and sizes. The archive is downloaded only into temporary server state, never extracted, and is rejected for traversal, absolute paths, duplicate/conflicting paths, symbolic links, special entries, encryption, or configured hard-limit violations. GitHub is never modified.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoOne-based file page.
repoYesCanonical GitHub repository name without path separators.
ownerYesCanonical GitHub repository owner.
per_pageNoFile paths per page, capped by server policy.
artifact_idYesExact workflow artifact identifier.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
filesYes
warningNo
has_moreYes
per_pageYes
truncatedYes
artifact_idYes
total_countYes
archive_bytesYes
artifact_nameYes
archive_sha256Yes
artifact_digestNo
workflow_run_idYes
workflow_head_shaYes
artifact_expires_atYes
artifact_size_in_bytesYes
Behavior5/5

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

The description thoroughly discloses behavioral traits beyond the annotations: it downloads to temporary server state, never extracts, and rejects traversal, absolute paths, duplicates, symlinks, etc. This adds substantial safety context that the annotations (readOnlyHint, idempotentHint, destructiveHint) do not cover.

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?

The description is a single, dense paragraph that front-loads the core purpose and then efficiently lists safety constraints. Every sentence adds value without redundancy or fluff.

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

Completeness5/5

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

Given the presence of an output schema and comprehensive parameter descriptions, the description fully covers the tool's behavior, including pagination, return of normalized paths and sizes, and the read-only nature. It is complete for an agent to invoke correctly.

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%, so each parameter has a meaningful schema description (e.g., artifact_id as 'Exact workflow artifact identifier'). The tool description itself does not add extra parameter semantics beyond what the schema already provides, so the baseline score of 3 applies.

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?

The description clearly states the tool's purpose: to inspect a specific GitHub Actions artifact ZIP and return a bounded page of normalized file paths and sizes. It explicitly differentiates itself from siblings like gh_get_artifact and gh_read_artifact_file by focusing on listing file metadata without extraction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description implies usage context by specifying it is for reading artifact contents and never modifies GitHub. It does not explicitly name alternatives or state when not to use it, but the bounded page and read-only nature make it clear this is for listing file information. The sibling context provides additional cues.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fvanevski/gh_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server