Skip to main content
Glama
ply-ui-ng

Ply UI

Official

Search Ply components

search_components
Read-onlyIdempotent

Find Ply registry components by fuzzy or token match when you only know a rough name like “dialog modal”; returns ranked matches, not installs.

Instructions

Rank Ply registry components by a fuzzy or token match when the name is uncertain (for example "dialog modal"). Not a category browse: list_components filters by tier, category, or substring, and get_component reads one known name. Does not install. To copy a match into a project, tell the user to run npx ply-ui-cli add (or local stdio add_components).

Input Schema

NameRequiredDescriptionDefault
tierNoFilter by license tierall
limitNoMaximum ranked matches to return (1-40). Defaults to 12.
queryYesNatural-language or substring query (e.g. "dialog modal", "button"). Matches name, description, usage, and keywords.
categoryNoFilter by registry category

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / limit / description
      Added value: +"Maximum ranked matches to return (1-40). Defaults to 12."
  2. First observedv0.1.0

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, non-destructive, open-world behavior; the description adds the valuable negative guarantee "Does not install" and points to the correct mechanism for the mutating step (npx ply-ui-cli add or add_components). It doesn't say how ranking or tie-breaking works or whether results are paginated, which keeps it below 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, zero filler: purpose and match mode first, sibling differentiation second, side-effect and follow-up action last. Every sentence earns its place.

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

Completeness5/5

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

For a 4-param search tool with full schema coverage and rich annotations, nothing an agent needs to choose and invoke it correctly is missing; result ordering is implied by "rank" and no output schema exists to explain.

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%, including the query param's natural-language/substring semantics and the limit range, so the schema already carries parameter meaning. The description only echoes the query example ("dialog modal") and says nothing about tier or category beyond what the enum descriptions provide, so baseline 3 applies.

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 ("Rank Ply registry components") plus the matching mode (fuzzy or token match), and explicitly contrasts itself with list_components and get_component by name.

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?

Gives the trigger condition ("when the name is uncertain"), an example query, explicit exclusions ("Not a category browse"), and names both alternative tools with their respective use cases. Also covers the downstream action: instruct the user to run the CLI add command.

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