Skip to main content
Glama
chrishayuk

Physics MCP Server

by chrishayuk

destroy_simulation

Terminate a physics simulation to free memory resources and prevent leaks in long-running sessions. Clean up after completing trajectory analysis or motion modeling.

Instructions

Destroy a simulation and free resources.

Cleanup when done with a simulation. Important for long-running servers
to avoid memory leaks.

Args:
    sim_id: Simulation ID to destroy

Returns:
    Success message

Tips for LLMs:
    - Always destroy simulations when conversation ends or changes topic
    - Rapier service keeps simulations in memory until explicitly destroyed
    - Good practice: destroy after recording trajectory or final state

Example:
    await destroy_simulation(sim_id)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sim_idYes

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/chrishayuk/chuk-mcp-physics'

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