Skip to main content
Glama

Pre-review quality gate

review_check

Run heuristic checks on text or diffs to catch secrets, leftover TODOs, placeholders, and size issues before human review. Helps ensure agent output meets pre-review standards.

Instructions

Run heuristic checks (secrets, leftover TODOs, placeholder text, size) over generated text or a diff before it goes to a human reviewer — mirrors the team's pre-review checklist doc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
Behavior3/5

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

There are no annotations, so the description carries the behavioral burden. It explains the action and the heuristic categories, and implies a read-only analysis. However, it does not disclose what the tool returns, whether it can modify anything, or how results are reported. This is a moderate gap for a tool with no output schema.

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 a single dense sentence with no filler. The main action is front-loaded, the check categories are compactly listed, and the purpose and reference to the team checklist are included without redundancy.

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 simple, with one parameter and no annotations or output schema. The description covers input scope and intended timing well. However, because there is no output schema, the description should have said at least something about what the caller receives after the checks run. That omission keeps it from being fully complete.

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?

The schema only declares 'text' with no description, so the description must compensate. It does by clarifying that the text can be generated content or a diff, and by linking the checks to that input. It does not specify formatting or size limits, but for a single parameter this is meaningful added context.

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 states a specific verb and resource: 'Run heuristic checks' over 'generated text or a diff', and lists concrete check categories (secrets, TODOs, placeholder text, size). It clearly distinguishes itself from the unrelated task and document sibling tools by focusing on pre-review quality validation.

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 explicitly defines when to use the tool: 'before it goes to a human reviewer'. It also scopes the input to generated text or a diff, which gives clear context. It does not name alternatives, but the sibling tools are unrelated, so no exclusion is necessary.

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/yulechkamsk1/agent-ops-mcp'

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