Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VISFORGE_DEPTH_WEIGHTSNoOptional weight-file path recorded by the depth tool.
VISFORGE_CONNECT_TIMEOUTNoSeconds to wait for each socket.2.0
VISFORGE_PLASTICITY_BRIDGENoPlasticity live-link URL.ws://127.0.0.1:8980
VISFORGE_PLASTICITY_CONNECTORNoVisForge connector URL.ws://127.0.0.1:9741

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

VisForge models solids for Plasticity. Prefer a skill and a named relation over a list of absolute coordinates. Command names follow the Plasticity manual. list_commands shows which ones this session executes. describe_command returns the dialog fields on record. Units are millimeters and Z is up. The construction plane for new primitives is world XY, and height grows along +Z. After a change, call check_scene or validate_mesh. Call analyze_screenshot when a viewport capture is available. If the backend is offline-mirror, the solid is in the session mirror and Plasticity has not executed it. If executed_in_plasticity is false, say so in the reply.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
plasticity_connectA

Connect to the VisForge connector and to Plasticity's live-link server.

A closed application is a normal result. The session then uses the analytic mirror. Writes reach Plasticity only when a connector reports that it executed them.

plasticity_statusA

Report the active backend, channel URLs, and the analytic scene.

plasticity_refreshC

Read object summaries from Plasticity's live link and return the local scene.

plasticity_new_sceneC

Clear the analytic scene mirror and ask the connector to clear its copy.

plasticity_create_primitiveB

Create a box, sphere, or cylinder on the Plasticity session.

Units are millimeters and Z is up. For a sphere, size_x is the radius.
For a cylinder, size_x is the radius and size_z is the height.
plasticity_center_boxB

Create a Center Box. The point is the center of the base, and height grows along +Z.

plasticity_corner_boxC

Create a Corner Box from two diagonal base corners and a height along +Z.

plasticity_sphereC

Create a Sphere. The manual's Radius field is used as the radius, in millimeters.

plasticity_cylinderC

Create a vertical Cylinder. The point is the center of the base circle.

plasticity_place_onC

Seat a named solid on the +Z face of another, sharing its XY center.

plasticity_booleanB

Boolean the tool solid into the target.

operation is union, difference, or intersect. subtract is accepted as the
older name for difference. Slice and Region are documented and not executed.
keep_tools leaves the tool solid in the scene, matching Keep Tools.
plasticity_moveC

Move a named solid by the Move dialog XYZ amounts, in world millimeters.

plasticity_scaleB

Scale a named solid by the Scale dialog XYZ factors about its bounding-box center.

plasticity_duplicateC

Duplicate a named solid and offset the copy by the Duplicate dialog XYZ amounts.

plasticity_mirrorC

Mirror a named solid across a world plane perpendicular to axis.

axis is x, y, or z. origin is the plane position on that axis. cut asks for Cut down mirror plane and is not executed.

plasticity_rectangular_arrayB

Array a named solid. number is the total count along axis, including the source.

mode is spacing or extent. axis2 and number2 add the second direction.

plasticity_hollowC

Hollow a box by a uniform wall thickness. local face hollowing is not executed.

plasticity_measureB

Measure the center distance and AABB gap between two named solids.

list_commandsC

List Plasticity manual commands. family can be tool, sketch, solid, common, document, or selection.

describe_commandB

Describe one Plasticity manual command, including the dialog fields VisForge has recorded.

list_skillsA

List the Plasticity skill catalog, including skills that are specified but not executed.

plan_modelA

Decompose a modeling request into parts, relations, and checks.

This baseline planner is deterministic. A host model may ignore it and call the skill tools directly.

run_agent_loopC

Run one planner, actor, and critic pass on the current session.

Set screenshot to a file path to attach perception. Set it to "synthetic" to attach the built-in centered block instead of a capture.

check_sceneA

Critique the current analytic scene for volume and unexplained overlap.

analyze_screenshotB

Measure edges, symmetry, and a coarse grid for a viewport capture.

PNG and JPEG are read with OpenCV when the vision extra is installed. Binary P5 PPM is read by VisForge itself. With no path, a built-in pattern is analyzed.

estimate_depthA

Return a relative monocular depth summary for a capture or built-in pattern.

The fields match a Depth Anything V2 style result. This starter fills them with a luminance proxy and does not load the network.

validate_meshB

Check manifold edges, watertightness, volume, and proportions.

Use sample "unit_cube" or "open_corner", or pass mesh_json as
{"vertices": [[x, y, z], ...], "faces": [[i, j, k], ...]}.
trimesh and Open3D contribute extra fields when they are installed.
check_intersectionsB

Report analytic overlaps among the active solids in the session.

reset_modelA

Replace the process session with an empty offline mirror.

This does not contact Plasticity. Use plasticity_new_scene when a
connector is already connected and should be cleared too.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 29 tools

Disambiguation3/5

Most tools target a distinct resource plus action, but there is real overlap between the generic plasticity_create_primitive and the role-specific plasticity_sphere / plasticity_cylinder / plasticity_center_box / plasticity_corner_box, and between plasticity_new_scene and reset_model (only the description disambiguates them). The cluster of checking tools (check_scene, check_intersections, plasticity_measure, validate_mesh) is separable but requires careful reading, and plan_model vs run_agent_loop border on the same workflow.

Naming Consistency3/5

All names are snake_case, which is good, but two conventions are mixed: a plasticity_ prefix for live-link operations and bare names for local analytics, and within the prefixed group some names are verb-first (plasticity_create_primitive, plasticity_move) while others are noun-only (plasticity_sphere, plasticity_cylinder, plasticity_mirror). Readable, but not a single predictable verb_noun pattern.

Tool Count2/5

29 tools exceeds the 25+ threshold and the surface spans four loosely related areas (Plasticity live link, manual/skill introspection, agent loop, and vision/mesh validation). Several tools look like thin wrappers (plasticity_sphere, plasticity_cylinder) that could fold into the generic primitive creator.

Completeness4/5

Creation, transforms, booleans, arrays, measurement, scene reset, and mesh/overlap validation are all present, which covers the core modeling loop. The notable gap is that there is no delete/remove-solid or undo tool, and no export/save path, so agents can build and inspect but cannot clean up or persist results.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues