Skip to main content
Glama

Close gaps

close_gaps

Remove empty space between clips on a track (or all tracks).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "close_gaps"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackIdNo
projectIdNoProject to act on (default: the open one)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only but non-destructive, closed-world operation, so safety is covered. The description adds only the scope detail that omitting a track targets all tracks; it does not say whether clips ripple, how transitions/markers are affected, or whether the edit is undoable.

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?

A single front-loaded sentence with zero filler; the scope qualifier '(or all tracks)' is the only elaboration and it earns its place by clarifying behavior.

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

Completeness3/5

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

For a two-parameter, non-destructive edit with annotations covering its safety profile and no output schema, the definition is minimally sufficient. It still leaves meaningful gaps for a mutation tool: what happens to subsequent clips, transitions, and markers, and whether the operation can be reverted.

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 50%: projectId is documented (including its default) while trackId has no schema description. The description partially compensates by implying that specifying a track limits the operation and omitting it acts on all tracks, but it adds no format, type, or validation details.

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 and resource ('Remove empty space between clips') and scopes it to a track or all tracks, which separates it from neighbors like remove_silences (audio) and remove_empty_tracks (whole tracks). It never names a sibling explicitly, so differentiation is inferable rather than stated.

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?

Usage is only implied by the phrase 'between clips on a track (or all tracks)'; there is no explicit when-to-use, when-not-to-use, or named alternative such as remove_silences or nudge_clips. An agent can guess the context but must infer the boundaries itself.

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