Skip to main content
Glama

search_parts

Search a design-notes library to find reusable interactive and motion design parts for AI coding tools. Returns each part's notes, anchors, parameters, and index.html path.

Instructions

检索设计零件库:发明表(每篇活笔记是什么、什么时候用)+ 零件表(要做哪一块 UI,打开哪一页哪一处)+ 各笔记页尾「可拆」锚点 + 各笔记 README。query 为空字符串时返回全量发明表;否则返回匹配条目(type: invention/part/detachable/readme,含 note、anchor、path、description)。示例 query:"镜头"、"工具栏"、"tooltip"、"批量选择"、"手风琴"。中文关键词效果最好。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes检索词(中文/英文关键词,空格分隔多个词);传空字符串返回全量发明表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/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 meaningful work: it discloses the returned entry categories (type: invention/part/detachable/readme) and the fields returned (note, anchor, path, description), plus the empty-query fallback behavior. It omits result-size limits, ordering, and pagination behavior, which matters for a search tool.

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?

One dense paragraph, front-loaded with the searched corpus and immediately followed by the empty-query rule and examples. Every clause carries information, though the run-on corpus enumeration is slightly heavy for scanning.

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?

No output schema exists, and the description compensates by naming the returned type values and fields, plus the empty-query behavior. For a single-parameter search tool this is close to complete; only pagination/result-cap behavior is unaddressed.

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, but the description adds real value: five domain-specific example queries (镜头, 工具栏, tooltip, 批量选择, 手风琴) and the tip that Chinese keywords work best, which tells the agent how to phrase input rather than just its type.

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?

States a specific verb (检索/search) and a specific resource (设计零件库), then enumerates exactly what corpus is covered: invention table, parts table, per-note 「可拆」 anchors, and READMEs. That enumeration implicitly separates it from get_part/get_source, but it never names those siblings, so differentiation is inferential rather than explicit.

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?

Gives a clear routing rule for the one parameter: empty query returns the full invention table, non-empty returns matching entries, backed by five concrete example queries. It does not state when to prefer this over get_part or get_source, so the alternative-selection guidance is absent.

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

Deploy Server

Other Tools