Skip to main content
Glama

Sunfield — Headless Blender GPU Sandboxes & Cycles OptiX Rendering

sunfield_exec

Execute Python (bpy) code inside a live session. Globals persist across calls, automatic checkpoints recover crashes and timeouts, and load_hdri/load_glb/load_pbr helpers are pre-injected.

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": {
      "session_id": "<session_id>",
      "code": "<code>"
    },
    "name": "sunfield_exec"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
timeout_sNo
checkpointNo
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 disclose meaningful traits: globals persist across calls, checkpoints automatically recover from crashes/timeouts, and helper functions are pre-injected. It still omits return/output semantics (what stdout or values come back) and error behavior beyond crashes, which prevents a 5.

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?

A single front-loaded sentence whose three clauses each contribute a distinct fact (what runs, state behavior, available helpers). No filler or redundancy.

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 code-execution tool with no annotations, no output schema, and four undocumented parameters, the description covers the core execution model well but leaves the agent guessing about return values, session lifecycle expectations, and the exact semantics of the timeout/checkpoint parameters.

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% across 4 params, so the description must carry the load. It adds real meaning for `code` (Python/bpy, helpers available) and hints at timeouts and checkpoints conceptually, but never explains `session_id`, the `timeout_s` default of 30, or what the `checkpoint` boolean actually toggles per call.

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?

States a specific verb ('Execute Python (`bpy`) code') and a specific scope ('inside a live session'), which is clearly distinct from state-management or render siblings like sunfield_render or sunfield_checkpoint. It does not explicitly say which sibling to prefer for higher-level operations, so it falls just short of a 5.

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?

Usage is only implied: mentioning that load_hdri/load_glb/load_pbr helpers are pre-injected hints the agent should reach for this tool to do asset loading and arbitrary bpy work. There is no explicit when-to-use, when-not-to-use, or named alternative among the many siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.