Skip to main content
Glama

Re-rendered Cursor

cursor
Destructive

Render a smoothed, scaled pointer overlay from a recording's event log, hiding it when idle and optionally adding click ripples or a spotlight.

Instructions

Draw a smoothed, scaled cursor that hides when idle from the event log of a start_recording cursor: "events" recording (no OS cursor in the video), with click ripples and an optional spotlight.

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": {
      "input": "<input>"
    },
    "name": "cursor"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoTimes a typical cursor's size (default 1.5).
inputYesPath to the recording.
clicksNoRipple on clicks (default true).
dryRunNoReturn the plan; write nothing.
eventsNoEvent log (default: the input's .events.jsonl).
outputNoOutput path; default SCREENCAST_HOME/edits.
overwriteNoReplace an existing output.
smoothingNo0 = as logged, 1 = floaty (default 0.5).
spotlightNoDim all but the area around the cursor.
hideAfterSecNoHide when the mouse rests this long; 0 = never (default 2).

Output Schema

NameRequiredDescriptionDefault
segmentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.54.0
    • changedInput schema / properties / output / description
      Previous value: -"Optional output path. Defaults under SCREENCAST_HOME/edits."New value: +"Output path; default SCREENCAST_HOME/edits."
    • changedInput schema / properties / overwrite / description
      Previous value: -"Allow replacing an existing file at the output path (default false)."New value: +"Replace an existing output."
  2. Addedv0.47.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructive=true and readOnly=false. The description adds rendering behaviors such as idle hiding, click ripples, spotlight, and smoothing, but it does not disclose that it writes a new output file or what overwrite can destroy. The schema covers some of that, but behavior beyond annotations remains incomplete.

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?

It is a single front-loaded sentence with no filler. The nested phrase 'start_recording cursor:"events" recording' reduces readability, but the sentence remains compact.

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 10 parameters, an output schema, and annotations, the description covers the core rendering purpose and the event-log source condition. It omits output/write semantics, but those are documented in the schema and annotations, leaving only a minor gap for a complex tool.

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 the schema already explains all 10 parameters. The description loosely maps size, smoothing, idle hiding, clicks, and spotlight to visual effects but adds no formats, defaults, or constraints beyond what the schema provides.

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 states a specific action (draw) and resource (cursor overlay) and identifies the source as the event log from a start_recording cursor:"events" session. It is distinguishable from recording/editing siblings, though the quoted recording phrase is awkward and sibling differentiation is only implicit.

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 gives a clear use condition: a recording that lacks an OS cursor and has a cursor events log. It does not state when not to use it or name an alternative overlay tool, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.