Skip to main content
Glama

get_task_artifacts

Pages through up to 50 task artifact references with observed availability, enabling bounded inspection of a task's artifacts via cursor-based reads.

Instructions

Page at most 50 artifact references with current stat observations, not content verification.

Verified human callers can inspect a known standalone or workflow-bound task; task callers can inspect only self. Workflow-bound items carry a workflow binding. Builders and inherited descendants are refused (use get_workflow_artifacts for run-level reads). Cursors are task-bound and reject manifest changes. Availability is available/deleted/changed/unavailable at observed_at; available does not establish unchanged contents. Missing legacy manifests are empty; corrupt ones unavailable. Caller indexing is bounded; retry a catalog-preparation error to advance cold history.

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": {
      "task_id": "<task_id>"
    },
    "name": "get_task_artifacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
task_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: a hard page cap of 50, task-bound cursors that reject manifest changes, the available/deleted/changed/unavailable observation vocabulary, the warning that available does not mean unchanged contents, and legacy vs corrupt manifest handling. It even discloses a retry remedy for catalog-preparation errors and bounded caller indexing.

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?

Front-loaded with the core purpose and page cap before any conditional rules, and nearly every sentence adds distinct operational facts. It reads as dense fragmentary jargon, however, and the caller-permission rules could be grouped more cleanly for scanning.

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 paginated reader with an output schema (so return shapes need no explanation), this covers scope, permissions, pagination, status semantics, and legacy/corrupt edge cases with a recovery hint. Little an agent needs to call it correctly is absent besides parameter defaults.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it partially does: it establishes the limit cap of 50, the task-bound and manifest-invalidated nature of cursors, and the access rules governing task_id. It still omits the schema's default of 20 and any cursor format or opacity detail, leaving a gap against a 0% coverage schema.

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 opening clause names a specific verb and resource ('Page ... artifact references with current stat observations') and immediately delimits scope with 'not content verification'. It also names the sibling it is not for run-level reads (get_workflow_artifacts), so an agent can distinguish it without opening a schema.

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

Usage Guidelines5/5

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

Explicit caller-scoped rules are given: verified humans may inspect a known standalone or workflow-bound task, task callers only self, and builders/inherited descendants are refused. It names the alternative (get_workflow_artifacts) and the condition that selects it, plus the cursor invalidation rule on manifest changes.

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