Skip to main content
Glama

list_artifacts

Lists all artifacts registered for a session, including name, hash prefix, and size, so you can verify what materials are stored before continuing a learning plan.

Instructions

列这个会话登记过的全部产物(名称/哈希前缀/大小)。

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

Input Schema

NameRequiredDescriptionDefault
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the returned fields and the session scoping, which is genuinely useful, but it says nothing about ordering, pagination/limits on large artifact sets, whether an empty result is possible, or required permissions.

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?

A single compact sentence with the scope stated first and the returned fields parenthesized. Every element earns its place and nothing is padded.

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?

For a simple read tool with one parameter, no output schema, and no annotations, the description covers purpose, scope, and return shape. It falls short on edge-case behavior (empty lists, ordering, large outputs) that an agent would want when deciding how to consume the result.

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?

There is one parameter (session_id) at 0% schema description coverage, so the schema offers only "type: string". The phrase "这个会话" implies session_id identifies the session whose artifacts are listed, which is meaningful but thin — no format, example, or indication of where a session id comes from.

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?

The description gives a specific verb ("列" = list), a specific resource ("产物" = artifacts), and a scope qualifier ("这个会话" = this session), plus the fields returned (name / hash prefix / size). It is clearly distinct from attach_artifact or verify_artifacts, though it never names those siblings explicitly.

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 or when-not-to-use guidance and no alternative is mentioned. The agent must infer that this is the read path for artifacts registered in a session versus attach_artifact (write) or verify_artifacts (validation) purely from the names.

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