Skip to main content
Glama

Deep-review a finding

diffgate_deep_review
Read-only

Runs an agentic deep review on a high-impact finding, using repo tools to investigate blast radius before rendering a verdict.

Instructions

Run an agentic deep review on a single high-impact (orange) finding. The model uses real repo tools (grep, read_file, find_references, git_blame) to investigate blast radius before rendering a verdict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdYesRepo root. Defaults to process.cwd().
findingYesA finding object from diffgate_analyze.
snippetNoCode snippet around the finding.
filePathYesRepo-relative path of the file containing the finding.
languageNoLanguage id (javascript, python, go, etc.).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
verdictYesThe model's final verdict on the finding.
rationaleNoWhy the model reached that verdict.
toolStepsNoThe investigation trace (tool calls the model made).
Behavior4/5

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

Beyond annotations (readOnlyHint=true, destructiveHint=false), the description adds valuable behavioral context: it uses real repo tools, investigates blast radius, and renders a verdict. This goes beyond the structured annotations.

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 sentences, front-loaded with the core purpose, and contains no extraneous information. Every sentence adds value.

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 the presence of an output schema and annotations, the description provides sufficient completeness. It explains the tool's behavior and inputs, making it adequate for a complex tool with nested parameters.

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 100%, so the description does not need to add parameter-level details. The description does not provide extra semantic information beyond what is already in the schema, meeting the baseline.

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 with a specific verb ('deep-review') and resource ('a single high-impact (orange) finding'). It distinguishes from sibling tools by mentioning the use of real repo tools like grep and git_blame.

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 specifies the context (single high-impact finding) and outlines the tool's actions, but it does not explicitly state when not to use it or provide alternatives. Implicit differentiation from siblings is present but lacks direct exclusion 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/srbsa/diffgate'

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