Skip to main content
Glama

agy_verify

Runs an independent read-only cross-vendor blind audit in a fresh context to verify code changes against an approved plan and return PASS, FAIL, or BLOCKED verdicts.

Instructions

Run an independent read-only primary cross-vendor blind audit via local Antigravity CLI (agy --mode plan, default gemini-4-carbon-high) in a fresh context without --resume or executor self-reports. Acquires a shared read lock (runs in parallel with claude_verify for double-blind checks on major changes), checks directory snapshots, enforces VERDICT: PASS|FAIL|BLOCKED, and supports async_mode=true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace_dir": "<workspace_dir>"
    },
    "name": "agy_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoComplete approved implementation plan or fix-round instructions (optional when plan_file is provided).
modelNoOptional agy verifier model slug (default: gemini-4-carbon-high; override e.g. gemini-4-neon-xhigh, or set AGY_VERIFY_MODEL='' to follow agy settings.json).
effortNoOptional reasoning effort: low, medium, high, xhigh, or max.
plan_fileNoOptional path to Markdown/text file containing the approved plan (relative to workspace_dir or absolute).
allow_bashNoAllow read-only verification shell checks during audit (default: true).
async_modeNoIf true, return job_id immediately for long full-workspace audits; poll with claude_execute_status (default: false).
diff_scopeNo'last_run' (default, changes since pre_run_tree) or 'workspace'.
allowed_filesNoAuthorized file paths Claude is permitted to create or modify.
extra_contextNoOptional audit focus or disputed finding for targeted arbitration.
workspace_dirYesAbsolute path to the target project workspace directory.
include_historyNoInject bounded L1 .agents/state/workspace-brief.md plus the latest 2 L2 plan-history entries on fresh/rotated/fallback runs (default: true).
timeout_secondsNoTimeout in seconds (sync cap 165s, async max 1800s).
include_git_diffNoInject bounded current git diff and status into the audit prompt (default: true).
verification_commandsNoRead-only verification commands agy should run when allow_bash is true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses read-only enforcement, fresh-context isolation, shared read-lock acquisition enabling parallel runs, directory snapshot checks, the VERDICT: PASS|FAIL|BLOCKED contract, and async behavior. It omits error/timeout behavior and what happens on lock contention, leaving some operational gaps.

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 with the action and mechanism, and every clause carries operational information (read-only, mode, fresh context, lock, verdict, async). It is a single dense sentence that could be split for readability, but no wording is wasted.

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?

For a 14-parameter, no-annotation, no-output-schema tool, the description conveys the core contract (read-only audit, verdict format, locking, async polling pattern) well. It does not describe the shape of the audit report returned or failure modes, which would strengthen an otherwise complete definition.

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 the schema already documents all 14 parameters, including model slug, effort enum, diff_scope, and include_history defaults. The description only adds the default model name and echoes async_mode=true; it adds little parameter meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Run an independent read-only primary cross-vendor blind audit via local Antigravity CLI') with concrete mechanism and defaults (agy --mode plan, gemini-4-carbon-high). It also positions itself against the sibling by naming claude_verify and describing the relationship ('runs in parallel with claude_verify for double-blind checks'), so an agent can distinguish the two without opening schemas.

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?

Gives clear usage context: fresh context, no --resume or executor self-reports, appropriate for major changes requiring double-blind checks. It does not name a when-not-to-use case or explicitly route to agy_execute/agy_plan for non-audit work, which keeps it short of a 5.

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