Skip to main content
Glama

Suggest Dotmira effects by meaning

suggest_effects
Read-onlyIdempotent

Find catalog elements by meaning: describe in plain words what the page needs, e.g. "animated background for a coffee shop landing page" or "кнопка с неоновым свечением". Works best in English and Russian; other languages are matched less reliably. Returns metadata only (id, title, author, category, framework, page and preview links, similarity), the closest first — no code. When nothing is close enough in meaning, or the meaning search is unavailable, answers with the word search of search_effects (mode "words"). Optional filters: category, framework, kind, license, animated. Use get_effect with an id to fetch the code.

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": {
      "request": "<request>"
    },
    "name": "suggest_effects"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly elements of this kind: "components" (UI components and effects), "templates" (website and e-mail templates), "media" (sounds and video), "flags".
limitNoNumber of results, 1–10 (default 5).
licenseNoOnly elements under this license, an SPDX id as in get_effect, e.g. "MIT", "MIT-0" or "Apache-2.0".
requestYesWhat you are looking for, in plain words, e.g. "testimonials slider with avatars and stars". Works best in English and Russian; other languages are matched less reliably.
animatedNotrue — only elements whose preview moves by itself (animations).
categoryNoCategory id from list_categories, e.g. "buttons/hover" or "backgrounds". Nested categories are included.
frameworkNoOnly elements built with this technology ("tailwind" also takes elements that use Tailwind on top of React, Vue…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / request / description
      Previous value: -"What you are looking for, in plain words, e.g. \"testimonials slider with avatars and stars\". Works best in English; Russian is supported but matches less often; other languages are matched less reliably — translate the request into English for the best results."New value: +"What you are looking for, in plain words, e.g. \"testimonials slider with avatars and stars\". Works best in English and Russian; other languages are matched less reliably."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds what they cannot: the exact return payload (id, title, author, category, framework, links, similarity), that no code is included, that results are ordered by closeness, and that it silently degrades to a word search. It also discloses the language limitation on matching quality.

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 language caveat, return shape, fallback, filters, and next step in a logical order with no filler sentences. Minor redundancy: the English/Russian caveat appears twice (once in prose, once in the schema), and the filter enumeration duplicates the schema.

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 seven-parameter search tool with no output schema, the description supplies the return fields, ordering, fallback behavior, language constraints, and the natural next call. An agent has everything needed to invoke it and interpret the response correctly.

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 all seven parameters including the two enums are already documented. The description only restates the optional filter list (category, framework, kind, license, animated) and repeats the English/Russian note already in the request property, adding no new semantics. 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?

Opens with a specific verb+resource ("Find catalog elements by meaning") and immediately clarifies the mechanism with plain-language examples in two languages. It distinguishes itself from the sibling search_effects by being meaning-based rather than word-based, so an agent can choose between them without opening schemas.

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?

States the positive condition (describe the need in plain words), the fallback path when nothing matches or the semantic index is unavailable (search_effects with mode "words"), and the follow-up step ("Use get_effect with an id to fetch the code"). Both the alternative and the condition that selects it are explicit.

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.