Skip to main content
Glama

code_review

Run deterministic shape-level code checks for naming, comment coverage, long functions, duplicated blocks, and SEARCH/REPLACE diffs to clear shallow noise before deep review.

Instructions

Shape-level code check (deterministic regex, zero LLM): naming, comment coverage, long functions, duplicated blocks, diff review (SEARCH/REPLACE). Clears shallow noise before deep review — not a correctness verdict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
diffNoPatch to review block-by-block: SEARCH/REPLACE (<<<<<<< SEARCH ... ======= ... >>>>>>> REPLACE) or unified diff (--- a/x.js / +++ b/x.js / @@ hunks). Pass one of file/source/diff; diff wins over source/file
fileNoFile path relative to workspace_dir to review (reads from disk)
sourceNoSource code text to review (mutually exclusive with file; source wins if both passed)
max_issuesNoMax issues to return (default: 50)
workspace_dirYesREQUIRED: absolute path of the project root to review code in

Latest Blog Posts

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/wulun811/LiuHe'

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