Skip to main content
Glama

overlay_rm

Destructive

Remove an overlay from a film by its position in the overlay list. Later overlays shift down one position, and the card stays under assets/cards for reuse.

Instructions

Take one overlay off the film, by its position in overlay_ls.

The card stays under assets/cards/, so it can be placed again. Positions above the removed one move down by one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoThe project directory to act on. Omit it — the usual case — when this server is bound to a project (started as `proofcut -C DIR mcp`, or inside a project; `ping` says which): it then resolves to that one bound project, a relative path resolves against it, and a path outside it is refused by name. Unbound, `path` is the whole address and omitting it refuses rather than guessing.
planNoResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
positionYesThe overlay to remove, by its position in overlay_ls (0 is the bottom).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.36.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish this as destructive; the description adds meaningful behavioral detail beyond that: removing the overlay leaves the card under assets/cards/, re-placement is possible, and positions above shift down by one. This helps the agent predict consequences without contradicting the destructive hint.

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?

The description is compact: two sentences, with the core action front-loaded and the behavioral consequences stated in the second sentence. Every sentence adds information about what the tool does or what the agent should expect afterward.

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?

For a removal tool with a rich schema, an output schema, and clear annotations, the description covers the essential context: how to select the overlay, that the card persists, and that indices shift. It does not spell out invalid-position behavior or prerequisites, but those are not necessary given the schema and sibling overlay_ls.

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 100% and the schema already documents position as the overlay index in overlay_ls and the semantics of path and plan. The tool description mostly repeats position's meaning and adds no new parameter-level detail, so the schema carries the weight as expected.

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 states a specific action ('Take one overlay off the film') on a specific resource ('overlay') and identifies the selection mechanism ('by its position in overlay_ls'). This clearly distinguishes overlay_rm from overlay_add and overlay_ls and from other removal tools like inset_rm or cue_rm.

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 when to use the tool: remove an overlay by referencing its position in overlay_ls. It gives useful context such as the card remaining re-placeable and positions shifting, but it does not explicitly state when not to use it or name alternatives, leaving some routing to inference.

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

Deploy Server

Other Tools