Skip to main content
Glama

AI Agent Template MCP Server

by bswa006

validate_generated_code

Validate generated code for patterns, security, and best practices to ensure quality and reliability. Supports components, functions, services, tests, and config files.

Instructions

Validate generated code for patterns, security, and best practices

Input Schema

NameRequiredDescriptionDefault
codeYesThe generated code to validate
targetFileNoTarget file path for context
typeYesType of code being validated

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "The generated code to validate", "type": "string" }, "targetFile": { "description": "Target file path for context", "type": "string" }, "type": { "description": "Type of code being validated", "enum": [ "component", "function", "service", "test", "config" ], "type": "string" } }, "required": [ "code", "type" ], "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