Skip to main content
Glama

List Artifacts

list_artifacts

List artifact files for a result and locate its output directory; by default excludes superseded, dead, and quarantined artifacts unless include_superseded is true.

Instructions

List artifact files for a result.

Uses evidence_relpath to find the output directory. Non-fetchable for SUPERSEDED/DEAD/QUARANTINED unless include_superseded=True.

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": {
      "result_name": "<result_name>",
      "domain_key": "<domain_key>"
    },
    "name": "list_artifacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_keyYes
result_nameYes
include_supersededNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully reveals two behavioral facts: the output directory is located via evidence_relpath, and entries with SUPERSEDED/DEAD/QUARANTINED status are gated behind include_superseded, which is real context beyond the schema. It is silent, however, on read-only safety, behavior for an unknown result_name, and any listing limits.

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?

Three short sentences with the primary action front-loaded and the conditional placed last where it belongs. The phrase "Non-fetchable" is terse to the point of ambiguity about what the listing actually returns.

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?

An output schema exists, so return values need no explanation, and the status-gating rule is a valuable addition. Still, a required parameter is undocumented, there are no annotations covering safety, and error/empty-result behavior is unaddressed, leaving gaps for a tool with three parameters.

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%, so the description must document all three parameters. It explains include_superseded's effect and implies result_name's role, but domain_key — a required parameter — is never mentioned or explained anywhere, leaving an agent to guess its meaning and format.

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?

"List artifact files for a result" gives a specific verb and resource, and the status-gating sentence clarifies the exact scope of what is listed. It does not name fetch_artifact as the contrasting sibling, so an agent must infer the difference from names alone.

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 description implies the use case (enumerating artifacts belonging to a result) and gives one concrete conditional — include_superseded=True to see non-fetchable entries — but offers no explicit when-not guidance or pointer to fetch_artifact for retrieving content.

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