Skip to main content
Glama

review_code

Audit source code for security vulnerabilities including XSS, SQLi, RCE, and broken access control. Receive line-referenced findings with exploit and fix details.

Instructions

Security-review a source file's contents with Claude (BOLA/BFLA/XSS/SQLi/ business-logic/RCE/auth). Pass the file text you have open; returns line-referenced findings with exploit + fix. Whole-file reasoning, not regex.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
filenameNoinput

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations present, the description carries the full burden. It reveals method (Claude, whole-file reasoning, not regex), which is a non-obvious approach, and the output shape (line-referenced findings with exploit + fix). It does not mention whether it's read-only or any side effects, but for a security review that's arguably implicit.

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

Conciseness5/5

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

Three concise sentences pack in purpose, usage, output, and a distinguishing trait. There is zero wasted wording and the key info is front-loaded.

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

Completeness4/5

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

Given the tool's moderate complexity, the description covers purpose, method, output, and usage context. It also references line-referenced findings, which aligns with likely output schema. It could mention prerequisites or size limits, but the presence of an output schema reduces the need to explain return details.

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 coverage is 0%, so the description must compensate. It clearly explains the 'code' parameter as 'the file text you have open', but says nothing about the 'filename' parameter or its default. Partial coverage is provided, but one of two parameters remains undocumented.

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

Purpose5/5

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

The description clearly states the tool's function: security-reviewing a source file's contents with Claude, listing specific vulnerability categories (BOLA/BFLA/XSS/SQLi/business-logic/RCE/auth). It distinguishes itself from sibling tools by emphasizing whole-file reasoning over regex and specifying the output format (line-referenced findings with exploit + fix).

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

Usage Guidelines4/5

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

Provides clear context on when to use: 'Pass the file text you have open' implies using the tool with an open file and describes the returned findings. However, it does not explicitly mention alternative tools (e.g., review_file) or state when not to use it, so it lacks explicit exclusions.

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/GOJO-SENPA1/novelty'

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