Skip to main content
Glama

Find a design system component

find_component
Read-only

Finds the component to use for a UI need, e.g. "date picker", "primary action", "modal", "dropdown of countries". Returns the import, rules and an example. Always use these instead of raw HTML elements or other UI libraries.

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": {
      "intent": "<intent>"
    },
    "name": "find_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
intentYesWhat you need, in plain words
frameworkNoThe project's UI framework (from its package.json: @angular/core → angular, vue → vue, svelte → svelte, solid-js → solid, react → react). Defaults to the one set for this connection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 and openWorldHint=false, so safety is covered; the description adds that the response contains the import, rules and an example, which matters because there is no output schema. It says nothing about how ranking works, what happens on zero matches, or how `limit` affects results.

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, front-loaded with the verb and purpose, with example queries embedded inline rather than as a separate list. The output summary and the usage directive each earn their place; nothing is redundant with the title.

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 read-only discovery tool with no output schema, the description covers purpose, example inputs, return contents and the policy that makes it mandatory over raw HTML. The remaining gap is the two optional parameters (`limit` and the framework default), which are handled only by the schema.

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%: `framework` is already well documented in the schema (including the package.json mapping) and `intent` is only described as "what you need, in plain words". The description's example phrasings usefully show the expected register and length of an intent string, but `limit` and `framework` are never mentioned in the description, so it does not fully compensate for the gap.

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 ("Finds the component to use for a UI need") and grounds it with four concrete example intents ("date picker", "primary action", "modal", "dropdown of countries"). It also discloses what comes back (import, rules, example), so an agent can distinguish it from doc-fetching or token-lookup siblings without opening any schema.

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?

"Always use these instead of raw HTML elements or other UI libraries" is an explicit positive-use directive with a clear prohibition, which is unusually strong guidance. It stops short of routing the agent between this tool and siblings like get_component_docs or get_template once a component is already known, so it is not a full when/when-not map.

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