Skip to main content
Glama

Search components

search_components
Read-only

Search the UICapsule catalog by what a component does or looks like. An empty query lists everything, newest first.

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
tagsNoOnly components carrying every one of these tags
limitNo
queryNoFree text, e.g. "rotary dial" or "ios volume slider"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.7/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 the safety profile is covered. The description adds real behavioral context beyond that: empty-query semantics, newest-first ordering, and that matching is semantic ("what a component does or looks like") rather than exact-string.

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?

Two sentences, zero filler, with the core purpose front-loaded and the empty-query fallback placed second. Every clause carries information the agent needs.

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

Completeness3/5

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

The tool is simple (3 optional params, no output schema), but the description never says what a result contains — notably whether it returns component IDs that get_component needs, which is the natural follow-up call. That search-to-fetch handoff is the one meaningful gap.

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 coverage is 67%: tags and query are documented in-schema and limit is constrained by default/min/max. The description adds only the empty-query behavior for the query param and says nothing new about tags (AND-semantics) or 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?

States a specific verb+resource ("Search the UICapsule catalog") and scopes it to behavior/appearance, which tells the agent this is a discovery tool. It stops short of naming its sibling get_component, so the search-vs-fetch distinction must be inferred from the sibling's name.

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?

"An empty query lists everything, newest first" is a genuine usage condition that tells the agent how to browse without a query. However, there is no guidance on when to use this versus get_component, nor any note that tags and query can be combined.

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.