Skip to main content
Glama

motion_generate_animation

Convert natural-language descriptions into ready-to-use Motion for React animation JSX.

Instructions

Generate a Motion for React animation snippet from a natural-language description. Returns ready-to-use JSX.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYesDescribe the animation you want (e.g., 'fade in from bottom on scroll', 'draggable card with spring', 'staggered list entrance', 'page transition with exit')
elementTypeNoHTML element type (default: 'div')
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses input and output but lacks details on side effects, rate limits, or prerequisites. Stating it returns JSX is positive but minimal.

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?

Single sentence front-loaded with verb and resource. 'Returns ready-to-use JSX' adds value. No wasted words.

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?

Given no output schema, description adequately explains the tool's function and return type. Could mention more about the format (e.g., React component) but sufficient for a simple generative tool.

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 100% with descriptions for both parameters. Description adds no significant meaning beyond schema; 'natural-language' is already present. Baseline score for high coverage.

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?

Clearly states verb 'generate', resource 'Motion for React animation snippet', input 'natural-language description', and output 'ready-to-use JSX'. Distinguishes from siblings like motion_get_api and motion_search_docs.

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?

Implies use for generating animation code from NL description, which is clear context compared to alternatives (e.g., searching docs, getting examples). No explicit exclusions but sufficient guidance.

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/orkait/hyperstack'

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