Skip to main content
Glama

codelattice_change_review

Read-onlyIdempotent

Review code changes in a single project root using targeted modes such as impact analysis, breaking-change detection, and native diff review to catch issues before committing.

Instructions

Concrete pre/post edit review for a SINGLE project root when the target is known. Use impact before editing a symbol/path, native_review after local diffs, breaking_change for public API concerns, and job modes for large repos. If the target is unclear, use codelattice_workflow first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoReview mode. job_status/job_detail use jobId and do not need root.impact
pageNojob_detail page index
rootNoAbsolute path to project root — must be a single project directory, not a workspace root. Required except for job_status/job_detail.
jobIdNoRequired for job_status and job_detail; root is not required for these modes
symbolNoTarget symbol (for impact mode)
compactNo
languageNoauto
pageSizeNojob_detail page size
directionNoboth
changedSymbolsNoChanged symbol names

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already establish that this is read-only, idempotent, non-destructive, and not open-world. The description adds useful scoping context ('pre/post edit review', 'single project root') but does not disclose behavior such as job lifecycle, pagination/output format, or what happens with mode-specific edge cases. This is adequate given the annotations, but not rich.

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 two tight sentences with no filler. The front-loaded first sentence establishes core purpose and scope, and the second sentence delivers actionable routing guidance. Every clause earns its place.

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

Completeness3/5

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

The tool is complex: 10 parameters, 20 modes, and no output schema. The description covers workflow and mode selection well, but it does not explain return values or the behavior of job modes, leaving the agent to rely on schema descriptions alone. For a tool this flexible, a bit more guidance on outputs and job-mode expectations would be needed for full completeness.

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

Parameters4/5

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

Schema coverage is 70%, and the description meaningfully enriches several parameters: it explains which mode to prefer for different scenarios and reinforces that the tool operates on a single root, not a workspace. It does not add detail for compact, direction, or language, but those are either defaulted or enum-covered, so the added guidance is net-positive.

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 identifies a specific verb and resource: 'Concrete pre/post edit review for a SINGLE project root when the target is known.' It also distinguishes itself from a sibling by stating that if the target is unclear, codelattice_workflow should be used first, so the agent understands this tool's niche without opening the schema.

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

Usage Guidelines5/5

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

The description gives explicit mode-selection guidance: use impact before editing, native_review after local diffs, breaking_change for public API concerns, and job modes for large repos. It also names the alternative tool and the condition that triggers it, making when-to-use unambiguous.

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