Skip to main content
Glama

List Artifacts

list_artifacts
Read-onlyIdempotent

List a project's or a task's artifacts without their content; a project's include its tasks'. A page can be empty while next_cursor is set, so keep paging. Open one with read_artifact.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_artifacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results per page.
queryNoText to find in artifact titles or descriptions, ignoring case.
cursorNoThe next_cursor from the previous page, unchanged; omit for the first page.
statusNoarchived lists only archived artifacts; all lists both.active
task_idNoOnly this task's artifacts: its ID or ref, such as web-app-3.
project_idNoThis project's artifacts, its tasks' included: its ID or key.

Output Schema

NameRequiredDescriptionDefault
noticesNoVenom reminders to read first.
artifactsYesArtifacts in this page (may be empty while next_cursor is set).
next_cursorNoNext page cursor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"To continue a list, the next_cursor the previous page returned, passed unchanged. Omit it to start from the first page."New value: +"The next_cursor from the previous page, unchanged; omit for the first page."
    • changedInput schema / properties / limit / description
      Previous value: -"How many results to show in this page; page on with cursor for more."New value: +"How many results per page."
    • changedInput schema / properties / project_id / description
      Previous value: -"List this project's artifacts, its tasks' included; ID or key."New value: +"This project's artifacts, its tasks' included: its ID or key."
    • changedInput schema / properties / query / description
      Previous value: -"A word or phrase from the artifact's title or description, ignoring case; omit to list them all."New value: +"Text to find in artifact titles or descriptions, ignoring case."
    • changedInput schema / properties / status / description
      Previous value: -"active lists the artifacts in use; archived lists only archived ones; all lists both."New value: +"archived lists only archived artifacts; all lists both."
    • changedInput schema / properties / task_id / description
      Previous value: -"Show only this task's artifacts: its ID or ref, such as web-app-3."New value: +"Only this task's artifacts: its ID or ref, such as web-app-3."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: content is omitted, project scope recursively includes task artifacts, and an empty page can still carry a next_cursor. Return shape is covered by the output schema.

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, front-loaded with the resource and the metadata-only scope, with no filler. The compressed clause "a project's include its tasks'" is efficient but slightly garbled, which costs a point on clarity.

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?

For a six-parameter listing tool with a full output schema and rich annotations, everything an agent needs is present: what is returned (artifacts without content), how scope collapses for projects, how to continue paging, and which sibling to call for content. Filter parameters are adequately covered by the schema descriptions.

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 cursor, status, limit, query, task_id and project_id are already documented, including the project-includes-tasks semantics. The description reinforces the cursor protocol ("keep paging" when a page is empty) but adds no format or constraint detail the schema doesn't already carry. Baseline 3 applies.

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 a project's or a task's artifacts") plus a key scope constraint (metadata only, "without their content") and notes that a project listing subsumes its tasks' artifacts. It routes away from the content-reading sibling ("Open one with read_artifact"), though the elliptical phrasing "a project's include its tasks'" takes a second read and the relationship to list_artifact_revisions or search is left implicit.

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?

Gives clear usage context: use it to enumerate artifacts when you don't need content, then call read_artifact to open one. It also provides an operational rule for paging ("keep paging" even when a page is empty). No explicit when-not guidance against list_artifact_revisions or search, which keeps it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.