Skip to main content
Glama
PyModel
by PyModel

adversarial_review

Critique plans, designs, or code with a second AI model that hunts for flaws, edge cases, security issues, and unstated assumptions you missed.

Instructions

Get an adversarial second opinion from a different model family (Gemini Pro). ALWAYS use this for plan critiques, design reviews, and pre-merge code review: it hunts for flaws, edge cases, security issues, and unstated assumptions you may have missed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoAbsolute path to the working directory / project root. Defaults to the server's cwd.
filesNoFile paths to review instead of inline content.
focusNoOptional focus area, e.g. 'security', 'concurrency'.
modelNoOverride the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically.
contentNoInline content to review (plan, diff, code snippet).
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It reveals the tool uses a different model family, hunts for flaws, edge cases, security issues, and unstated assumptions, which gives a clear sense of its adversarial nature. It doesn't detail side effects or performance, but the core behavior is well disclosed.

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?

Two sentences, no fluff. The first sentence defines the tool; the second gives explicit usage directives. Every word earns its place, and the key information is front-loaded.

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?

Given the tool's moderate complexity (5 optional params, no output schema), the description provides sufficient context for selection and invocation. It covers what the tool does, when to use it, and the schema handles parameters. It doesn't explain return format, but that's not critical for this review-style tool.

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?

The input schema has 100% coverage with descriptive parameter docs. The tool description itself does not add parameter-level semantics, so the baseline of 3 applies. The schema already explains each parameter adequately.

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 provides an adversarial second opinion from a different model family (Gemini Pro), and explicitly lists concrete use cases (plan critiques, design reviews, pre-merge code review). This distinguishes it from sibling tools like analyze_files or deep_search, which serve different purposes.

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?

Explicitly states 'ALWAYS use this for' the listed review scenarios, giving clear when-to-use guidance. It does not explicitly mention when not to use it or name alternatives, but the strong directive and adversarial framing effectively guide selection.

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/PyModel/claude-agy-mcp'

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