Skip to main content
Glama

stop_crash_session

Terminate an active crash analysis session to stop resource usage and complete debugging tasks.

Instructions

Terminates an active crash session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes

Implementation Reference

  • The main handler function for the 'stop_crash_session' tool. It is decorated with @mcp.tool(), which registers it as an MCP tool. The function terminates the specified crash analysis session by closing it and removing it from the global sessions dictionary.
    @mcp.tool() def stop_crash_session(session_id: str) -> str: """ Terminates an active crash session. """ if session_id not in sessions: return f"Error: Session ID {session_id} not found." session = sessions[session_id] session.close() del sessions[session_id] return f"Session {session_id} closed."

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/yup-21/crash-mcp'

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