Skip to main content
Glama

Search components

search_components
Read-onlyIdempotent

Finds components for a need described in plain words: a keyword ('pricing', 'marquee'), a few words ('dark saas hero') or a sentence ('pricing with three plans and a yearly toggle'). Matches component names, categories, the purpose of each section and its industry and style, understands plurals and related terms (plans finds pricing, three finds trio), and returns the best 25 first, each with its category and purpose. Follow up with get_component for the source; use list_components to see a whole category.

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
queryYesWhat the component should be or do, in English, e.g. 'pricing with three plans', 'testimonial marquee', 'contact form for a clinic', or a name fragment like 'OrbitGallery'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"One keyword or name fragment, e.g. 'hero', 'gallery', 'bento'. Matched against component names and category slugs and titles."New value: +"What the component should be or do, in English, e.g. 'pricing with three plans', 'testimonial marquee', 'contact form for a clinic', or a name fragment like 'OrbitGallery'."
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Search term."New value: +"One keyword or name fragment, e.g. 'hero', 'gallery', 'bento'. Matched against component names and category slugs and titles."
  3. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Suchbegriff."New value: +"Search term."
  4. First observed

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, closed-world, non-destructive, so the safety profile is covered. The description adds genuine behavioral detail beyond that: matching spans names, categories, section purpose, industry and style; it normalizes plurals and related terms; and it returns a ranked set of 25 results each carrying category and purpose. The one uncovered behavior is what happens beyond the first 25 results (no pagination or offset guidance).

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?

Three sentences, front-loaded with the capability, then matching behavior, then sibling routing. The parenthetical example lists are dense but each illustrates a distinct input form. No filler, though the first sentence is long enough that a slightly tighter phrasing would improve scanability.

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 one-parameter search tool with no output schema, the description covers what gets matched, how results are ranked and capped, and what each result contains (category and purpose). The only meaningful gap is the absence of guidance on retrieving results beyond the first 25.

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?

The single parameter has 100% schema description coverage, so the baseline is 3. The description still adds formulation guidance—that the query is a plain-language statement of need and can range from one keyword to a full sentence, including a name fragment—which helps an agent compose a better query than the schema examples alone imply.

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?

States a specific verb and resource ('Finds components') and then defines the input shape precisely—keyword, phrase, or sentence—with concrete examples ('pricing', 'dark saas hero', 'pricing with three plans and a yearly toggle'). It also distinguishes itself from siblings by naming get_component for the source and list_components for a whole category, so an agent can route without opening other schemas.

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?

Explicit follow-up routing: 'Follow up with get_component for the source; use list_components to see a whole category.' This tells the agent both what this tool is for (discovery) and which alternative serves the adjacent needs (full source vs. category browsing), leaving little to inference.

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.