Skip to main content
Glama

Search the UI kit

ui_search
Read-only

Find UI kit entries (cem-ui registry/) whose id, name or any recorded field holds every word of the query. Returns the best matches, id first.

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": "ui_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly this kind
limitNoAt most this many (default 20)
queryYesWords to find, e.g. "site header" or "tabs"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the safe read-only, closed-world profile, so the bar is lower; the description adds genuine behavioral detail by stating that every word of the query must match (AND semantics) and that hits are ranked rather than exhaustive. It omits truncation behavior — whether limit actually caps results, and what happens when nothing matches — which keeps it from a 5.

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?

Two sentences, matching rule front-loaded ahead of the return note, with no filler. The trailing "id first" is slightly ambiguous (field order versus ranking tiebreak) and is the only spot that costs interpretation.

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?

With no output schema, the description carries the return-value burden, and "Returns the best matches, id first" is thin — the result shape, per-entry fields, and whether results are ever truncated are unstated. For a search tool with a ranking promise, an agent knows enough to call it but not enough to interpret the response confidently.

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, kind and limit are already documented with examples and bounds. The description echoes the query scope ("id, name or any recorded field") but adds no clarifying detail about how kind narrows the search or how limit interacts with ranking, so the baseline 3 applies.

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?

The description names a concrete verb and resource ("Find UI kit entries (cem-ui registry/)") and specifies the matching rule across id, name and recorded fields, which separates it functionally from ui_list (enumerate) and ui_get (fetch by id). However, it never names those siblings, so the distinction must be inferred from the semantics rather than stated.

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?

Usage is only implied: an agent can infer this is the tool for keyword lookup versus ui_list for enumeration, but the description gives no explicit when-to-use, when-not-to-use, or alternative-tool routing. Nothing is misleading, but nothing is disambiguated either.

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