Skip to main content
Glama

run_goal

Queue a goal to run now, such as after updating its instructions, so it starts within about 30 seconds while Claude Code is open with the Quarterdeck goals plugin.

Instructions

Queue a run of a goal now (e.g. after changing its instructions). It starts within about 30 seconds while Claude Code is open with the quarterdeck-goals plugin.

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": "run_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoWhat this one run should do or look at. The person does not see it here, so the run gets it as untrusted information (its auto categories then need proposing); it never becomes memory.
goal_idYesID of the goal to run
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / prompt
      Added value: +{
      +  "description": "What this one run should do or look at. The person does not see it here, so the run gets it as untrusted information (its auto categories then need proposing); it never becomes memory.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observedv0.1.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. It usefully discloses that the run is queued rather than executed inline ('starts within about 30 seconds') and states a prerequisite ('while Claude Code is open with the quarterdeck-goals plugin'). It omits what happens when the plugin is absent, whether the call is idempotent, and what is returned.

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 sentences with the action and its timing front-loaded and no filler. The trailing clause about the plugin prerequisite is slightly awkwardly attached but still earns its place.

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?

For a three-parameter enqueue tool with no annotations and no output schema, the description covers the trigger and timing but leaves the return value (presumably a run id) and failure modes unexplained. It is adequate but not complete.

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%, so the schema already documents goal_id, prompt, and run_scope in detail. The description adds no parameter-level meaning beyond that, which is acceptable at baseline but no more.

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 uses a specific verb and resource ('Queue a run of a goal') and clarifies the 'now' semantics, so the action is unambiguous. It does not, however, differentiate itself from the sibling request_run, which by name suggests an overlapping trigger action.

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 parenthetical '(e.g. after changing its instructions)' gives one concrete trigger scenario, which is real guidance. There is no statement of when not to use it, nor any reference to request_run or cancel_run as alternatives, so the agent must infer the boundary.

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