Skip to main content
Glama
MikeyBeez

MCP Contemplation

by MikeyBeez

set_threshold

Configure the minimum significance level required for insights in Claude's contemplation loop to filter and prioritize cognitive processing results.

Instructions

Set minimum significance threshold for insights

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
significance_thresholdYesMinimum significance 1-10

Implementation Reference

  • MCP tool handler for 'set_threshold': extracts significance_threshold from arguments, calls contemplation.setThreshold(), and returns a confirmation message.
    case 'set_threshold': {
      const { significance_threshold } = args as { significance_threshold: number };
      contemplation.setThreshold(significance_threshold);
      return {
        content: [{ type: 'text', text: `Significance threshold set to ${significance_threshold}` }],
      };
    }
  • ContemplationManager method that sets the significanceThreshold property, clamping the value between 1 and 10.
    setThreshold(threshold: number): void {
      this.significanceThreshold = Math.max(1, Math.min(10, threshold));
    }
  • src/index.ts:433-448 (registration)
    Tool registration in ListToolsRequestSchema handler, including name, description, and input schema.
    {
      name: 'set_threshold',
      description: 'Set minimum significance threshold for insights',
      inputSchema: {
        type: 'object',
        properties: {
          significance_threshold: {
            type: 'number',
            description: 'Minimum significance 1-10',
            minimum: 1,
            maximum: 10
          }
        },
        required: ['significance_threshold'],
      },
    },
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 offers minimal behavioral insight. It implies a mutation ('Set') but doesn't disclose permissions needed, whether the change is persistent, side effects, or error conditions. This is inadequate for a tool that likely modifies system state.

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

Conciseness5/5

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

The description is a single, efficient sentence with zero wasted words. It's front-loaded with the core action and resource, making it easy to parse quickly.

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 lack of annotations and output schema, and the tool's likely mutative nature, the description is insufficient. It doesn't explain what 'insights' are affected, how the threshold is applied, or what the tool returns, leaving critical gaps for agent understanding.

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 the input schema fully documents the parameter's type, range, and description. The description adds no additional meaning beyond what's in the schema, meeting the baseline for high coverage.

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

Purpose4/5

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

The description clearly states the action ('Set') and the target resource ('minimum significance threshold for insights'), making the purpose immediately understandable. However, it doesn't differentiate this tool from its siblings (like 'get_insights' or 'start_contemplation'), which would require a 5.

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., when threshold changes take effect), or exclusions, leaving the agent to infer usage from the tool 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