Skip to main content
Glama

Search components

search_components
Read-only

Search 8pt components by an English or Chinese description (buttons, cards, inputs, backgrounds, navigation, pricing, data display and more). Returns slug, name, category and summary. Leave query empty to list all.

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
limitNoDefault 10
queryNoThe component you need, e.g. "pricing toggle", "glow button", "hover preview"
categoryNoOptional: category name or key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine value beyond that by enumerating the returned fields (slug, name, category, summary) in the absence of an output schema, and by noting the empty-query behavior. It does not mention result ordering or how limit interacts with a broad query.

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

Conciseness5/5

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

Three short sentences, front-loaded with the core verb and resource, then the return shape, then the edge-case behavior. Every sentence carries distinct information with no repetition of the schema or title.

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 three-parameter read-only search tool with full schema documentation and no output schema, the description covers purpose, return fields, and the empty-query case. The only gaps are the category semantics and how limit behaves with broad matches, which the schema partially covers.

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 real meaning on top: it tells the agent that an empty query lists everything, which explains the optionality of the main search parameter. It says nothing extra about category values or the default/ceiling of limit.

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?

The description uses a specific verb and resource ("Search 8pt components") and scopes the domain with example categories like buttons, cards, pricing, and data display. It also names the return fields, so an agent knows what it gets back. It never contrasts itself with siblings such as get_component or search_icons, so the differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Leave query empty to list all" gives one concrete usage pattern and clarifies the zero-required-parameter case. However, it never says when to reach for search_components instead of get_component (fetch details) or search_icons, so the choice between siblings is implied rather than instructed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources