Skip to main content
Glama

list_assets

Browse built-in icons, decorations, styles, text styles, collage layouts, and photo filters for poster and card design; get exact IDs, categories, or ready-to-use examples.

Instructions

查内置素材与样式清单,kind 选一类:icons 内置图标(query 中文或英文搜、ids 按 id 取;example 是可直接 node/insert-children 的完整 path 节点)、decorations 装饰素材(手绘线条、贴纸、标签;category 只看一类,用 add_decorations 放置)、styles 配色与字体组合(document/restyle 一键套用)、text_styles 现成花字(patch 直接作为 node/update-style 的补丁)、collages 拼图版式(example 是完整的拼图组节点,格子换图片填充)、filter_presets 照片滤镜预设(patch 同样给 node/update-style)。不给 kind 返回每类的条数和用法。

Input Schema

NameRequiredDescriptionDefault
idsNoicons / decorations:按 id 精确取
kindNo素材类别;不给返回各类简介
queryNoicons / decorations:中文或英文关键词,空格分隔的多个词需同时命中
categoryNodecorations:只看一类
pageWidthNocollages:页面宽 px(默认 1080)
pageHeightNocollages:页面高 px(默认 1440)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 well: it states the output shape per kind (path node for icons, group node for collages, style patch for text_styles/filter_presets) and the default behavior without kind. It omits anything about result caps or pagination for large asset sets, which is the remaining gap.

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?

Purpose is front-loaded and every clause maps to a distinct kind value, so little is wasted. The single dense block with nested parentheticals is harder to scan than a short bulleted breakdown 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?

For a 6-param, no-annotation, no-output-schema catalog tool, it covers return shape, default behavior, and per-kind parameter relevance. What it leaves unsaid is volume/pagination behavior and whether results are cached or static.

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 100%, so the baseline is 3; the description adds which kind each parameter applies to (query/ids for icons and decorations, category only for decorations, pageWidth/pageHeight only for collages), tying parameters to concrete tasks rather than restating names.

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?

A specific verb+resource (查内置素材与样式清单) followed by a full enumeration of the kind values and what each returns. The agent can tell exactly what this tool lists and how it differs from siblings like add_decorations or list_templates.

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?

Explicitly routes the agent per use case: decorations are placed with add_decorations, icon examples go straight into node/insert-children, text_styles/filter_presets patches feed node/update-style. It also documents the no-kind default (returns per-category counts and usage) as a discovery path.

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