Skip to main content
Glama
MikeyBeez

MCP Contemplation

by MikeyBeez

get_status

Check the status of Claude's background cognitive processing to monitor ongoing contemplation, pattern recognition, and insight development between conversations.

Instructions

Get contemplation loop status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function in ContemplationManager class that implements the logic for get_status tool: checks if subprocess is running, sends status request to it, and returns ContemplationStatus object with running state, PID, queue size, and last thought.
    async getStatus(): Promise<ContemplationStatus> {
      const running = !!this.subprocess && !this.subprocess.killed;
      
      if (!running) {
        return {
          running: false,
          queue_size: 0
        };
      }
    
      // Send status request
      this.subprocess?.stdin?.write(JSON.stringify({ action: 'status' }) + '\n');
      
      // For now, return basic status
      return {
        running: true,
        process_id: this.subprocess?.pid,
        queue_size: this.insights.filter(i => !i.used).length,
        last_thought: this.insights[this.insights.length - 1]?.content
      };
    }
  • MCP tool call dispatch handler that invokes contemplation.getStatus() and formats the response as MCP content.
    case 'get_status': {
      const status = await contemplation.getStatus();
      return {
        content: [{ type: 'text', text: JSON.stringify(status, null, 2) }],
      };
    }
  • src/index.ts:457-464 (registration)
    Tool registration in ListTools response, including name, description, and empty input schema.
    {
      name: 'get_status',
      description: 'Get contemplation loop status',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • TypeScript interface defining the output structure returned by getStatus() handler.
    interface ContemplationStatus {
      running: boolean;
      process_id?: number;
      queue_size: number;
      last_thought?: string;
      uptime?: number;
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but only states the action without behavioral details. It doesn't disclose if this is a read-only operation, what data is returned, potential side effects, or error conditions. For a tool with zero annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with no wasted words, making it easy to parse. However, it could be slightly more informative by front-loading key details like what 'status' entails, but it's appropriately concise for a simple tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (a status-checking tool with siblings), no annotations, and no output schema, the description is incomplete. It doesn't explain what 'status' includes (e.g., active/inactive, progress metrics), how it differs from other get tools, or what the return format is, leaving the agent with insufficient context for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters with 100% schema description coverage, so no parameter documentation is needed. The description doesn't add parameter details, which is appropriate here, earning a baseline score of 4 for adequately matching the schema's completeness.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get contemplation loop status' clearly states the verb ('Get') and resource ('contemplation loop status'), making the purpose understandable. However, it doesn't differentiate from siblings like 'get_insights' or 'get_memory_stats', leaving ambiguity about what specific status information is provided versus other get operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context (e.g., only during active contemplation), or comparisons to siblings like 'get_insights' for different types of information, leaving the agent to infer usage from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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