Skip to main content
Glama

codereview

Conduct systematic code reviews across quality, security, performance, and architecture using multiple AI models in parallel.

Instructions

Systematic code review using external models. Covers quality, security, performance, and architecture.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesStep name (e.g., 'Initial Analysis', 'Security Review')
contentYesYour code review request for the expert reviewer. Step 1: Describe the project and define review objectives and focus areas. Step 2+: Report findings organized by quality, security, performance, architecture. Include: what to review, focus areas (security/concurrency/logic), specific concerns, confidence level. Exclude: code snippets (use `relevant_files`), issue lists (use `issues_found`).
step_numberYesCurrent step
next_actionYesRecommended next action: 'continue' to proceed, 'stop' to end
base_pathYesAbsolute path to project root to id the project and load project files
thread_idNoThread ID to continue previous conversation and preserve context. WHEN TO USE: - None/omit: Starting a brand new review or chat session (step_number=1) - Provide thread_id: Continuing a multi-step workflow from a previous response (step_number>1) The thread_id is returned in every response - save it and reuse it for follow-up steps.
relevant_filesNoAbsolute paths of ALL files relevant to this question (up to 100 files). CRITICAL: For project-level questions (features, architecture, design), you MUST include project documentation (README.md, docs/, architecture diagrams). For code-specific questions, include the implementation files, related modules, tests, and configs. Example 1: 'What feature should we build?' → Include README.md, src/server.py, config/*.*, tests/. Example 2: 'Review this function' → Include the file with the function, related modules, tests, and documentation.
modelsNoList of LLM models to run in parallel (minimum 1) (will use default models (['gpt-4', 'gpt-3.5-turbo']) if not specified)
issues_foundNoREQUIRED: List of issues identified with severity levels, locations, and detailed descriptions. IMPORTANT: This list is CUMULATIVE across steps. Include ALL issues found in previous steps PLUS new ones. Each dict must contain these keys: 'severity' (required, one of: 'critical', 'high', 'medium', 'low'), 'location' (required, format: 'filename:line_number' or 'filename' if line unknown), 'description' (required, detailed explanation of the issue). Example: [{'severity': 'high', 'location': 'auth.py:45', 'description': 'SQL injection vulnerability in login query - user input not sanitized'}]. Empty list is acceptable if no issues found yet.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must clarify behavior. It only says 'uses external models' without detailing model behavior, result handling, or limitations. The multi-step process and requirement for cumulative issues_found are not mentioned, leaving significant gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise at one sentence, but it lacks structure and misses key contextual information. It is not overly verbose, but it could be better organized to front-load important details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of 9 parameters and the step-based workflow implied by parameters like step_number and thread_id, the description provides insufficient high-level context. It does not explain the review process or how results are aggregated, relying too heavily on parameter descriptions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema itself explains parameters well. The description does not add new semantic meaning beyond the schema, so it meets the baseline without excelling.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it performs code review covering quality, security, performance, and architecture, distinguishing it from sibling tools like chat or debate. However, it omits mentioning the multi-step workflow evident from the input schema, which would strengthen clarity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for code review but provides no explicit guidance on when to use it versus alternatives, nor does it mention when not to use it. Sibling tool names suggest different purposes, but the description itself lacks directives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/religa/multi_mcp'

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