Skip to main content
Glama

Stash

Search components

search_components
Read-only

Find React UI components by words: Stash Elements first, then open-source libraries (Magic UI, Animate UI, Aceternity and others); returns each with its shadcn install command and license source.

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
limitNo
queryYese.g. "marquee", "animated background", "pricing".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 the useful behavioral fact that results span multiple source libraries and each result carries a shadcn install command and license source. That return-content detail is valuable because there is no output schema. It stops short of describing ranking, deduplication, or what an empty result looks like.

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?

A single dense sentence, front-loaded with the core verb and resource, with source priority and return shape appended via semicolons. No filler, though the parenthetical library list costs some space for modest benefit.

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 two-parameter read-only search with no output schema, the definition covers what the tool searches, across which sources, and what each result contains. The remaining gap is result-set behavior (how many come back, how limit interacts), which is the one thing an agent might need and cannot find elsewhere.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 50% schema coverage and only two parameters, the description should compensate but only reinforces the query's keyword nature ("by words"). The limit parameter — its default of 10, cap of 25, and effect on result count — is never mentioned in the description, leaving real ambiguity about paging through results.

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?

"Find React UI components by words" gives a specific verb (find) plus resource (React UI components) and signals keyword search rather than lookup-by-id, which implicitly distinguishes it from the get_* siblings. It stops short of explicitly naming a sibling, so it is clear but not fully differentiated.

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?

The description supplies a search-order strategy ("Stash Elements first, then open-source libraries"), which tells the agent how to sequence discovery. It never states when this tool should be used instead of get_element or get_effect, nor any exclusion, so usage is implied rather than prescribed.

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