Skip to main content
Glama

list_artifacts

Read-onlyIdempotent

Lists files in a DagsHub artifact directory for a repository run and uses next_page_token to retrieve remaining entries.

Instructions

List an artifact directory; follow next_page_token for remaining entries.

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": {
      "repository": "<repository>",
      "run_id": "<run_id>"
    },
    "name": "list_artifacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
limitNo
run_idYes
page_tokenNo
repositoryYes

Output Schema

NameRequiredDescriptionDefault
itemsNo
sourceYes
revisionNo
warningsNo
truncatedNo
repositoryYes
next_page_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds one genuinely useful behavior — that results are paginated and the caller must follow a token — but it does not say whether listing is scoped to a run, what happens with a bad token, or that it fails on missing runs. It also names the token "next_page_token" while the schema parameter is "page_token", a minor naming inconsistency.

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?

A single compact sentence with the primary action front-loaded and no filler. It is efficient but borders on under-specification for a 5-parameter tool, so brevity is doing less work than it could.

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?

An output schema exists, so return values need not be described, but with 5 undocumented parameters and no annotation-independent context, the description leaves too much unspecified. An agent cannot tell what repository/run_id/path/limit mean or how they scope the listing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 5 parameters, so the description must compensate and does not: repository, run_id, path, and limit are never explained, and the pagination parameter is referred to by a different name than in the schema. Only the vague notion of a directory path and a continuation token come through.

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 an artifact directory"), which is clear enough to distinguish it from mutation tools like read_artifact or compare_runs. It does not explicitly differentiate itself from list_repo_files or list_experiments, so the sibling distinction is left to inference.

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?

There is no when-to-use guidance, no prerequisites (repository/run_id are required but unmentioned), and no stated alternative. The only operational hint is the pagination instruction, which is a mechanics note rather than usage guidance.

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