ollama_review_file
Review a file by absolute path with an Ollama model, focusing on code quality, security, or bugs while the MCP server reads it directly to reduce token usage.
Instructions
Review a file by path using Ollama. The MCP server reads the file directly, reducing token usage.
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": {
"file_path": "<file_path>"
},
"name": "ollama_review_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | What to focus on (e.g., 'performance', 'security', 'best practices', 'bugs') | general code quality |
| model | No | Ollama model to use (default: gemma3:27b) | gemma3:12b |
| file_path | Yes | Absolute path to the file to review |