Skip to main content
Glama

Create flow abstraction

create_flow_abstraction

Build a flow-abstraction filter that smooths interiors and extracts crisp ink edges for an oil-painting look, with live strength, edge, and iteration controls.

Instructions

Build a two-pass Kyprianidis-style flow abstraction: an edge-tangent-flow (ETF) bilateral smoother followed by a flow-based DoG (FDoG) line extractor — oil-painting smooth interiors with crisp coherent ink edges. Creates two glslTOPs + companion textDATs under parent_path, fed by a Select TOP from the source TOP and terminated by a Null TOP. Strength/Edge/Iterations are exposed as live parent-par-bound uniforms; blur radius, sigmas and tau are baked in at build time. Iterations boosts effective ETF strength in-shader (single-input pass, no ping-pong feedback).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tauNoFDoG center-surround weight.
edgeNoFDoG edge gain — multiplier on the DoG response before thresholding.
nameNoBase name; nodes become <name>_etf, <name>_fdog, <name>_out, plus *_frag textDATs.flow_abs
sourceYesAbsolute path of the input TOP to abstract (e.g. '/project1/movie1'). Pulled in via a Select TOP so cross-container wiring is safe.
sigma_eNoFDoG inner Gaussian sigma (texels).
sigma_rNoFDoG outer Gaussian sigma — usually ≈ 1.6 * sigma_e.
strengthNoBilateral smoothing strength (0=passthrough, 1=full ETF blur).
iterationsNoNumber of ETF passes; higher values boost ETF strength via an in-shader uniform. No external feedback loop is created in this version.
resolutionNoOutput res; 'input' inherits.input
blur_radiusNoETF bilateral kernel half-width in texels along the tangent (kernel ≈ 2*radius+1).
parent_pathYesParent COMP path to create the two GLSL TOPs in.
Behavior4/5

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

Annotations only say readOnlyHint is false and destructiveHint is false; the description adds useful behavioral detail: it creates two glslTOPs plus textDATs, uses a Select TOP and ends with a Null TOP, and explains that some parameters are live uniforms while others are baked. It also clarifies that Iterations does not create a ping-pong feedback loop, adding genuine beyond-annotation context.

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?

The description uses four dense sentences, each covering a distinct aspect: algorithm, output structure, parameter lifecycle, and iteration semantics. It is front-loaded with the core purpose and contains no filler. It is appropriately sized for the complexity, though slightly information-dense.

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 the tool's complexity (11 params, no output schema), the description is remarkably complete: it explains the algorithm, the nodes created, the wiring via Select/Null TOPs, which parameters are live vs baked, and the in-shader iteration behavior. Together with the rich schema, this gives an agent 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.

Parameters4/5

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

Input schema documents all 11 parameters (100% coverage), so the baseline is 3. The description goes further by explaining that Strength/Edge/Iterations are live parent-par-bound uniforms, while blur radius, sigmas, and tau are baked at build time, and that Iterations boosts ETF strength in-shader. This adds behavioral meaning beyond the individual field descriptions.

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 description starts with a specific verb and resource: 'Build a two-pass Kyprianidis-style flow abstraction.' It names the exact pipeline stages (ETF bilateral smoother + FDoG line extractor) and the created objects (two glslTOPs + companion textDATs), distinguishing it clearly from generic 'create_npr_filter' or post-processing siblings.

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 description implies the use case via the visual result ('oil-painting smooth interiors with crisp coherent ink edges') and explains build-time vs live parameters, but it does not explicitly state when to prefer this tool over alternatives like create_npr_filter or create_optical_flow. It gives clear context but no explicit exclusions or alternative naming.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucasmaher-hash/touch-designer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server