Skip to main content
Glama
MikeyBeez

MCP Contemplation

by MikeyBeez

send_thought

Submit thoughts for background cognitive processing to maintain continuity, recognize patterns, and develop insights between conversations.

Instructions

Send a thought for background processing

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thought_typeYesType of thought to process
contentYesThe thought content to process
priorityNoPriority 1-10 (default 5)

Implementation Reference

  • MCP tool handler for 'send_thought' that extracts parameters from the request and delegates execution to ContemplationManager.sendThought, returning the generated thought ID.
    case 'send_thought': {
      const { thought_type, content, priority } = args as {
        thought_type: string;
        content: string;
        priority?: number;
      };
      
      const thoughtId = await contemplation.sendThought(thought_type, content, priority);
      return {
        content: [{ type: 'text', text: `Thought sent for processing. ID: ${thoughtId}` }],
      };
    }
  • Input schema definition for the 'send_thought' tool, specifying parameters, types, enums, and requirements for validation.
    inputSchema: {
      type: 'object',
      properties: {
        thought_type: {
          type: 'string',
          enum: ['pattern', 'connection', 'question', 'general'],
          description: 'Type of thought to process'
        },
        content: {
          type: 'string',
          description: 'The thought content to process'
        },
        priority: {
          type: 'number',
          description: 'Priority 1-10 (default 5)',
          minimum: 1,
          maximum: 10
        }
      },
      required: ['thought_type', 'content'],
  • src/index.ts:384-407 (registration)
    Registration of the 'send_thought' tool in the ListTools response, including name, description, and full input schema.
    {
      name: 'send_thought',
      description: 'Send a thought for background processing',
      inputSchema: {
        type: 'object',
        properties: {
          thought_type: {
            type: 'string',
            enum: ['pattern', 'connection', 'question', 'general'],
            description: 'Type of thought to process'
          },
          content: {
            type: 'string',
            description: 'The thought content to process'
          },
          priority: {
            type: 'number',
            description: 'Priority 1-10 (default 5)',
            minimum: 1,
            maximum: 10
          }
        },
        required: ['thought_type', 'content'],
      },
  • Core implementation of sending a thought: generates ID, constructs message, writes to subprocess stdin for background processing, returns ID.
    async sendThought(thoughtType: string, content: string, priority: number = 5): Promise<string> {
      if (!this.subprocess) {
        throw new Error('Contemplation loop not running. Call start_contemplation first.');
      }
    
      const thoughtId = `thought_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
      const message = {
        action: 'add_thought',
        thought_type: thoughtType,
        content: content,
        priority: priority,
        thought_id: thoughtId
      };
    
      this.subprocess.stdin?.write(JSON.stringify(message) + '\n');
      return thoughtId;
    }
Behavior2/5

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

With no annotations, the description carries full burden but only states 'background processing' without detailing behavioral traits. It doesn't cover permissions, rate limits, processing time, or what happens after sending (e.g., async result, storage). This leaves critical operational aspects undisclosed.

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 front-loaded and easy to parse. However, it's overly brief, potentially under-specifying the tool's purpose, which slightly reduces effectiveness.

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 no annotations and no output schema, the description is incomplete. It lacks details on processing behavior, return values, or error handling, making it insufficient for a tool with 3 parameters and unclear sibling differentiation in a complex server context.

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

Parameters3/5

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

Schema description coverage is 100%, so parameters are fully documented in the schema. The description adds no meaning beyond the schema, not explaining parameter interactions or usage examples. Baseline 3 is appropriate as the schema handles the heavy lifting.

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 states the action ('send') and resource ('a thought'), but it's vague about what 'background processing' entails. It doesn't distinguish from siblings like 'start_contemplation' or 'get_insights', leaving the specific purpose unclear beyond a generic submission.

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?

No guidance is provided on when to use this tool versus alternatives like 'start_contemplation' or 'set_threshold'. The description implies submission for processing but offers no context on appropriate scenarios or exclusions, leaving usage ambiguous.

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