Skip to main content
Glama
Lillard01
by Lillard01

generate_gsap_animation

Generate GSAP animation code for web elements by defining target, animation type (to, from, fromTo, set), properties, duration, delay, and easing.

Instructions

生成基础GSAP动画代码,支持多种动画类型和属性

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
easeNo缓动函数power2.out
delayNo延迟时间(秒)
targetYesCSS选择器或元素引用
durationNo动画持续时间(秒)
propertiesYes动画属性对象
animationTypeYes动画类型
Behavior2/5

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

No annotations provided, so description must carry full burden. It only says 'generate code' but does not state whether code is returned, applied, or any side effects. Missing details on dependencies (GSAP library) and error handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is a single sentence, which is concise, but lacks structure and key information. It could be expanded without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Very incomplete given complexity: 6 parameters including a nested object, no output schema, and many sibling tools. No example or return value description is provided.

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

Parameters2/5

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

Schema has 100% coverage with descriptions, but the tool description adds no extra meaning. Parameters like 'properties' (object) remain vague without examples or elaboration.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly indicates it generates basic GSAP animation code with multiple types and properties. However, it does not differentiate from specialized siblings like 'create_timeline_animation' or 'create_stagger_animation', leaving some ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. With 43 sibling tools, explicit usage context is essential but completely absent.

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/Lillard01/GSAP-mcp'

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