Skip to main content
Glama

library_list

Browse asset panels and subcategories to list applicable materials with template IDs and cover references for preview or application.

Instructions

不传 panel_key 时列出可直接应用的分类面板(panel_key)和类型 kind:general 为普通面板(如 3d_distortion=脸部变形/3D 变形、distortion=美型、gaoguai_gan/makeup_gan=AI 实时变脸、3d_makeup=美妆、3d_filter=滤镜、sticker=跟脸贴纸);square 为 aigc_material=素材广场(其他创作者分享的素材,含现成的 AI 图片、AI 妆容、自定义实时变脸,应用时不重新生成、不扣额度);collection 为 collection=收藏(当前账号收藏的素材)。需要扣额度现生成的 AI 面板不在其中。传 panel_key 时分页列出该面板里的素材:子分类、素材(template_id、title、kind、封面 cover_ref 等)和翻页游标。素材广场的子分类是妆容、图片、实时变脸、跟脸贴纸、前景贴纸、画面特效、3D 模型、3D 饰品;收藏的子分类是全部、美妆、滤镜等目录。没有可应用内容的广场卡片不列出,只在 unsupported 里计数。按画面挑选时把 cover_ref 交给 image_view 看;知道要找什么时用 library_search 按关键词搜,本工具适合按面板和子分类浏览。拿到 template_id 后用 library_apply 应用,AI 图片卡片(kind=ai_image)的整组结果图用 library_images 取。

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

Input Schema

NameRequiredDescriptionDefault
countNo每页数量,默认 20。
cursorNo翻页游标,原样取上一页的 next_cursor(收藏是字符串)。
panel_keyNo面板,取不传 panel_key 时返回的 panels 里的 panel_key;省略时只返回面板清单。
category_idNo子分类 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/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden, and it does disclose important behavior: square (aigc_material) items apply without regeneration or quota consumption, generated AI panels are excluded, panels without applicable content are omitted but counted in unsupported, and *_ref references expire when the MCP service run ends. However, it does not cover error behavior, auth/prerequisite needs, or the difference between instance_id and project_path beyond what the schema already states.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core behavior before the alternative tools and downstream steps, and almost every sentence adds information. The downside is density: the long parenthesized enumeration of panel kinds and the catalog of subcategories make it a wall of text that is harder to scan than a short bulleted structure would be.

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?

With no annotations and no output schema, the description supplies what an agent needs: the shape of the response (panels, subcategories, materials with template_id/title/kind/cover_ref, next_cursor), pagination behavior, the unsupported counter, and the lifetime of image/video/audio references. It is nearly complete for a browsing tool, with only retrieval edge cases left unstated.

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 coverage is 100%, so the schema documents all six parameters and the baseline is 3. The description does add real meaning for panel_key by explaining the general/square/collection grouping and the kinds inside each, and it hints at subcategory structure for category_id, but the other parameters (count, cursor, instance_id, project_path) are described only in the 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 description states two precise modes: with no panel_key it lists applicable panels and kinds, and with panel_key it paginates the materials inside that panel. It names the resource (panels/materials) and the exact identifiers returned (panel_key, kind, template_id, cover_ref), so an agent can distinguish it from library_search, library_apply, and library_images without opening any 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?

It gives explicit routing: use image_view when selecting by visual appearance via cover_ref, use library_search when you know what keyword you want, and use this tool when browsing by panel and subcategory. It also states the downstream steps (library_apply for template_id, library_images for ai_image results), which is clear when-to-use and when-not guidance.

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