Skip to main content
Glama
BluntMan-420

MaxForge MCP

by BluntMan-420

run_python

Run Python code in 3ds Max's embedded interpreter to automate tasks, modify scenes, or evaluate expressions. Captures output and returns results for immediate integration.

Instructions

Execute arbitrary Python inside 3ds Max's embedded interpreter (pymxs available as rt). For an expression, its value is returned; for a statement block, assign to a variable named result to return something. stdout is captured and returned too.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It clearly states that arbitrary Python can be executed, explains the return behavior (expression value, or `result` for statement blocks), and mentions stdout capture. However, it does not explicitly warn about potential side effects or error handling, which is a minor gap for an arbitrary execution tool.

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 at three sentences, with the core purpose front-loaded ('Execute arbitrary Python'). Every sentence provides useful information: the interpreter context, return mechanism, and stdout handling. No filler or redundancy.

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 tool with one parameter and no output schema, the description is quite complete: it covers the execution environment, return value conventions, and stdout. It lacks explicit error-handling details or caveats about side effects, but given the simplicity of the tool, these are not critical omissions.

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?

The input schema has 0% description coverage, so the description must compensate. It explains that `code` is the Python code to execute, and adds crucial details about expression vs. statement block semantics and how to return values. This goes beyond the schema's bare 'Code' label, providing meaningful context.

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 states a specific verb ('Execute') and resource ('arbitrary Python inside 3ds Max's embedded interpreter'), making the tool's purpose clear. It mentions pymxs, which ties it to Python specifically, but it does not explicitly distinguish it from run_maxscript, though the name and content imply the difference.

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?

The description implies usage for Python code execution but does not explicitly state when to choose this over the sibling run_maxscript or any other alternative. It gives practical guidance on how to structure code (expression vs. statement block) but not when to use the tool versus others.

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/BluntMan-420/MaxForge-MCP'

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