Skip to main content
Glama
Antigravity Sub-Agent MCP Server

Antigravity Sub-Agent MCP Server

by khanhbkqt

get_agent_results

Collects results from all submitted sub-agent tasks, blocking until every task finishes so you can retrieve batched outputs in one call. Pass the taskIds returned by submit_agent.

Instructions

Collect results from submit_agent calls. Blocks until ALL tasks finish, then returns all results together.

Call this AFTER submitting all tasks via submit_agent. Pass the taskIds you received. Note: Sometimes agents may not finish within the timeout period. In such cases, the result will be returned as is, and you may need to manually check the status of the task in the Antigravity IDE.

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": {
      "taskIds": "<taskIds>"
    },
    "name": "get_agent_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdsYesArray of taskIds from submit_agent calls

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/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 disclose the most important trait: this call blocks until all tasks complete, which has real latency implications for the agent. It also warns that agents may not finish within the timeout and partial results are returned as-is, requiring manual status checks in the IDE. It stops short of covering error handling, ordering, or whether taskIds are consumed after retrieval.

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?

Two tight paragraphs with the blocking behavior front-loaded and the timeout caveat isolated as a 'Note'. Minor redundancy in 'returned as is' / 'manually check the status', but every sentence contributes information.

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?

There is no output schema, so the description should describe what comes back; it only says 'returns all results together' without indicating result shape, per-task ordering, or how failed tasks appear. The blocking and timeout semantics are covered well, leaving the return-value side under-specified.

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% for the single taskIds array parameter, so the schema already defines it. The description only reinforces provenance ('the taskIds you received') without adding format or multiplicity details beyond that, so 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?

Specific verb+resource ('Collect results from submit_agent calls') with the mechanism spelled out (blocks until ALL tasks finish, returns results together). It clearly delineates itself from the submit_agent sibling by describing the retrieve-side of the workflow.

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?

Explicit sequencing guidance: 'Call this AFTER submitting all tasks via submit_agent. Pass the taskIds you received.' That removes ordering ambiguity. No when-not-to-use case is given, but with a single sibling there is little alternative to disambiguate.

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

Deploy Server

Other Tools