Skip to main content
Glama

Set text motion

set_text_motion
Idempotent

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Set or replace coherent x/y/scale/rotation/opacity keyframes on an EXISTING ordinary text item. Curves use LOCAL seconds from that text's start, so moving the text window keeps its choreography. This replaces named entrance/exit animation with one authored motion system. Pass motion={} (or omit it) to clear the explicit curve and leave the text static. Subject-matted text cannot move.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
motionNoElement-local motion curves. t is seconds from this text's own start; x/y are frame fractions, scale is relative, rotation is degrees, opacity is 0..1.
project_idYesRequired immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess.
motion_motifNoActive Blueprint motion motif id this event executes; never 'hold'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description goes beyond annotations (readOnlyHint false, idempotentHint true) by detailing mutation behavior, the local-seconds coordinate system, the replacement of entrance/exit animations, the clearing mechanism, and the limitation on subject-matted text. It also notes the return of project identity, which is not in the schema. No contradiction with annotations.

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?

The description is dense and front-loaded with the project-scoped warning, then the core action, followed by important details. Every sentence contributes to usage, behavior, or constraints. It's slightly long but not verbose, and the structure guides the agent from scope to action to caveats.

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

Completeness5/5

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

For a tool with no output schema, the description covers all critical aspects: target object type, scoping, coordinate semantics, replacement behavior, clearing behavior, and a key limitation. It also mentions the return of project identity, which is essential for chaining. An agent has enough context to call it correctly.

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

Parameters4/5

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

Schema coverage is 75% and already includes a detailed description of the motion parameter. The description adds valuable semantics: explains that curves use LOCAL seconds, which affects how timing works, and clarifies that passing an empty object clears the curve. This exceeds the schema's coverage, so it earns above baseline.

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?

The description clearly states the verb ('Set or replace') and the resource ('coherent x/y/scale/rotation/opacity keyframes on an EXISTING ordinary text item'). It distinguishes itself from sibling tools like set_overlay_motion by explicitly targeting text items and mentioning it replaces named entrance/exit animation. The purpose is unambiguous.

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?

It provides clear usage context: acts on existing text, is project-scoped, and replaces named animations. It also gives an explicit instruction for clearing motion (pass motion={} or omit). However, it doesn't explicitly contrast with alternative motion tools like set_overlay_motion, and the only exclusion mentioned is subject-matted text. Overall, the guidance is strong but not exhaustive.

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.