Skip to main content
Glama

Search AI Canvas components

search_components
Read-onlyIdempotent

Find React and Tailwind components or full-screen templates by fuzzy keyword, tag, or description. Returns ranked matches with screenshots and install commands for quick evaluation.

Instructions

Fuzzy keyword search across standalone components, design-system components, AND ready-made templates (whole example screens). Matches on slug, name, description, categories, and tags; returns best matches ranked by relevance. Use when the user describes what they want in their own words, e.g. "an animated card stack", "background with waves", "a mission control dashboard". Results include screenshot URLs and install commands for immediate evaluation. A result tagged "kind": "template" is a full screen. Fetch it with get_template, not get_component.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax number of matches to return. Default 10.
queryYesFree-text search query. Multiple words are tokenized and matched independently.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and openWorld, so the safety profile is covered. The description adds meaningful behavior beyond that: matching across five fields, relevance ranking, screenshot URLs and install commands in results, and the special 'kind: template' case with its follow-up tool. It says nothing about empty-result handling or paging beyond the schema's limit.

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?

Four sentences, front-loaded with the scope, then the trigger condition, then result contents, then the template caveat. No sentence repeats the name or the schema, and the most consequential routing detail (template vs component) lands last as an explicit warning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by describing what comes back (screenshot URLs, install commands, a kind discriminator). With only two simple, fully documented parameters and annotations covering safety, nothing an agent needs to call this correctly is missing.

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 would be 3, but the description adds genuine meaning by specifying which fields a query is matched against and that results are relevance-ranked best-first. That tells an agent how to phrase a query (slug words, category names, tags) in a way the schema's 'free-text search query' does not.

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 opens with a specific verb and scope: 'Fuzzy keyword search across standalone components, design-system components, AND ready-made templates'. It also names the indexed fields (slug, name, description, categories, tags) and the ranking behavior, which distinguishes it from list_components and list_templates without needing their schemas.

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?

It gives an explicit trigger condition — 'use when the user describes what they want in their own words' — reinforced by three concrete example queries, and it explicitly routes template results to get_template rather than get_component. It stops short of stating when not to use it (e.g., enumerating the catalog with list_components instead), so it is strong context without full exclusion guidance.

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