Skip to main content
Glama

Play motion

play_motion

Render a described motion (or exact funscript points) and play it on the user's device, replacing anything already playing. Returns what will actually play.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "connection_key": "<connection_key>"
    },
    "name": "play_motion"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoShort name for the motion, for example Slow build-up. Used as the funscript title and download file name.
deviceNoWhich device the key belongs to. bluetooth covers every Bluetooth toy paired on the ToyController phone screen.handy
repeatNoPlay the whole motion this many times in a row.
actionsNoExact funscript points, for example from a pasted funscript. Use instead of sections.
sectionsNoThe motion as consecutive sections. Use this for described motion.
connection_keyYesThe device's connection key (Handy) or device token (Autoblow, VacuGlide) from the manufacturer's app, or the Device ID on the ToyController phone screen (Bluetooth toys).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Adds real value beyond the annotations: it discloses that existing playback is replaced, and that the return value reflects the actual rendered motion rather than the request. Annotations already cover the mutation profile (readOnlyHint=false, destructiveHint=false), so the remaining gap is failure behavior when a device is unreachable.

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

Conciseness5/5

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

Two tight sentences with zero filler, and the most decision-relevant fact (it replaces current playback) is placed immediately after the purpose.

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

Completeness4/5

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

With no output schema, the note that it returns what will actually play is valuable, and the replacement semantics are covered. Missing only operational context such as connection failures or how to halt playback (stop_motion), which an agent must infer.

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 coverage is 100%, so every parameter including nested Section fields is documented in the schema. The description only reinforces the sections-vs-actions mode choice, which the schema already states, so baseline 3 applies.

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?

Specific verb+resource: renders a motion and plays it on the device, with the scope noted ('replacing anything already playing'). It implicitly separates itself from create_motion and stop_motion through that phrase, but never names a sibling explicitly.

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

Usage Guidelines3/5

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

The description implies the use case (generate and immediately play), and the two input modes are hinted at ('described motion (or exact funscript points)'). It gives no explicit when-not guidance, no mention of create_motion for saving without playback, and no prerequisites such as an active device connection.

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