Skip to main content
Glama

ag_send

Send a task to the Antigravity agent and get a task ID immediately; poll with ag_result to retrieve the result.

Instructions

Send a task to the Antigravity agent. Returns a task id immediately. Poll with ag_result.

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": {
      "prompt": "<prompt>"
    },
    "name": "ag_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes
project_dirNo
timeout_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key async trait: the call returns immediately rather than blocking on results. It omits other material behavior such as permissions/auth needs, what happens to the running task if the caller never polls, whether timeout_minutes bounds the task or the call, and any side effects in project_dir.

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?

Three tight sentences ordered by importance: action, immediate return, next step. No filler, and the async contract is front-loaded where an agent will see it first.

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?

Covers the essential asynchronous submit-and-poll contract, which is the hardest part for an agent to guess. For a three-parameter mutation-like tool with zero annotation coverage and no output schema, however, it leaves parameter documentation and failure modes (invalid project_dir, task rejected) entirely unaddressed.

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 0%, so none of the three parameters (prompt, project_dir, timeout_minutes) are documented anywhere, and the description adds no parameter meaning at all. It compensates only indirectly by implying an async task model, which hints that timeout_minutes bounds task execution rather than the call — but that must be inferred.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Send a task to the Antigravity agent') and immediately clarifies the return ('a task id'), which lets an agent distinguish it from retrieval siblings. It stops short of explaining what an Antigravity task actually is or what the agent does with it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The line 'Poll with ag_result' gives explicit follow-up routing to one sibling, which is useful. It offers no guidance on when to prefer this over ag_status/ag_tasks, when not to send, or how to choose a timeout, so the usage picture is only partially implied.

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