Skip to main content
Glama

Get GLSL Pattern

get_glsl_pattern

Retrieve GLSL shader patterns and GPU code snippets with full code ready to paste into TouchDesigner GLSL TOP.

Instructions

Retrieve specific GLSL shader patterns or GPU technique code snippets with full code ready to paste into a TouchDesigner GLSL TOP. Also provides common GLSL utility libraries. Use 'list' to see all available patterns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternYesPattern name to retrieve. Use 'list' to see all available patterns. Examples: 'raymarching', 'reaction_diffusion', 'fbm', 'voronoi', 'feedback_zoom', 'game_of_life', 'boids', 'particle_compute', 'sdf_primitives', 'color_utils', 'math_utils'
include_utilitiesNoInclude GLSL utility functions (SDF primitives, color utils, math utils) alongside the pattern code (default: false)
Behavior3/5

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

No annotations are provided, so the description carries the burden. It states that the code is 'full code ready to paste' and mentions utility libraries, but does not disclose any potential side effects, rate limits, or expected output format. For a read-only retrieval tool, this is adequate but minimal.

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?

Two sentences plus a usage hint. Every part is informative and there is no redundancy. The main action and key tip are front-loaded.

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?

For a simple retrieval tool with two parameters and no output schema, the description covers the essential behavior: what is retrieved, how to discover patterns, and what the code is for. No significant gaps remain.

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% with descriptions for both parameters. The description adds value by clarifying that 'pattern' can be set to 'list' to see options and by providing example patterns. This extra context goes beyond the schema's static list.

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?

Clearly states the verb 'retrieve', the resource 'GLSL shader patterns or GPU technique code snippets', and the target environment (TouchDesigner GLSL TOP). Distinguishes from sibling tools like get_operator or td_build_glsl by focusing on code snippets.

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

Usage Guidelines4/5

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

Explicitly mentions using 'list' to see available patterns, which guides the agent on how to discover valid inputs. However, it does not contrast with alternatives or state when not to use this tool.

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/bottobot/touchdesigner-mcp-server'

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