Skip to main content
Glama

Refine project

refine_project
Destructive

Re-runs transcript refinement for entity spelling, disfluency cuts, and scene shot cuts on an existing project, optionally updates vocabulary, then re-renders clips; prior fixes may be replaced.

Instructions

Re-run refine steps on the existing transcript: entities (name spelling), disfluency (filler and repeat cuts), scenes (shot cuts); all three when steps is omitted. Optionally set the vocabulary (names and terms, comma separated; empty string clears it) first. Fixes you accepted or rejected may be replaced. Clips re-render afterwards. Returns { ok, steps }; then wait_for_project.

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from list_projects, search_clips or create_project)
stepsNoWhich refine steps to re-run; default all
vocabularyNoNames and terms the transcript should spell this way; empty string clears it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.3

TDQS

A4.3/5.0
Behavior5/5

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

Even though destructiveHint=true is annotated, the description adds substantive consequences beyond it: accepted/rejected fixes may be replaced, clips re-render afterwards, and vocabulary can be cleared with an empty string. It also discloses the return shape ({ ok, steps }), which the tool has no output schema for.

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?

Dense but front-loaded: the core action and its variants come first, then side effects, then the return value and follow-up. No sentence is filler, and semicolon-separated clauses keep it compact.

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 three-parameter mutation with no output schema, the description covers the step semantics, vocabulary lifecycle, destructive consequences, re-render side effect, return shape, and the correct follow-up call. An agent has everything needed to invoke it correctly.

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 documents id, steps and vocabulary. The description adds only marginal meaning, notably the comma-separated format for vocabulary and the default-all behavior for steps, both of which the schema largely covers already.

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?

States a specific verb (re-run) and resource (refine steps on the existing transcript), and enumerates the three step types with parenthetical clarification of what each does. It does not distinguish itself from close siblings like reanalyze_project or retry_project, which is the only gap.

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 clear operating context: steps default to all three when omitted, and vocabulary can optionally be set 'first'. It also routes the agent's next action ('then wait_for_project'), but never states when to prefer this over reanalyze_project or retry_project.

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