Skip to main content
Glama

render_estimate

Read-onlyIdempotent

Estimates render time, queue wait, and free GPU quota fit before starting a job, so you can decide if it will complete within limits without using GPU time.

Instructions

Estimate a render before starting it (no GPU time): GPU seconds, queue wait, the wall-clock time as text (estimate.human, e.g. 'about 3 minutes') and whether it fits the free GPU time left (the welcome credit, or 2 preview GPU-minutes a day after it) and the size limits. Call it before render_final when the time or quota is uncertain, the job is longer than about 24 frames or above 720p, or the user asks how long it takes; tell the user the result. With scene_id the estimate uses measured render times and returns calibration.final_path_measured and tell_user / tell_user_ja, the one sentence to give the user (time and price). If final_path_measured is false the sentence says it is an unmeasured figure: do not present it as the time the final will take; run a short contiguous final-path test and estimate again before the full animation. It also says when to split a job.

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": "render_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo'final' (frame_start..frame_end at width x height, samples) or 'preview' (frames like '1-24').final
testNoAnimations, estimate only (nothing is rendered): 'contiguous' (test_frames frames from frame_start, default 10) or 'spread' (the first, middle and last frame) adds the GPU seconds and wall time of the short test that render_final with the same test would run with exactly this final's settings, next to the full range. Leave empty to estimate the whole range only.
widthNoOutput width in pixels (previews are capped at 1280x720 keeping the aspect ratio; a final frame can have at most 1920x1080 pixels on free time, 3840x2160 on prepaid credit).
framesNoPreview frames: '' = frame 1; '12' = one frame; '1,8,16,24' or '1-24' = up to 4 frames tiled in one labeled image (to judge camera motion and animation; same GPU time as one 720p frame).
heightNoOutput height in pixels (previews are capped at 1280x720 keeping the aspect ratio; a final frame can have at most 1920x1080 pixels on free time, 3840x2160 on prepaid credit).
presetNoPurpose preset: 'product' (4 studio shots at 0/90/180/270 deg on a plain backdrop; the final gives 4 PNGs at 1440x1440), 'turntable' (one full turn as an MP4, studio light, plain backdrop), 'animation' (the scene's own camera, lights and frame range; the scene is read first when the range is unknown), or '' (none). It fills what you do not pass; environment, orbit_frames, width/height and the frames still win when given.
camerasNoSeveral camera object names (up to 8) rendered from the same frame in one job: the preview tiles them in one labeled sheet, the final returns one PNG/EXR per camera (camera_files maps names to files). For product shots from fixed angles. Not combinable with orbit, environment='compare' or camera.
samplesNoCycles samples per pixel (preview: up to 32, default 16; final: default 128).
priorityNofinal only: True renders ahead of other paid finals on a GPU it does not share with other jobs, at a higher price per GPU-second (render_estimate with priority=True shows it); free credit is not used. Ask the user before using it.
scene_idNoscene_id returned by an earlier call (reuses the uploaded scene without sending it again).
settingsNo'scene' (final, .blend): estimate with the .blend's own resolution (with its percentage), samples, fps, engine and frame range, as render_final with settings='scene' would use them; values you pass win. Nothing is rendered. Leave empty for the service defaults.
frame_endNoLast frame to render (inclusive); equal to frame_start for a single image. With orbit=True and no frame_end, one full turn is rendered.
variationsNo2-8 variants of the same frame, each {label, environment, environment_strength, camera, colors}; rendered in parallel and tiled in one sheet labelled A, B, ... Leave empty for a normal preview.
frame_startNoFirst frame to render (inclusive).
probe_frameNoWith auto_samples: the frame to test (0 = the middle frame).
test_framesNoWith test='contiguous': how many frames from frame_start the test would have (1-24, default 10; 0 = default). Nothing is rendered.
auto_samplesNoTrue (final, Cycles, 100 frames or more): a small test render of one frame picks the lowest samples, up to samples, that looks the same as samples; billed like a preview. A shorter final skips the test and renders at samples (the reply's auto_samples.summary says so). render_estimate with it shows the test's cost and the saving.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.344
    • addedInput schema / properties / priority
      Added value: +{
      +  "default": false,
      +  "description": "final only: True renders ahead of other paid finals on a GPU it does not share with other jobs, at a higher price per GPU-second (render_estimate with priority=True shows it); free credit is not used. Ask the user before using it.",
      +  "title": "Priority",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changedv0.4.342
    • changedInput schema / properties / settings / description
      Previous value: -"'scene' (final, .blend): render with the .blend's own resolution (with its percentage), samples, fps, engine and frame range; width, height, samples, fps and frame_start/frame_end left at their defaults (1920, 1080, 128, 24, 1/1) are taken from the scene, other values you pass win. The reply lists what the service still changes (scene_settings.overrides). Leave empty for the service defaults."New value: +"'scene' (final, .blend): estimate with the .blend's own resolution (with its percentage), samples, fps, engine and frame range, as render_final with settings='scene' would use them; values you pass win. Nothing is rendered. Leave empty for the service defaults."
    • changedInput schema / properties / test / description
      Previous value: -"Animations: 'contiguous' renders only test_frames frames from frame_start (default 10) and 'spread' only the first, middle and last frame, with exactly the settings of this final, billed like any final. The reply's final_test then gives the GPU seconds per frame, a check of the frames (black, broken, repeated), a contact sheet and the full range estimated again from this measurement, plus render_final_args to render the full range after the user agrees (the test frames are reused). Leave empty to render the whole range."New value: +"Animations, estimate only (nothing is rendered): 'contiguous' (test_frames frames from frame_start, default 10) or 'spread' (the first, middle and last frame) adds the GPU seconds and wall time of the short test that render_final with the same test would run with exactly this final's settings, next to the full range. Leave empty to estimate the whole range only."
    • changedInput schema / properties / test_frames / description
      Previous value: -"test='contiguous': how many frames from frame_start to test (1-24, default 10; 0 = default)."New value: +"With test='contiguous': how many frames from frame_start the test would have (1-24, default 10; 0 = default). Nothing is rendered."
  3. Changed7 schema fields changedv0.4.296
    • addedInput schema / $defs
      Added value: +{
      +  "Variant": {
      +    "description": "One variant; anything left out uses the call's own settings.",
      +    "properties": {
      +      "camera": {
      +        "title": "Camera",
      +        "type": "string"
      +      },
      +      "colors": {
      +        "additionalProperties": true,
      +        "title": "Colors",
      +        "type": "object"
      +      },
      +      "environment": {
      +        "title": "Environment",
      +        "type": "string"
      +      },
      +      "environment_strength": {
      +        "title": "Environment Strength",
      +        "type": "number"
      +      },
      +      "label": {
      +        "title": "Label",
      +        "type": "string"
      +      }
      +    },
      +    "title": "Variant",
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / auto_samples
      Added value: +{
      +  "default": false,
      +  "description": "True (final, Cycles, 100 frames or more): a small test render of one frame picks the lowest samples, up to samples, that looks the same as samples; billed like a preview. A shorter final skips the test and renders at samples (the reply's auto_samples.summary says so). render_estimate with it shows the test's cost and the saving.",
      +  "title": "Auto Samples",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / probe_frame
      Added value: +{
      +  "default": 0,
      +  "description": "With auto_samples: the frame to test (0 = the middle frame).",
      +  "title": "Probe Frame",
      +  "type": "integer"
      +}
    • addedInput schema / properties / settings
      Added value: +{
      +  "default": "",
      +  "description": "'scene' (final, .blend): render with the .blend's own resolution (with its percentage), samples, fps, engine and frame range; width, height, samples, fps and frame_start/frame_end left at their defaults (1920, 1080, 128, 24, 1/1) are taken from the scene, other values you pass win. The reply lists what the service still changes (scene_settings.overrides). Leave empty for the service defaults.",
      +  "title": "Settings",
      +  "type": "string"
      +}
    • addedInput schema / properties / test
      Added value: +{
      +  "default": "",
      +  "description": "Animations: 'contiguous' renders only test_frames frames from frame_start (default 10) and 'spread' only the first, middle and last frame, with exactly the settings of this final, billed like any final. The reply's final_test then gives the GPU seconds per frame, a check of the frames (black, broken, repeated), a contact sheet and the full range estimated again from this measurement, plus render_final_args to render the full range after the user agrees (the test frames are reused). Leave empty to render the whole range.",
      +  "title": "Test",
      +  "type": "string"
      +}
    • addedInput schema / properties / test_frames
      Added value: +{
      +  "default": 0,
      +  "description": "test='contiguous': how many frames from frame_start to test (1-24, default 10; 0 = default).",
      +  "title": "Test Frames",
      +  "type": "integer"
      +}
    • addedInput schema / properties / variations
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/Variant"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "2-8 variants of the same frame, each {label, environment, environment_strength, camera, colors}; rendered in parallel and tiled in one sheet labelled A, B, ... Leave empty for a normal preview.",
      +  "title": "Variations"
      +}
  4. Changed10 schema fields changedv0.4.119
    • addedInput schema / properties / cameras
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Several camera object names (up to 8) rendered from the same frame in one job: the preview tiles them in one labeled sheet, the final returns one PNG/EXR per camera (camera_files maps names to files). For product shots from fixed angles. Not combinable with orbit, environment='compare' or camera.",
      +  "title": "Cameras"
      +}
    • addedInput schema / properties / frame_end / description
      Added value: +"Last frame to render (inclusive); equal to frame_start for a single image. With orbit=True and no frame_end, one full turn is rendered."
    • addedInput schema / properties / frame_start / description
      Added value: +"First frame to render (inclusive)."
    • addedInput schema / properties / frames / description
      Added value: +"Preview frames: '' = frame 1; '12' = one frame; '1,8,16,24' or '1-24' = up to 4 frames tiled in one labeled image (to judge camera motion and animation; same GPU time as one 720p frame)."
    • addedInput schema / properties / height / description
      Added value: +"Output height in pixels (previews are capped at 1280x720 keeping the aspect ratio; a final frame can have at most 1920x1080 pixels on free time, 3840x2160 on prepaid credit)."
    • addedInput schema / properties / kind / description
      Added value: +"'final' (frame_start..frame_end at width x height, samples) or 'preview' (frames like '1-24')."
    • addedInput schema / properties / preset
      Added value: +{
      +  "default": "",
      +  "description": "Purpose preset: 'product' (4 studio shots at 0/90/180/270 deg on a plain backdrop; the final gives 4 PNGs at 1440x1440), 'turntable' (one full turn as an MP4, studio light, plain backdrop), 'animation' (the scene's own camera, lights and frame range; the scene is read first when the range is unknown), or '' (none). It fills what you do not pass; environment, orbit_frames, width/height and the frames still win when given.",
      +  "title": "Preset",
      +  "type": "string"
      +}
    • addedInput schema / properties / samples / description
      Added value: +"Cycles samples per pixel (preview: up to 32, default 16; final: default 128)."
    • addedInput schema / properties / scene_id / description
      Added value: +"scene_id returned by an earlier call (reuses the uploaded scene without sending it again)."
    • addedInput schema / properties / width / description
      Added value: +"Output width in pixels (previews are capped at 1280x720 keeping the aspect ratio; a final frame can have at most 1920x1080 pixels on free time, 3840x2160 on prepaid credit)."
  5. First observedv0.2.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/ idempotentHint/destructiveHint=false, so safety is covered. The description adds real behavioral context beyond that: the estimate consumes no GPU time, scene_id switches to measured render times, calibration.final_path_measured plus tell_user/tell_user_ja are returned, and an unmeasured figure must not be presented as the final's time. It stops short of describing pagination or the full response shape, but the output schema exists so that is not required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the key trigger are front-loaded, which is good, but the body is one dense run-on with stacked parentheticals ('the welcome credit, or 2 preview GPU-minutes a day after it') that take effort to parse. Nearly every clause carries information, yet the structure could be broken into shorter sentences without losing content.

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 17-parameter, no-required-field estimation tool with annotations and an output schema, the description covers the decision-relevant parts: when to call, what it costs, what it returns, and the caveat about unmeasured values. Some secondary parameters (preset, variations, cameras) are left entirely to the schema, which is acceptable given full schema coverage.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above baseline by explaining what scene_id changes semantically (measured times, calibration.final_path_measured, split advice) rather than just restating the field. It does not add much for the other 16 parameters, most of which remain purely schema-documented.

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 concrete verb and resource ('Estimate a render before starting it (no GPU time)') and immediately enumerates what the estimate contains (GPU seconds, queue wait, human-readable wall time, free-credit fit, size limits). This clearly distinguishes it from render_final and render_preview, which actually spend GPU time.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit trigger conditions: call before render_final when time or quota is uncertain, when the job exceeds ~24 frames or 720p, or when the user asks how long it takes, plus the instruction to relay the result to the user. It also names the alternative (render_final) and the fallback path (run a short contiguous final-path test then re-estimate) when the figure is unmeasured.

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