Skip to main content
Glama

restore_goal

Restore a deleted goal for the human; the goal returns paused. Use only with the quarterdeck-goals plugin—agents and models must not call it.

Instructions

Restores a deleted goal for the human; it comes back paused. For the quarterdeck-goals plugin only: agents and the model must not call this.

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": {
      "goal_id": "<goal_id>"
    },
    "name": "restore_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
goal_idYes
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.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 two non-obvious behaviors: the restored goal returns in a paused state, and the tool is off-limits to agents. It omits what happens if goal_id does not reference a deleted goal, whether restoration is reversible, and any permission requirements.

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?

Two short sentences, zero filler, with the core action and its outcome front-loaded before the caller restriction. Every clause carries information an agent needs.

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 two-parameter mutation with no output schema and no annotations, the description covers purpose, post-state, and caller eligibility. The remaining gap is error and permission behavior, which is minor given the tool's simplicity.

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 coverage is 50%: run_scope is documented in the schema, while goal_id is undocumented but self-evident as the required identifier. The description adds no parameter meaning at all, so it neither compensates for the gap nor detracts; baseline 3 applies.

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?

The description gives a specific verb and resource ("Restores a deleted goal") and adds the resulting state ("it comes back paused"), which an agent could not infer from the name alone. It does not explicitly contrast with siblings such as restore_memory or set_goal_status, but the resource is distinct enough to disambiguate.

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 states a hard exclusion — "For the quarterdeck-goals plugin only: agents and the model must not call this" — which is exactly the when-not guidance an agent needs. It stops short of describing the human-facing conditions under which restoration is appropriate versus other recovery paths, so it is clear but not exhaustive.

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