Skip to main content
Glama

Mathematica MCP Server

by aac6fef

close_mathematica_session

Terminates a specific Wolfram Language session and releases associated resources to free up system memory and kernel licenses. Use to close active sessions efficiently.

Instructions

Terminates a specific Wolfram Language session and releases all associated resources.

It is good practice to call this tool when you are finished with a session to free up system memory and kernel licenses. Once a session is closed, its ID can no longer be used.

Args: session_id: The unique identifier of the session you wish to close. This must be an ID from an active, open session. Example: 'bee-sloth-auk-mole'.

Returns: A confirmation message indicating that the session was successfully closed.

Input Schema

NameRequiredDescriptionDefault
session_idYes

Input Schema (JSON Schema)

{ "properties": { "session_id": { "title": "Session Id", "type": "string" } }, "required": [ "session_id" ], "title": "close_mathematica_sessionArguments", "type": "object" }
Install Server

Other Tools from Mathematica MCP Server

Related Tools

    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/aac6fef/mathematica_mcp'

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