Validate Implementation
mcp_m7_validate_implementationValidate code against safety patterns and best practices for a specified technology, with optional strict rules, suggested fixes, and risk metrics.
Instructions
Validate code implementation against safety patterns and best practices
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>",
"technology": "<technology>"
},
"name": "mcp_m7_validate_implementation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to validate | |
| technology | Yes | Technology/language of the code (e.g., javascript, typescript, python) | |
| strict_mode | No | Enable strict validation mode | |
| custom_rules | No | ||
| include_fixes | No | Include suggested fixes in response | |
| risk_threshold | No | Minimum risk score to report issues (0-100) | |
| include_metrics | No | Include detailed metrics in response | |
| enabled_categories | No | ||
| confidence_threshold | No | Minimum confidence level for patterns (0.0-1.0) |