Skip to main content
Glama
MikeyBeez

MCP Contemplation

by MikeyBeez

stop_contemplation

Terminate ongoing background cognitive processing to halt pattern recognition and insight development between conversations.

Instructions

Stop the contemplation loop

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function that stops the contemplation subprocess by sending a 'stop' action via stdin and then killing the process, returning appropriate status messages.
    async stop(): Promise<string> {
      if (!this.subprocess) {
        return 'Contemplation loop not running';
      }
    
      this.subprocess.stdin?.write(JSON.stringify({ action: 'stop' }) + '\n');
      this.subprocess.kill();
      this.subprocess = undefined;
      
      return 'Contemplation loop stopped';
    }
  • src/index.ts:465-472 (registration)
    Registers the 'stop_contemplation' tool in the MCP server's list of tools, including its description and empty input schema.
    {
      name: 'stop_contemplation',
      description: 'Stop the contemplation loop',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • MCP CallToolRequest handler case that invokes the ContemplationManager.stop() method and formats the response for the protocol.
    case 'stop_contemplation': {
      const result = await contemplation.stop();
      return {
        content: [{ type: 'text', text: result }],
      };
    }

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/MikeyBeez/mcp-contemplation'

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