Skip to main content
Glama
Almond MCP

Almond MCP

get_blender_helper_script

Returns Python scripts for Blender to export selected geometry as Almond assets with GLB or create and assign Almond library materials, so Blender joins the workflow without a dedicated bridge.

Instructions

Returns Python to run inside Blender (via blender-mcp's execute_code) so Blender participates in the Almond workflow without a dedicated bridge.

Actions: "export" - export the current Blender selection as an Almond asset contract + GLB (measured from evaluated mesh data, because Blender inflates curve bounding boxes). "materials" - create Almond library materials in Blender (sRGB values converted to linear) and assign them to named objects, tagging both with almond:* properties.

Args: action: "export" or "materials". asset_id, name, output_dir: for "export" (output_dir defaults to the Almond exchange folder). material_id, object_names: for "materials". Returns: JSON with a "script" field to pass to Blender's execute_code.

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": {
      "action": "<action>"
    },
    "name": "get_blender_helper_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
actionYes
asset_idNo
output_dirNo
material_idNo
object_namesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses that export measurements come from evaluated mesh data because Blender inflates curve bounding boxes, that sRGB values are converted to linear for materials, and that objects get tagged with almond:* properties. It does not mention filesystem side effects of export or any permission prerequisites, which leaves some behavioral gaps.

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 opening sentence front-loads what the tool returns and how the script is consumed, then uses compact Actions/Args/Returns blocks. The structure is scannable with little wasted wording, though the action list repeats information that partially overlaps the Args section.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter generator with no annotations, the definition covers purpose, per-action parameter routing, and the key behavioral caveats. An output schema exists, yet the description still usefully notes the returned "script" field, which is the critical hand-off detail for the caller.

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 description coverage is 0%, so the description must compensate, and it does: all six parameters are accounted for and grouped by action, with the non-obvious default for output_dir (the Almond exchange folder) called out. It adds no format or shape detail for asset_id, material_id, or object_names beyond their role.

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 names a specific verb and resource: it returns Python source to be run inside Blender via blender-mcp's execute_code, and enumerates the two concrete actions ("export" and "materials"). An agent can tell this is a script-generation tool rather than a direct Blender mutation, though it never names a sibling alternative to route against.

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 states the purpose context (letting Blender participate in the Almond workflow without a dedicated bridge) and maps each action to its argument set, so an agent knows which parameters belong to "export" versus "materials". There is no explicit when-not guidance or named alternative for cases where a different tool is preferable.

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