Skip to main content
Glama

A2UI Atomic Catalog

find_atoms

Read-onlyIdempotent

Semantic search over the atom catalog: describe the UI piece you need in plain words and get the best-matching atoms, ranked best-first, each with a description and an example need. YOU choose from the list (the first entries are most likely, but check the descriptions), then call get_atom_schema for the one(s) you pick. Use this instead of scanning get_catalog when the vocabulary is large. Describe the need as a user would (e.g. "let clients choose grooming services and see the total price"), not by guessing an atom name. Pass renderer to keep only atoms that renderer draws as intended (status drawn or native); each result then carries renderer_status.

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": {
      "need": "<need>"
    },
    "name": "find_atoms"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoHow many candidates to return (default 10, max 50). If none fits, rephrase the need or ask for more.
needYesThe UI piece you need, in plain words (one need per call)
rendererNoOptional renderer id: react, lit, angular, copilotkit, a2ui-vue, flutter or compose. Keeps only atoms whose measured status for it is drawn or native; atoms with no renderer data (not yet measured) are left out.
include_degradedNoWith renderer only: also keep atoms with status degraded (Flutter lowers them to Basic components, so they show but not as the atom intends). Default false.

Output Schema

NameRequiredDescriptionDefault
atomsYesCandidates, best first.
countYesNumber of ranked atoms returned.
confidentYesTrue when the best score clears the rejection floor.
also_namedNoUnranked atoms whose names share a word with the request.
also_named_noteNoWhy also_named is listed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / include_degraded
      Added value: +{
      +  "description": "With renderer only: also keep atoms with status degraded (Flutter lowers them to Basic components, so they show but not as the atom intends). Default false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / renderer
      Added value: +{
      +  "description": "Optional renderer id: react, lit, angular, copilotkit, a2ui-vue, flutter or compose. Keeps only atoms whose measured status for it is drawn or native; atoms with no renderer data (not yet measured) are left out.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / atoms / items / properties / renderer_status
      Added value: +{
      +  "description": "With the renderer filter: that renderer's measured status for the atom (drawn, native or degraded).",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish read-only/idempotent/non-destructive, but the description adds genuinely non-obvious behavior: results are ranked best-first but must be verified by reading descriptions, and the `renderer` filter silently excludes atoms with no renderer data and, by default, degraded ones. That filter-exclusion semantics is the kind of hidden behavior an agent would otherwise get wrong.

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?

Front-loaded with purpose, then workflow, then filter caveats; each sentence carries operational information and nothing is filler. It is slightly dense and long relative to a search tool, with several parenthetical clauses that could be tightened, but no sentence is wasted.

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?

An output schema exists so return values need not be spelled out, and the description still signals what results contain (description, example need, renderer_status). For a four-parameter read-only search with a follow-up workflow, an agent has everything needed to select it and call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning beyond it: it explains that `renderer` filtering is by measured status and that each result then carries renderer_status, and it tells the agent how to phrase `need` (as a user need, with a concrete example). Not a full 5 only because the detailed per-parameter mechanics largely duplicate the schema text.

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 ("Semantic search over the atom catalog") and immediately frames the output shape ("best-matching atoms, ranked best-first, each with a description and an example need"). It explicitly distinguishes itself from the sibling get_catalog ("Use this instead of scanning get_catalog when the vocabulary is large") and names get_atom_schema as the follow-up step.

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 explicit when-to-use versus an alternative (large vocabulary vs. scanning get_catalog), an explicit next step ("call get_atom_schema for the one(s) you pick"), and explicit input guidance ("Describe the need as a user would ... not by guessing an atom name"). It even covers the failure case via the `k` parameter hint to rephrase or ask for more.

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.