Skip to main content
Glama

Claude Review Files

claude_review_files

Analyze files or directories read-only to answer focused questions, such as identifying race conditions or injection vulnerabilities, providing independent code review.

Instructions

Have Claude read and analyze specific files or directories agentically (read-only: it can Read, Glob, and Grep within the granted paths, and research the web, but never modifies anything). Provide ABSOLUTE paths that exist on this machine and a focused question, e.g. 'find the race condition in this module' or 'review these files for injection vulnerabilities'. Better than pasting file contents into ask_claude for anything larger than a snippet. For verification workflows, this gives Claude an independent read of the code so its review does not depend on your summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNodeep lets Claude delegate read-only exploration to sub-agents for large scopes - slower and several times the usage; requires the machine to enable CLAUDE_CONSULT_CAPABILITY=deep-research.
modelNoClaude model override: opus, sonnet, haiku, or a full model id. Omit for the configured default.
pathsYesAbsolute paths of files or directories to analyze (1-32). Every path must exist on this machine.
questionYesWhat to look for or evaluate in these paths.
session_idNosession_id from a previous result footer to continue that conversation.
workspace_dirNoAbsolute path to the project this relates to; becomes Claude's working directory. Reuse the same value when continuing a session.
Behavior5/5

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

No annotations are provided, so the description carries full burden. It explicitly states read-only behavior: 'read-only: it can Read, Glob, and Grep within the granted paths, and research the web, but never modifies anything'. It also explains the depth parameter's delegation behavior. This fully discloses behavioral traits.

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?

The description is four sentences, each earning its place: first sentence states purpose and read-only nature, second gives requirements, third compares to sibling, fourth gives use case. Front-loaded with key information, no filler.

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

Completeness5/5

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

Given 6 parameters (2 required), no output schema, and no annotations, the description covers purpose, usage, behavioral constraints, parameter details, and examples. It addresses the tool's complexity adequately, providing enough context for an AI agent to select and invoke correctly.

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

Parameters5/5

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

Schema description coverage is 100%, so baseline is 3. The description adds substantial meaning beyond the schema: explains 'depth' effect, 'model' override, requires 'absolute paths that exist', gives example question, and explains 'session_id' and 'workspace_dir' for continuing conversations. It enriches parameter understanding significantly.

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 purpose: 'Have Claude read and analyze specific files or directories agentically'. It specifies the verb (read and analyze) and resource (files/directories), and distinguishes from sibling tool ask_claude by noting it's better for larger scopes and verification workflows.

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?

The description provides explicit context for when to use: 'Better than pasting file contents into ask_claude for anything larger than a snippet' and 'For verification workflows, this gives Claude an independent read'. It implies when not to use (small snippets) by contrasting with ask_claude. No explicit when-not list, but adequate guidance.

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/Chao-Shiun/claude-consult-mcp'

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