Skip to main content
Glama

AI Agent Template MCP Server

by bswa006

check_before_suggesting

Verify imports, methods, and patterns to ensure AI-generated code suggestions are accurate and free from errors, enhancing reliability and precision.

Instructions

CRITICAL: AI must use this before suggesting any code to prevent hallucinations

Input Schema

NameRequiredDescriptionDefault
importsYesList of imports to verify (e.g., ["react", "useState from react"])
methodsYesList of methods to verify (e.g., ["Array.prototype.findLast", "String.prototype.replaceAll"])
patternsYesList of patterns to verify (e.g., ["async/await", "error boundaries"])

Input Schema (JSON Schema)

{ "properties": { "imports": { "description": "List of imports to verify (e.g., [\"react\", \"useState from react\"])", "items": { "type": "string" }, "type": "array" }, "methods": { "description": "List of methods to verify (e.g., [\"Array.prototype.findLast\", \"String.prototype.replaceAll\"])", "items": { "type": "string" }, "type": "array" }, "patterns": { "description": "List of patterns to verify (e.g., [\"async/await\", \"error boundaries\"])", "items": { "type": "string" }, "type": "array" } }, "required": [ "imports", "methods", "patterns" ], "type": "object" }

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/bswa006/mcp-context-manager'

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