UNPKG

noverload-mcp

Version:

MCP server for Noverload - Access saved content in AI tools with advanced search, synthesis, and token management

87 lines 2.29 kB
/** * Dynamic LLM Instructions for Optimal MCP Usage * These instructions help LLMs understand how to best utilize the Noverload MCP */ export interface LLMInstructions { version: string; capabilities: ToolCapabilities; bestPractices: UsagePatterns; tokenManagement: TokenGuidance; exampleWorkflows: WorkflowExample[]; } interface ToolCapabilities { search: { description: string; strengths: string[]; limitations: string[]; whenToUse: string[]; }; synthesis: { description: string; strengths: string[]; limitations: string[]; whenToUse: string[]; }; retrieval: { description: string; strengths: string[]; limitations: string[]; whenToUse: string[]; }; } interface UsagePatterns { forQuestions: string; forResearch: string; forFactChecking: string; forLearning: string; forSynthesis: string; } interface TokenGuidance { searchResultsLimit: number; useChunking: boolean; summaryFirst: boolean; maxContentPerQuery: number; } interface WorkflowExample { scenario: string; steps: string[]; expectedOutcome: string; } export declare function generateLLMInstructions(userContentStats?: { totalContent: number; contentTypes: Record<string, number>; averageTokenCount: number; }): LLMInstructions; /** * Generate contextual instructions based on current query */ export declare function getContextualInstructions(query: string, context?: { previousQueries?: string[]; userPreferences?: Record<string, any>; sessionGoal?: string; }): string; /** * Token usage estimator for planning queries */ export declare function estimateTokenUsage(operation: { tool: string; params: Record<string, any>; }): { estimated: number; warning?: string; suggestion?: string; }; /** * Generate a query plan for complex requests */ export declare function planQueryStrategy(userRequest: string, availableTools: string[]): { strategy: 'simple' | 'multi-step' | 'exploratory'; steps: Array<{ tool: string; purpose: string; params: Record<string, any>; }>; estimatedTokens: number; }; export {}; //# sourceMappingURL=llm-instructions.d.ts.map