Skip to main content
Glama

Run read-only Antigravity exploration task

explore_task

Delegate read-only exploration tasks to a sub-agent using a self-contained prompt; returns status, response, usage, touched files, and transcript paths.

Instructions

Delegate read-only task to agy sub-agent (plan mode, read-only). Prompt must be self-contained. Blocks until finished, returning report (status, response, usage, files_touched, transcript paths). Default effort: low. background: true returns handle immediately (collect with watch_task). conversation_id resumes earlier thread. Headless runs auto-deny gated tools (in denied_actions; auto_approve skips).

Input Schema

NameRequiredDescriptionDefault
cwdNoTask cwd (defaults to server cwd).
agentNoAgent profile (see list_agents).
modelNoModel (e.g. gemini-3.8-flash). Tier-carrying id (e.g. gemini-3.8-flash-high) encodes tier and wins over effort; pairing with different effort is refused locally.
effortNoEffort: low|medium|high (bare models; tier-carrying ids win).
promptYesSelf-contained task prompt for sub-agent.
projectNoProject ID or name.
sandboxNoTerminal sandbox flag (--sandbox).
add_dirsNoExtra workspace dirs (--add-dir).
backgroundNoRun in background; collect with watch_task. Emits no progress notifications.
edit_scopeNoAllowed edit paths; out-of-scope edits flag in scope_violations.
timeout_msNoIdle timeout in ms (0..3600000; 0 disables; default 900000).
auto_approveNoPass --dangerously-skip-permissions to avoid auto-denying tools. Pair with sandbox.
conversation_idNoExisting conversation ID to resume.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changedv0.4.0
    • changedInput schema / properties / add_dirs / description
      Previous value: -"Extra directories to add to the task's workspace (--add-dir, repeatable)"New value: +"Extra workspace dirs (--add-dir)."
    • changedInput schema / properties / agent / description
      Previous value: -"Antigravity agent profile to use (see list_agents)"New value: +"Agent profile (see list_agents)."
    • changedInput schema / properties / auto_approve / description
      Previous value: -"Expert switch: pass --dangerously-skip-permissions so headless runs stop auto-denying gated tools. Pair it with sandbox when granting it. Allowed by this server."New value: +"Pass --dangerously-skip-permissions to avoid auto-denying tools. Pair with sandbox."
    • addedInput schema / properties / background
      Added value: +{
      +  "description": "Run in background; collect with watch_task. Emits no progress notifications.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Existing agy conversation ID to continue/resume instead of starting a new conversation. Returned by previous task results."New value: +"Existing conversation ID to resume."
    • changedInput schema / properties / cwd / description
      Previous value: -"Working directory for the delegated task (project the sub-agent operates on). Defaults to the server's cwd."New value: +"Task cwd (defaults to server cwd)."
    • changedInput schema / properties / edit_scope / description
      Previous value: -"Give the sub-agent an edit boundary (files and directories relative to cwd, or absolute). Out-of-scope changes are surfaced in the result's files_touched/scope_violations audit; it is an audit-and-replay control, not a sandbox — the CLI writes files itself."New value: +"Allowed edit paths; out-of-scope edits flag in scope_violations."
    • changedInput schema / properties / effort / description
      Previous value: -"Reasoning effort for the task"New value: +"Effort: low|medium|high (bare models; tier-carrying ids win)."
    • changedInput schema / properties / effort / enum
      Previous value: -[
      -  "low",
      -  "medium",
      -  "high",
      -  "xhigh",
      -  "max"
      -]New value: +[
      +  "low",
      +  "medium",
      +  "high"
      +]
    • changedInput schema / properties / model / description
      Previous value: -"Model for the task, e.g. gemini-3.8-flash-medium, claude-opus-5-5-high (see list_models)"New value: +"Model (e.g. gemini-3.8-flash). Tier-carrying id (e.g. gemini-3.8-flash-high) encodes tier and wins over effort; pairing with different effort is refused locally."
    • changedInput schema / properties / project / description
      Previous value: -"Antigravity project ID or name for the task"New value: +"Project ID or name."
    • changedInput schema / properties / prompt / description
      Previous value: -"Full, self-contained task description for the sub-agent. Include all needed context and file paths."New value: +"Self-contained task prompt for sub-agent."
    • addedInput schema / properties / prompt / pattern
      Added value: +"\\S"
    • changedInput schema / properties / sandbox / description
      Previous value: -"Run the task with Antigravity's terminal sandbox flag enabled (--sandbox)"New value: +"Terminal sandbox flag (--sandbox)."
    • changedInput schema / properties / timeout_ms / description
      Previous value: -"Idle timeout for the run in ms (0..3600000; 0 disables the idle kill for this run). Resets on every stdout/stderr chunk from the child; kicks in after this much child silence and kills the child (SIGTERM, then SIGKILL after 5s). Default: 900000 (AGY_MCP_IDLE_TIMEOUT_MS)."New value: +"Idle timeout in ms (0..3600000; 0 disables; default 900000)."
  2. First observedv0.2.1

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present the description carries the full burden and does so: it discloses that the call blocks until completion, the exact result payload (status, response, usage, files_touched, transcript paths), the default effort, and that headless runs auto-deny gated tools with denied_actions recorded unless auto_approve is set. These are non-obvious runtime behaviors an agent could not infer from the schema.

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 core action and mode, then behavior, then parameter notes; nearly every clause carries information. The telegraphic style (e.g. 'in denied_actions; auto_approve skips') is dense and slightly elliptical, costing a bit of readability.

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 13-parameter, no-annotation, no-output-schema tool, the description covers blocking semantics, return shape, background collection, and permission denial well. It says nothing about timeout behavior, failure modes, or what status values are possible, which are the remaining gaps for an agent planning recovery.

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?

Schema coverage is 100%, so the baseline is 3; the description adds value by stating the default effort is 'low' and explaining that conversation_id continues an earlier thread rather than starting fresh. It also ties background:true to watch_task, meaning not already conveyed by the schema alone.

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 ('Delegate read-only task to agy sub-agent') plus the execution mode ('plan mode, read-only'), which implicitly separates it from the sibling general_task. An agent can pick this tool for read-only exploration without opening the schema.

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 concrete operating guidance: prompt must be self-contained, background:true yields a handle to collect with watch_task, and conversation_id resumes a prior thread. It never explicitly contrasts with general_task or says when NOT to use this tool, so it stops short of a full routing statement.

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