Skip to main content
Glama

resurrect

Restart a ripped or exited agent using its stored provider, model, context size, mounts, group, session, and callback settings, with an optional prompt to begin a turn immediately.

Instructions

Start a ripped or exited agent again with its stored provider, model, context_size, mounts, group, session, and callback settings. Props cannot be changed. Optionally pass a prompt to start a turn immediately. Counts toward lifecycle.retries.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "resurrect"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNo
agent_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses that stored settings are reused, that properties are immutable, that passing a prompt triggers a turn as a side effect, and that the call consumes lifecycle.retries budget. It omits error behavior when the agent is neither ripped nor exited, and any auth or concurrency caveats, which keeps it out of 5 territory.

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?

Four short sentences, front-loaded with the core action, followed by state restoration, the immutability constraint, the optional prompt, and the retry accounting. No sentence is filler and the ordering puts the highest-value information first.

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?

An output schema exists, so return values need no explanation, and the description covers the mutation semantics, restored state, side effect of prompt, and retry budget. What is missing is failure/precondition behavior (what happens if the agent is live, or does not exist) for what is otherwise a well-specified two-parameter mutation.

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 0%, so the description must compensate, and it does for the non-obvious parameter: 'Optionally pass a prompt to start a turn immediately' explains both the meaning and the consequence of prompt. agent_id is only implied by the 'start ... an agent again' framing rather than explicitly described, but its role is unambiguous in context.

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: 'Start a ripped or exited agent again', and enumerates exactly what state is restored (provider, model, context_size, mounts, group, session, callback). The phrase 'ripped or exited' implicitly ties it to the sibling rip while separating it from run/send_message, so an agent can place it in the lifecycle without opening a 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?

It clearly states the triggering condition (agent is ripped or exited) and the optional variation (pass a prompt to start a turn immediately). The constraint 'Props cannot be changed' tells the caller this is not the tool for reconfiguration, though it stops short of naming which tool to use instead for that case.

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