Skip to main content
Glama

mcp-adr-analysis-server

by tosin2013

validate_rules

Validate code against architectural rules by analyzing file paths, content, and specified rules. Generate detailed reports to ensure compliance with architectural standards.

Instructions

Validate code against architectural rules

Input Schema

NameRequiredDescriptionDefault
fileContentNoContent to validate (alternative to filePath)
fileNameNoName of file being validated (when using fileContent)
filePathNoPath to file to validate
reportFormatNoFormat for validation reportdetailed
rulesYesRules to validate against
validationTypeNoType of validation to performfile

Input Schema (JSON Schema)

{ "properties": { "fileContent": { "description": "Content to validate (alternative to filePath)", "type": "string" }, "fileName": { "description": "Name of file being validated (when using fileContent)", "type": "string" }, "filePath": { "description": "Path to file to validate", "type": "string" }, "reportFormat": { "default": "detailed", "description": "Format for validation report", "enum": [ "summary", "detailed", "json" ], "type": "string" }, "rules": { "description": "Rules to validate against", "items": { "properties": { "description": { "type": "string" }, "id": { "type": "string" }, "message": { "type": "string" }, "name": { "type": "string" }, "pattern": { "type": "string" }, "severity": { "type": "string" } }, "required": [ "id", "name", "pattern", "severity", "message" ], "type": "object" }, "type": "array" }, "validationType": { "default": "file", "description": "Type of validation to perform", "enum": [ "file", "function", "component", "module" ], "type": "string" } }, "required": [ "rules" ], "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/tosin2013/mcp-adr-analysis-server'

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