Skip to main content
Glama
lnksoul1

UI Design MCP Server

by lnksoul1

Set Component Animation

design_set_animation
Idempotent

Animate UI components with entry and hover effects, controlling duration, delay, and easing curve for real-time preview in the dashboard.

Instructions

Set animation for a component. The client dashboard will play the animation in real-time.

Animation entries: fadeUp, fadeIn, scaleIn, slideRight, slideLeft, slideUp, spring Curves: ease, easeOut, easeInOut, spring, linear, bounce

Args:

  • component_id (string): Component to animate

  • entry (string, optional): Entry animation type

  • hover (string, optional): Hover animation type (scaleUp, lift, glow)

  • duration (number, optional): Duration in seconds (0.1 - 3.0). Default: 0.3

  • delay (number, optional): Delay in seconds (0 - 3.0). Default: 0

  • curve (string, optional): Easing curve. Default: 'easeOut'

Example:

  • design_set_animation(component_id="comp_123", entry="fadeUp", duration=0.5, delay=0.2, curve="spring")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
curveNoEasing curve (ease, easeOut, spring, etc.)
delayNoDelay in seconds
entryNoEntry animation (fadeUp, fadeIn, scaleIn, slideRight, etc.)
hoverNoHover animation (scaleUp, lift, glow)
durationNoDuration in seconds
component_idYesComponent ID
Behavior4/5

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

The description adds behavioral context beyond the annotations, noting that 'The client dashboard will play the animation in real-time' and listing allowed values for entry, hover, and curve. It also provides defaults and ranges, which the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) do not cover. No contradiction with annotations.

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?

The description is well-structured with a clear purpose opening, a behavioral note, lists of allowed values, a parameter breakdown, and an example. It is a bit lengthy due to the enumeration of values, but every sentence adds information (defaults, ranges, example) and there is no fluff.

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 tool with six parameters and no output schema, the description is complete enough for an agent to invoke it correctly. It explains the effect (real-time playback), includes all parameters with types/optionality/defaults, and provides a concrete example. It lacks explicit discussion of side effects like overwriting existing animations, but that is a minor gap given the idempotent hint.

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?

The input schema covers all six parameters with descriptions (100% coverage), so baseline is 3. The description adds valuable semantics by specifying defaults (duration=0.3, delay=0, curve='easeOut'), explicit ranges (0.1-3.0), and allowed values for entry/hover/curve, which go beyond the schema's property descriptions.

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?

The description clearly states 'Set animation for a component' with a specific verb and resource, and distinguishes itself from sibling tools like design_update_component by focusing solely on animation. The explicit list of animation entries (fadeUp, fadeIn, etc.) further reinforces the specific purpose.

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?

The description implies usage (set animation for a component) but does not explicitly mention when to use this tool versus alternatives, nor does it provide exclusions or conditions. The real-time playback note gives context, but no explicit 'when-not-to-use' guidance is present.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lnksoul1/prism-ui-design-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server