Skip to main content
Glama

AI 代理人任務中樞

motion__generate_gradient

[網頁動畫工具箱]產生 CSS 漸層(linear、radial、conic),可選流動動畫與漸層文字。colors 用逗號分隔 HEX。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo
angleNo
speedNo
colorsYes
animateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that output is CSS and can include a flowing animation or gradient text, but says nothing about return format, defaults, ranges for angle/speed, or whether the tool is purely computational with no side effects. That gap is significant for a 5-parameter generator.

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?

A short, front-loaded sentence states the core capability first, then a compact clause covers the colors format. No filler. The only weakness is that it packs the parameter note into the same breath, which slightly muddies the structure.

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?

With no annotations, no output schema, and five parameters at 0% schema coverage, the description should explain the returned CSS artifact and the semantics/defaults of angle and speed. It does neither, so an agent cannot confidently invoke the tool beyond the required colors argument.

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 0%, so the description must compensate. It adds real meaning for colors (comma-separated HEX), the type parameter (linear/radial/conic), and animate (optional flowing animation), but leaves angle and speed completely unexplained with no units or ranges. Partial compensation only.

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 gives a specific verb and resource – generating CSS gradients – and enumerates the three gradient families (linear, radial, conic) plus optional animation and gradient-text output. That is enough to separate it from siblings like motion__generate_easing or motion__generate_keyframes. It stops short of explicitly naming what it is not, so a 5 is not warranted.

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?

The text describes what the tool can produce but never says when to reach for it versus the other motion tools. There is no statement of prerequisites, typical input scenarios, or exclusions. Only implied usage from the feature list.

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