Skip to main content
Glama

Search Kodza components

search_components
Read-only

Find UI components by what they do or look like, such as "image slider" or "sticky header". Returns slugs for fetching exact files and settings.

Instructions

Find Kodza UI components (plain HTML/CSS/vanilla JS) by what they do or look like, e.g. "button fill hover", "image slider", "sticky header", "date picker". An empty query lists a whole category. Returns the slugs get_component takes.

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
limitNoHow many results, 12 by default
queryNoWords describing the component or effect, in English
categoryNobuttons, links, text, images, cards, navigation, scroll, transitions, forms, overlays, feedback or data

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds real value beyond that by disclosing the free-form keyword search model, the empty-query behavior, and the return type. It does not mention result ordering or whether a partial-match/threshold applies, which would round out the behavior.

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 identity, then examples, then return value. No filler and every sentence carries information.

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?

With no output schema, the description usefully explains what is returned (slugs) and how empty queries behave, which is enough to call the tool correctly. Only minor gaps remain, such as result ordering and whether all matches or a ranked subset come back under the default limit.

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 description coverage is 100%, so query, category and limit are already documented in structured fields, putting this at the baseline. The description's example queries and empty-query semantics add modest meaning about how the query string behaves, but not much beyond what the schema states.

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 ("Find Kodza UI components") with concrete example queries, and clarifies what it returns ("the slugs get_component takes"), which cleanly distinguishes it from the sibling tool that consumes its output.

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?

Gives clear context for use via example queries and the empty-query case ("An empty query lists a whole category"), and implies the search-then-fetch flow with get_component through the slug reference. It stops short of an explicit "use this before get_component" routing statement.

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

Deploy Server

Other Tools