Skip to main content
Glama

網頁動畫工具箱

generate_keyframes

產生 CSS @keyframes 動畫(含減少動態模式)。preset:fadeIn,fadeInUp,fadeInDown,slideInLeft,slideInRight,zoomIn,pulse,bounce,shake,spin,float,heartbeat,flipIn,blurIn,typing

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
delayNo
easingNo
presetYes
durationNo
iterationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose one non-obvious behavioral trait, that the output includes a reduced-motion variant (含減少動態模式), which is genuinely useful. However it says nothing about output format, whether the CSS is returned as a string or file, or how delay/duration/iterations interact.

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?

Two compact sentences, front-loaded with the purpose before the preset list. The preset enumeration is long but earns its place since no enum exists in the schema. Slight redundancy between the name and the opening clause.

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

Completeness2/5

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

A five-parameter tool with no annotations, no output schema, and no schema descriptions is left largely underspecified. The description covers the preset axis well but omits how the other four parameters behave and what the tool actually returns.

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 description coverage is 0% and the schema carries no enums, so the description is the only source of parameter meaning. It usefully enumerates the valid preset values, but says nothing about delay, easing, duration, or iterations, leaving four of five parameters semantically undocumented.

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?

States a specific verb+resource: generate CSS @keyframes animations, and adds a scoping detail (reduced-motion mode). It also enumerates every supported preset, which lets an agent confirm capability without opening the schema. It does not, however, distinguish itself from siblings like generate_easing or animation_browser_support.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite (e.g. that a preset is required), and no routing to alternatives such as generate_easing for timing functions or animation_a11y_checklist for accessibility validation. The agent must infer the trigger conditions entirely.

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.

Resources