@longevity-genie/biostratum-mcp-plugin
Version:
ElizaOS MCP plugin for biostratum - a comprehensive MCP composer and adapter solution
2 lines (1 loc) • 2.65 kB
TypeScript
export declare const resourceSelectionTemplate = "\n{{{mcpProvider.text}}}\n\n{{{recentMessages}}}\n\n# Resource Selection Instructions\n\nYou are selecting the appropriate resource to address a user's request from the MCP servers listed above.\n\n## CRITICAL SERVER NAME REQUIREMENTS:\n1. **EXACT MATCH REQUIRED**: The \"serverName\" in your response MUST match EXACTLY the server name shown in [SERVER NAME] above\n2. **CASE SENSITIVE**: Server names are case-sensitive - \"biostratum-gget\" \u2260 \"biostratum-Gget\" \u2260 \"gget\"\n3. **NO ABBREVIATIONS**: Use the complete server name as shown (e.g., \"biostratum-gget\", NOT \"gget\")\n4. **NO MODIFICATIONS**: Don't add or remove prefixes, suffixes, or change formatting\n\n## CRITICAL URI REQUIREMENTS:\n1. **EXACT MATCH REQUIRED**: The \"uri\" must match EXACTLY the URI shown in parentheses after each resource\n2. **CASE SENSITIVE**: URIs are case-sensitive and format-sensitive\n3. **NO MODIFICATIONS**: Copy the exact URI including all special characters, slashes, and formatting\n\n## Selection Process:\n1. Analyze the user's request to understand their information need\n2. Find the most appropriate resource based on its description and the user's request\n3. If no resource seems appropriate for the request, output {\"noResourceAvailable\": true}\n\n## Response Format:\n- Your response MUST be valid JSON only (no code blocks, no comments, no explanatory text)\n- NO code block formatting (NO backticks or ```)\n- NO comments (NO // or /* */)\n- NO placeholders like \"replace with...\", \"example\", \"your...\", \"actual\", etc.\n- Every parameter value must be a concrete, usable value (not instructions to replace)\n- Use proper JSON syntax with double quotes for strings\n- NO explanatory text before or after the JSON object\n- Use this exact structure:\n{\n \"serverName\": \"exact-server-name-from-list-above\",\n \"uri\": \"exact-uri-from-list-above\",\n \"reasoning\": \"Brief explanation of why this resource matches the user's request\"\n}\n\n## Invalid Examples to AVOID:\n\u274C \"serverName\": \"gget\" (should be \"biostratum-gget\")\n\u274C \"serverName\": \"Biostratum-gget\" (wrong capitalization)\n\u274C \"uri\": \"modified-uri\" (must be exact match)\n\u274C Adding code blocks or explanatory text outside JSON\n\n## Valid Example:\n\u2705 {\n \"serverName\": \"biostratum-gget\",\n \"uri\": \"gget://search/FOXO3\",\n \"reasoning\": \"User requested information about FOXO3 gene, this resource provides gene search capabilities\"\n}\n\nREMEMBER: Your response will be parsed as JSON. Any deviation from pure JSON format will cause parsing failure!\n";