Skip to main content
Glama

blender_export_obj

Exports the Blender scene to an OBJ file and returns the absolute path written, using either a live add-on session or a separate background Blender process.

Instructions

Export the scene as OBJ and return the absolute path written. Use transport='bridge' for the live Blender add-on session, or transport='headless' with blend_file='/path/to/file.blend' to export in a separate background Blender process.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filepath": "<filepath>"
    },
    "name": "blender_export_obj"
  }
}

Input Schema

NameRequiredDescriptionDefault
filepathYes
transportNobridge
blend_fileNo
factory_startupNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • addedInput schema / properties / blend_file
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Blend File"
      +}
    • addedInput schema / properties / factory_startup
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Factory Startup"
      +}
    • addedInput schema / properties / transport
      Added value: +{
      +  "default": "bridge",
      +  "enum": [
      +    "bridge",
      +    "headless"
      +  ],
      +  "title": "Transport",
      +  "type": "string"
      +}
  2. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that headless mode spawns a separate background Blender process and that the return value is the absolute path written, but it is silent on whether an existing file is overwritten, whether the export covers the whole scene versus selected objects, whether materials/textures are included, and whether bridge mode requires an active connected session.

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, zero filler, with the core action and its result stated first and the mode-selection detail following. Every clause carries information an agent needs before calling.

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?

An output schema exists, so return-value explanation is a bonus rather than a requirement. For a 4-parameter tool with no annotations and no schema descriptions, however, leaving factory_startup undefined and overwrite/session-state behavior unaddressed means an agent could still call it incorrectly.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate. It meaningfully explains both transport enum values and ties blend_file to headless mode, which is valuable, but 'factory_startup' is never mentioned and 'filepath' is only obliquely referenced via 'the absolute path written' — no mention of extension handling or directory creation.

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 gives a specific verb and resource plus an observable outcome: 'Export the scene as OBJ and return the absolute path written.' That is unambiguous about what the tool produces, but it never distinguishes itself from the sibling exporters blender_export_fbx and blender_export_gltf, leaving the agent to infer the format boundary from the name alone.

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?

It gives concrete conditional guidance for the two execution modes: 'bridge' for a live add-on session versus 'headless' with blend_file for a separate background process. That is real when-to-use context, but it addresses mode selection only — there is no guidance about preferring this OBJ exporter over the FBX/GLTF siblings or about prerequisites such as needing a saved scene.

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