Skip to main content
Glama

set_frame_range

Set the scene's start and end frames to define render output length and control the frames included in the final video.

Instructions

Set the frame range for the scene (determines render output length).

Parameters:

  • start: Start frame of the scene

  • end: End frame of the scene

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "set_frame_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.5

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the key side effect (that this range governs render output length), which is real value. It says nothing about validation (e.g., whether start must be <= end), whether the current frame is moved, what happens on invalid input, or what the tool returns, leaving meaningful mutation behavior undisclosed.

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?

Front-loaded with the purpose in the first clause, followed by a compact parameter list; nothing is padded. The parameter lines are near-duplicates of the schema titles, so a small amount of the text does not earn its place.

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 simple two-parameter scene mutation with no output schema, the definition covers the essentials plus the render-length side effect. It still omits the ordering/validation rule between start and end and any note on interaction with the current frame, which are the details an agent would most likely get wrong.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% — the properties carry only titles 'Start' and 'End' — so the description must supply the meaning, and it only restates 'Start frame of the scene' and 'End frame of the scene'. No units, ordering constraint, allowed bounds, or relationship between the two values is added.

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 ('Set the frame range for the scene') and adds the operational effect ('determines render output length'), so an agent knows it affects render output. It does not distinguish itself from the sibling set_preview_range, which is a near-identical concept an agent could easily confuse it with.

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 parenthetical implies this is the render-length range rather than a preview range, which hints at when to use it. However, there is no explicit when-to-use statement, no exclusion of set_preview_range or set_frame_current, and no prerequisites named.

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