Skip to main content
Glama

Post-Process Generated Mesh (Inline GLB or URL)

post_process_mesh
Read-onlyIdempotent

Post-process a RAW generated mesh (normalize → mesh-repair → rig/skin → validate → export) and return the finished, validated GLB as base64. The inline counterpart of axis_process (which needs a server file path) — the generation post-process step, callable by an LLM/agent that holds the mesh bytes (e.g. fresh TRELLIS output) or a URL to them. Provide the mesh EXACTLY one of two ways: inline as base64 (glb_base64) or as an HTTPS URL (mesh_url) — the URL's host must be on this server's operator-configured allowlist (off by default; an unconfigured allowlist refuses every mesh_url call, it is never open to an arbitrary host). Providing both or neither is a real input error. [Paid: $1.50 USDC via x402 for unauthenticated calls on the hosted /mcp endpoint; settled only on a successful (non-error) result.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mesh_urlNoHTTPS URL to fetch the raw GLB from instead of inline base64 (e.g. a presigned storage URL) — the host must be on this server's configured allowlist (off by default). Provide exactly one of glb_base64 or mesh_url.
platformNoTarget engine platform (adds export validation)
asset_kindNoAsset kind (skinning auto-on for avatar only)
glb_base64NoBase64-encoded raw binary GLB to post-process. Provide exactly one of glb_base64 or mesh_url.
polygon_tierNoDecimation tier for the output mesh
run_skinningNoOverride skinning (default: avatars only)

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already establish readOnly, idempotent, and non-destructive behavior, and the description adds substantial context beyond them: the transformation pipeline, the URL host allowlist defaulting to off, the both/neither input error, and the x402 payment settled only on success. This gives the agent an unusually complete picture of runtime behavior and failure modes.

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 long but every clause earns its place, covering output, pipeline, sibling differentiation, input constraints, security policy, error conditions, and cost. It is front-loaded with the core purpose before moving to constraints and billing, and remains readable despite its density.

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

Completeness5/5

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

For a tool with six parameters, no output schema, and a nontrivial URL allowlist constraint, the description is remarkably complete. It states the return format (base64 GLB), the valid input modes, the error condition for both/neither, and the billing model. An agent given only this description and the schema can safely select and invoke the tool.

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 coverage is 100%, so the baseline is 3, but the description meaningfully enhances parameter understanding: it makes the mutual exclusivity of glb_base64 and mesh_url explicit, warns that the URL host must be allowlisted, and clarifies that asset_kind triggers skinning only for avatars. The only gap is polygon_tier, whose allowed values remain unspecified.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Post-process'), a precise resource ('RAW generated mesh'), and an explicit pipeline (normalize → mesh-repair → rig/skin → validate → export), culminating in a clear deliverable (validated GLB as base64). It also differentiates itself from axis_process by stating it is the inline counterpart, so an agent can distinguish the tools without inspecting schemas.

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

Usage Guidelines5/5

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

The tool explicitly frames when to use it: when an agent holds mesh bytes (e.g., fresh TRELLIS output) or has a URL, and contrasts it with axis_process, which requires a server file path. It also spells out the exact input requirement — provide glb_base64 or mesh_url, never both or neither — and the URL allowlist condition, leaving little room for incorrect invocation.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool occupies a clearly distinct role: generation (image/text) plus status polling, pipeline processing (file vs inline), validation, repair, export, compliance, manifest verification, inspection, comparison, capabilities, and animation retargeting are all separated. The only potential overlap between axis_process and post_process_mesh is explicitly resolved by input method and scope.

Naming Consistency3/5

Two naming styles coexist: axis_* prefix for core pipeline/contract tools and descriptive non-prefixed names for generation, repair, and compliance tools. Within axis_*, the verb/noun order is inconsistent (e.g., axis_manifest_verify vs axis_list_capabilities), making the set readable but not uniform.

Tool Count5/5

14 tools is squarely within the ideal 3-15 range and matches the broad but well-defined scope of a full avatar foundry: generation, processing, validation, repair, export, compliance, and metadata inspection. Every tool serves a necessary function with no redundancy or bloat.

Completeness4/5

The toolset covers the full lifecycle from generation (image/text) and status polling through post-processing, repair, validation, export, and Roblox-specific compliance. Minor gaps exist, such as no tool to list available animation clips (retarget_animation references 'built-in' clips) or manage a library of previously generated avatars, but core workflows are fully supported.

Resources