Skip to main content
Glama

cook_frame_range

Cook a Houdini node frame by frame to advance sequential solvers and validate simulations, receiving per-frame cook stats, errors, and attribute aggregates in a single round trip.

Instructions

Cook a node frame by frame and report what changed on each frame.

This is how you advance a sequential solver and how you prove a simulation is doing something. Frames are cooked in order, so a SOP solver, a DOP network or an animated chain all accumulate correctly, and per-frame cook time, errors, counts and attribute aggregates come back in ONE round trip instead of one per frame.

Prefer this over set_frame in a loop, and over stepping by hand: a 100-frame check is one call rather than 100. The frame is left where the cook ended, ready to screenshot.

Args: node_path: Node to cook; its output is what gets measured. start: First frame. Defaults to the playbar start. end: Last frame, inclusive. Defaults to the playbar end. step: Frame increment. Keep at 1.0 for any solver, since skipping frames gives it a discontinuous time step and invalid results. attribs: Point attributes to aggregate per frame (min/max/mean/sum). volumes: Also report per-volume name, resolution and value range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNo
stepNo
startNo
attribsNo
volumesNo
node_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

With no annotations, the description fully carries behavioral disclosure: frames are cooked in order so solvers accumulate correctly, results come in one round trip, per-frame errors and aggregates are reported, and the frame is left at the end for screenshots. It also warns that skipping frames produces discontinuous time steps and invalid results.

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?

The description is front-loaded with the core operation, then gives usage rationale, and ends with a compact parameter walkthrough. Each sentence adds information—even the repeated 'one call vs. one per frame' point is used to reinforce the alternative comparison.

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?

Given no output schema or annotations, the description covers the key invocation facts: what it does, when to use it, parameter semantics, side effects, and the shape of returned information (per-frame cook time, errors, counts, attribute aggregates, volume details). A precise JSON return layout is not specified, but the description provides enough for an agent to select and call the tool correctly.

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

Parameters5/5

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

The schema provides types, defaults, and required status but no descriptions, so the Args section must and does compensate. It explains node_path as the measured output, start/end defaults to the playbar, step's solver-specific warning, the aggregate math for attribs, and exactly what volumes adds.

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?

The opening sentence states a specific verb ('cook'), a resource ('a node'), and the output ('report what changed on each frame'), which clearly distinguishes it from sibling tools like set_frame and get_cook_status. The usage note that this is how you advance a sequential solver further reinforces its unique role.

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?

The description explicitly says to prefer this over set_frame in a loop or stepping by hand, and explains the advantage in a single call for a 100-frame check. It also gives a strong condition for when not to set step above 1.0 (any solver), making selection guidance actionable.

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

Deploy Server

Other Tools