Skip to main content
Glama

session_recover

Inspect running Antigravity Desktop Hub instances for conversations ended by auth, model lookup, stream, or quota errors, then automatically resume them.

Instructions

Inspect running Antigravity Desktop Hub instances for conversations terminated by auth logout/login, model lookup, stream, or quota errors and automatically resume them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "session_recover"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoall
dry_runNo
reset_ledgerNo
lookback_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose the key fact that this is a mutating operation ('automatically resume them') with a specific set of triggering error classes, but it says nothing about permissions, idempotency, whether resuming is safe or reversible, whether it only applies to running instances, or what the result looks like.

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?

A single front-loaded sentence with no filler; the action and the failure categories come first. Density is high but every clause adds information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating tool with four undocumented parameters, no annotations, and no output schema, the description is too thin. An agent cannot tell what dry_run or reset_ledger do, what the recovery actually changes, or what it will get back, which is exactly the information the structured fields fail to supply.

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% and none of the four parameters (scope, dry_run, reset_ledger, lookback_hours) are explained in the description. The phrase 'running ... instances' loosely gestures at scope and the error list loosely gestures at what is scanned, but reset_ledger and lookback_hours remain completely opaque.

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?

Names a concrete resource (Antigravity Desktop Hub conversations) and a specific action pair (inspect for failures, then automatically resume). The enumerated failure classes (auth logout/login, model lookup, stream, quota) make the scope unambiguous and clearly different from a general diagnostic like system_doctor, though no sibling is named.

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?

Usage is implied by the trigger conditions: use this when sessions were killed by auth, model lookup, stream, or quota errors. There is no explicit guidance on when not to use it, when to prefer a sibling such as system_doctor, or when to run it with dry_run first.

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