Skip to main content
Glama

Review a change set against the snapshot

snapshot_review
Read-onlyIdempotent

Validate whether a codebase snapshot is current, review its health audit, and read bounded head lines from specified changed paths in one read-only call.

Instructions

One call for a review: is the snapshot current, what does the health audit say, and what do the given paths contain? Combines validate, health and bounded reads so a reviewer does not have to ask three questions to start. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "snapshot_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoRepository root. Defaults to the directory this server was started in.
pathsNoChanged paths to include.
outDirNoSnapshot directory, relative to the root, and it must resolve inside the served repository. Defaults to the project configuration's outDir.
linesPerFileNoHead lines per path (default 60).

Output Schema

NameRequiredDescriptionDefault
filesNo
scoreNo
failedNo
routesNo
currentNo
missingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the description's trailing 'Read-only' adds nothing. The genuinely additive context is that reads are 'bounded', which hints at truncated content, but it does not state cost, latency, or what happens when outDir is missing or unwritable.

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

Conciseness4/5

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

Front-loaded and compact: the composite scope is stated first, followed by the rationale. The trailing 'Read-only.' sentence is pure redundancy given the annotations and could be dropped without loss.

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?

With an output schema present, return values need not be described, and the description correctly confines itself to what the call aggregates and why. Only the guidance on choosing this bundle versus the individual validate/health/read tools is thin relative to the 25-tool sibling set.

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 all four parameters (root, paths, outDir, linesPerFile) are already documented. The description only echoes 'given paths' and 'bounded reads', adding no syntax or constraints beyond the schema; baseline 3 applies.

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?

States a concrete composite purpose: snapshot currency, health audit, and bounded reads over given paths, and explicitly names the three underlying operations (validate, health, reads) it bundles. This distinguishes it from snapshot_validate/snapshot_health/snapshot_read, though the verb 'review' is somewhat abstract and would be clearer as 'run a first-pass review'.

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?

Implies the usage context ('so a reviewer does not have to ask three questions to start'), which tells an agent to reach for it at the start of a review. It gives no explicit when-not guidance and does not say when to prefer the individual sibling tools (e.g., deeper validation) over this bundle.

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