Skip to main content
Glama
MCP Design System Extractor

MCP Design System Extractor

search_components

Search design system components by name, title, category, or purpose to find UI elements like buttons, forms, modals, and cards. Filter by text or semantic purpose with pagination.

Instructions

Search design system components by name, title, category, or purpose. Find UI components like modals, dialogs, buttons, forms, cards, etc. Supports text search (query) and semantic search by purpose. Available purposes: "form inputs", "navigation", "feedback", "data display", "layout", "buttons", "progress", "media". Supports pagination for large result sets.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based). Default is 1.
queryNoText search query (e.g., "button", "form", "nav"). Use "*" to list all. Case-insensitive partial matching. Optional if purpose is provided.
purposeNoSemantic search by purpose. Available: "form inputs", "navigation", "feedback", "data display", "layout", "buttons", "progress", "media". Can be combined with query.
pageSizeNoNumber of components per page (1-100). Default is 20.
searchInNoWhere to search: "name" (component name only), "title" (full path), "category" (grouping), or "all" (search everywhere, default)

Output Schema

NameRequiredDescriptionDefault
componentsYes
paginationYesWhere the returned slice sits in the full result set.
descriptionNoWhat the matched purpose covers; present only for a purpose search

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0
  2. Removedv1.2.0
  3. First observed

TDQS

A3.6/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 pagination for large result sets and implies read-only behavior, but says nothing about result limits, ordering, or what happens when neither query nor purpose is set.

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?

Front-loaded with the core capability and kept to four sentences. The enumerated purpose list duplicates the enum in the schema, which is the one piece of avoidable repetition.

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?

An output schema exists, so return values need not be explained, and all five optional parameters are schema-documented. What is missing is guidance on combining query with purpose in practice and on when to prefer this over list_components.

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% and every parameter is documented inline, so the baseline of 3 applies. The description restates the purpose enum values and pagination support already present in the schema rather than adding new meaning.

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 and resource ('Search design system components') and enumerates the searchable fields (name, title, category, purpose), which is concrete. It does not differentiate itself from the sibling list_components, so the agent must infer when this tool is preferable to a plain listing.

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 clear usage context: text search via query, semantic search via purpose, and the '*' wildcard to list everything. Exclusions and sibling routing are absent (no mention of list_components as the bulk-enumeration alternative), which keeps it short of a 5.

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