generate_easing
產生 CSS cubic-bezier 緩動曲線:用名稱(easeOutCubic、easeInOutBack、materialStandard 等 32 種)或四個控制點,回傳 CSS、Web Animations API 範例與取樣點。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| name | No |
產生 CSS cubic-bezier 緩動曲線:用名稱(easeOutCubic、easeInOutBack、materialStandard 等 32 種)或四個控制點,回傳 CSS、Web Animations API 範例與取樣點。
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| name | No |
Changes observed during successful MCP inspections.
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 the return artifacts (CSS, Web Animations API sample, sampling points), which is useful output-shaping context for a pure generator. However it says nothing about validation rules, whether unknown names error or fall back, or constraints on control points, so it only partially covers the behavioral burden.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single dense sentence that front-loads the verb and the artifact produced, then follows with the input modes and outputs. Nothing is redundant. It is slightly overloaded by packing inputs, outputs, and preset count into one breath, but there is no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations, the description is the sole carrier of behavior, and it does state what is returned, which is adequate for a simple generator. It still omits control-point constraints and conflict resolution between the name and coordinate parameters, leaving gaps an agent would need to guess at.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% across 5 parameters, so the description must compensate. It establishes the two input modes (named preset vs. four control points) but never maps these to the schema's x1/x2/y1/y2 fields, omitted preset-name semantics beyond a few examples, or notes the typical [0,1] constraint on x values. It adds some meaning but leaves the schema's cryptic names largely unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb (產生/generate) and a specific resource (CSS cubic-bezier easing curve), which is clearly distinct from siblings like generate_keyframes and generate_gradient. It even enumerates the output artifacts. It doesn't explicitly contrast itself with any sibling, but the resource is unambiguous enough that an agent can pick it correctly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to choose this tool over the animation-related siblings (e.g. spring_to_css_linear, generate_keyframes). The only conditional offered — use a name OR four control points — is an input-mode distinction, not tool-selection guidance. An agent gets no help deciding between this and related animation tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.