Skip to main content
Glama

evaluateInsight

Assess insights for long-term value using criteria like actionability, longevity, and future reference to filter out trivial details and retain meaningful knowledge.

Instructions

Evaluate the long-term value and significance of an insight or thought based on the following criteria: 1. Actionability (1-10): Can this be applied to future work? Is there any information that can be used to apply this thought to future work in different contexts? Is the problem it solves clear? 2. Longevity (1-10): Will this be relevant months or years from now? 3. Findability (1-10): Would this be hard to rediscover if forgotten? 4. Future Reference Value (1-10): How likely are you to need this again? Insights to ignore: 1. Trivial syntax details 2. Redundant information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thoughtYes
evaluationStepYes
totalStepsYes
nextStepNeededYes
actionabilityYes
longevityYes
findabilityYes
futureReferenceValueYes

Implementation Reference

  • The handler function for the 'evaluateInsight' tool. It casts args to EvaluateInsightArgs, computes the sum of four evaluation criteria (actionability, longevity, findability, futureReferenceValue), checks if >18, and returns a JSON response indicating value.
    case "evaluateInsight": { const insightArgs = args as EvaluateInsightArgs; const result = insightArgs.actionability + insightArgs.longevity + insightArgs.findability + insightArgs.futureReferenceValue; const isValuable = result > 18; if (isValuable) { return { content: [{ type: "text", text: JSON.stringify({result: `This insight has significant long-term value`, ...insightArgs, isValuable}, null, 2) }], }; } else { return { content: [{ type: "text", text: JSON.stringify({result: `This insight may not have sufficient long-term value`, ...insightArgs, isValuable}, null, 2) }], }; } }
  • Registration of the 'evaluateInsight' tool within the getToolDefinitions() function's return array, including its name, description, and input schema.
    { name: "evaluateInsight", description: ` Evaluate the long-term value and significance of an insight or thought based on the following criteria: 1. Actionability (1-10): Can this be applied to future work? Is there any information that can be used to apply this thought to future work in different contexts? Is the problem it solves clear? 2. Longevity (1-10): Will this be relevant months or years from now? 3. Findability (1-10): Would this be hard to rediscover if forgotten? 4. Future Reference Value (1-10): How likely are you to need this again? Insights to ignore: 1. Trivial syntax details 2. Redundant information `, inputSchema: { type: "object", properties: { thought: { type: "string" }, evaluationStep: { type: "number" }, totalSteps: { type: "number" }, nextStepNeeded: { type: "boolean" }, actionability: { type: "number" }, longevity: { type: "number" }, findability: { type: "number" }, futureReferenceValue: { type: "number" } }, required: ["thought", "evaluationStep", "totalSteps", "nextStepNeeded", "actionability", "longevity", "findability", "futureReferenceValue"] }, },
  • TypeScript interface defining the arguments for evaluateInsight, extending StickyArgs which provides the required fields.
    // Rename to EvaluateInsightArgs interface EvaluateInsightArgs extends StickyArgs {}
  • Base interface StickyArgs used by EvaluateInsightArgs, defining the input parameters for evaluation criteria.
    interface StickyArgs { thought: string; evaluationStep: number; totalSteps: number; nextStepNeeded: boolean; actionability: number; longevity: number; findability: number; futureReferenceValue: number; }

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/mikeysrecipes/mcp-notes'

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