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
| Name | Required | Description | Default |
|---|---|---|---|
| significance_threshold | Yes | Minimum significance 1-10 |
Implementation Reference
- src/index.ts:535-541 (handler)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}` }], }; }
- src/index.ts:282-284 (helper)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'], }, },