Skip to main content
Glama

Restore clip

restore_clip
Idempotent

Bring back a deleted or re-analysis-replaced clip by ID and append it to the project’s clips. If needsRerender is returned, call rerender_clip to finish it.

Instructions

Bring back a deleted clip or one a re-analyze replaced (get_project lists them as replacedClips); it goes to the end of the project's clips. Returns { changed, status, needsRerender }; needsRerender means it never finished, so call rerender_clip.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesClip id (from get_project → replacedClips)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare idempotentHint=true, so the description carries most of the load and does it well: it discloses the positional side effect (the clip goes to the end of the project's clips) and the return shape { changed, status, needsRerender } with the meaning of needsRerender. It does not discuss permissions or whether restoring a replaced clip affects the replacing clip, leaving a small gap.

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 dense sentences with no filler: the capability and the affected set come first, then the return-value semantics and the required follow-up call. Every clause carries information an agent needs.

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?

With no output schema, the description compensates by naming the returned fields and interpreting needsRerender, and it explains the placement side effect. For a one-parameter restore tool with only an idempotency annotation, nothing essential to correct invocation is missing.

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% for the single id parameter, so the schema already documents the type and its provenance. The description repeats the same hint ('from get_project → replacedClips') without adding format or syntax detail, so this is the baseline 3 rather than added value.

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?

States a specific verb (bring back) and resource (a deleted clip or one a re-analyze replaced), and names the exact source of such clips (get_project lists them as replacedClips). This is clearly distinguishable from siblings like delete_clip, rerender_clip, and get_clip.

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?

Gives a clear trigger (restore a deleted or re-analyze-replaced clip) and explicitly routes the follow-up case: 'needsRerender means it never finished, so call rerender_clip.' No explicit when-not-to-use or alternative such as delete_clip is named, 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.