Skip to main content
Glama
zamatewi-cell

Codex Antigravity Subagent MCP

后台启动 Gemini 子代理

start_gemini_task
Destructive

Launch a Gemini task in the background, get an immediate job ID, and query its status later with get_gemini_task. Built for long-running operations like /teamwork-preview.

Instructions

后台启动 Antigravity/Gemini 任务并立即返回 job_id,适合 /teamwork-preview 等长任务。之后用 get_gemini_task 查询;后台任务依赖当前 MCP 服务进程保持运行。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoAntigravity 执行模式。plan 只规划;accept-edits 允许提出和执行修改。
agentNo可选的 Antigravity agent 名称。
modelNoAntigravity 模型名;默认 gemini-3.8-flash-high。
effortNo推理强度。
promptYes交给 Gemini 的完整提示词。保留开头的系统斜杠指令,并在末尾补充绝对工作目录,例如:/teamwork-preview <完整任务>。
projectNo可选的 Antigravity project ID 或名称。
new_projectNo为本次调用新建 Antigravity project。
add_directoriesNo额外加入 AGY 工作区的目录。
continue_latestNo继续最近一次 Antigravity 会话。
conversation_idNo继续指定 Antigravity 会话;值来自上一次结果的 conversation_id。
permission_modeNoAntigravity 权限模式;默认 auto-approve(auto-approve 确保在无头 headless 模式下工具调用免人工交互确认)。auto-approve
timeout_secondsNo单次 AGY 运行超时,30 到 21600 秒。Teamwork 长任务应提高该值或使用后台任务工具。
working_directoryNoGemini 工作目录的绝对路径。涉及当前仓库时必须传入当前 Codex 工作目录。

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark this tool as non-read-only and destructive, so the description does not need to restate mutation risk. It adds useful behavioral context beyond the annotations: the tool returns immediately with a job_id and the background task depends on the current MCP service process staying alive. No contradiction with the 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 compact sentences with the core behavior front-loaded: background start and immediate job_id return. The second sentence adds the use case, follow-up tool, and process-lifetime caveat without filler or repetition.

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 background-launch tool with no output schema and destructive annotations, the description supplies the essential runtime model: immediate job_id, suitability for long tasks, polling via get_gemini_task, and the service-lifetime dependency. The remaining details are already in the schema. It could add an explicit contrast with delegate_to_gemini, but overall it is sufficiently complete.

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% description coverage across all 13 parameters, including enums, defaults, the prompt format, and the working directory requirement, so the schema carries the parameter semantics. The description adds no parameter-level detail beyond the intended use case, which is fine under the high-coverage 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 states a specific verb and resource: it launches an Antigravity/Gemini task in the background and immediately returns a job_id. It also scopes the tool to long-running /teamwork-preview tasks and names get_gemini_task as the follow-up, so an agent can distinguish it from the query and dashboard sibling tools.

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?

It gives clear when-to-use context by saying the tool is suitable for long-running tasks like /teamwork-preview and explicitly instructs the agent to query results later with get_gemini_task. It also flags the operational prerequisite that the MCP service process must remain running. However, it does not explicitly contrast with delegate_to_gemini or state when not to use this tool.

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

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/zamatewi-cell/antigravity-subagent-mcp'

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