Skip to main content
Glama

works_list

Browse paginated template projects by category to retrieve template IDs, tags, usage stats, and cover/GIF references, then choose one to download for study.

Instructions

分页列出像塑首页「模板」某个分类下的作品。首页作品是完整的像塑工程(官方工程和用户投稿),可下载到本地阅读、学习其场景和脚本做法;任意一个工程窗口开着即可。每次都带上全部分类 categories(推荐、官方工程、新手必做、游戏、妆容、AI玩法等)。每条作品有 template_id、标题、标签、已发布到抖音的特效 ID 和发布量(effect_id / publish_count,没有则为 null)、使用量、工程包大小、封面 cover_ref 和动图 gif_ref(交给 image_view 看)。拿到 template_id 后用 works_download 下载工程。

返回里的图片、视频、音频给的是短引用(*_ref / *_refs,如 img:12、video:3),交给 image_view:图片直接显示,视频和音频返回原地址;引用在 MCP 服务这次运行期间有效。

Input Schema

NameRequiredDescriptionDefault
sortNo排序:suggest 推荐(默认)、latest 最新、effect_usage 特效使用量、project_usage 工程使用量。
countNo每页数量,默认 20。
cursorNo翻页游标,原样取上一页的 next_cursor;最后一页的 next_cursor 是 null。
category_idNoworks_list 返回的 categories 里的分类 ID;省略时用第一个分类(推荐)。
instance_idNo官方 list_instances 返回的 instance_id,与 project_path 二选一。
project_pathNo目标工程的绝对路径。与 instance_id 二选一;只开了一个工程窗口时都可省略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it discloses cursor-based pagination (next_cursor, null on last page), that each work may have null effect_id/publish_count, that a project window must be open, and, importantly, that *_ref references are only valid for the lifetime of the current MCP service run. It does not state that the operation is read-only, or describe any rate or size 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?

The core purpose is front-loaded in the first sentence, and the workflow handoff and reference-lifetime note follow in a logical order. The final paragraph on *_ref short references is somewhat generic, but it is still load-bearing because it tells the agent to route them through image_view.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must describe the return shape, and it does: template_id, title, tags, effect_id/publish_count with null handling, usage count, package size, cover_ref and gif_ref, plus pagination cursor semantics. Given six all-optional parameters and no annotations, this is close to complete; only explicit read-only and permission expectations are missing.

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 all six parameters are already documented in the schema, which sets the baseline at 3. The description reinforces that category_id values come from the categories list returned by this tool and that instance_id/project_path can be omitted when only one project window is open, but it adds little beyond the schema text.

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 description opens with a specific verb and resource: paginated listing of works under one category of the Xiangsu homepage Templates section, and it explains what those works are (complete official/user-submitted projects). That is enough for an agent to distinguish it from siblings such as works_search, works_by_effect, and works_download.

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?

The description gives a concrete workflow handoff: once you have a template_id, use works_download to download the project, and it says to always pass all returned categories. However, it never explicitly contrasts this tool with works_search or works_by_effect, so the choice among the listing/search siblings is left to inference.

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