Skip to main content
Glama

generate_blender_script

Convert natural language prompts into ready-to-run Blender Python scripts. Describe the 3D operation you need and get the code.

Instructions

Generate a Blender Python script from a natural language prompt using a local LLM (Ollama).

Return Format

Standard dict with keys: success, script, error

Examples

await call_tool("generate_blender_script", {"prompt": "create a cube at origin", "model": "llama3.2"})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNollama3.2
promptYes
ollama_urlNohttp://localhost:11434

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv0.11.1
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • removedOutput schema / x-fastmcp-wrap-result
      Removed value: -true
  2. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations are all false, so the description carries the burden of disclosure. It does mention the return format (success, script, error) and the generation nature (not execution), but fails to disclose prerequisites like Ollama running or potential failure modes. Moderate transparency, but not rich enough to fully anticipate behavior.

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 concise and well-structured with a clear purpose line, a return format section, and a practical example. Every section adds value, and the formatting aids quick understanding. No wasted words.

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 generation tool, the description covers purpose, return format, and an example. However, it lacks error conditions, prerequisites (e.g., Ollama availability), and differentiation from similar siblings. Given the 3 parameters and output schema, additional context on when to use this tool and what could go wrong would improve completeness.

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%, and the description does not systematically explain the parameters. The example shows 'prompt' and 'model' in use, but does not define ollama_url or clarify the meaning of 'model' beyond being a parameter. This is insufficient for a 3-parameter tool where the description must compensate.

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?

The description clearly states the tool generates a Blender Python script from a natural language prompt using Ollama, with a specific verb and resource. It adds specificity by mentioning 'Blender Python script' and 'local LLM (Ollama)', but does not explicitly distinguish it from similar siblings like blender_ai_generate.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives. The description implies use when a natural language prompt needs to be converted to a Blender script, but sibling tools that might overlap (e.g., blender_ai_generate) are not mentioned, offering no exclusion criteria or decision framework.

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

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/sandraschi/blender-mcp'

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