Skip to main content
Glama

create_goal

Creates a goal for a human to define recurring background work in Quarterdeck, including objective, schedule, watches, and autonomy settings.

Instructions

Creates a goal for the human. 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": {
      "name": "<name>",
      "objective": "<objective>",
      "working_dir": "<working_dir>"
    },
    "name": "create_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
modelNoThe model its runs use: haiku, sonnet, opus or a full model id; left out or null, the model of the session that starts each run
one_offNoRuns once now; done when its run leaves nothing open
watchesNoWatch name → what it checks: a run starts when a watch sees something new
autonomyNoCategory → off | propose | auto
scheduleNoWhen it runs on its own; left out or null, on demand
tool_mapNoTool name pattern → category
objectiveYes
run_scopeNoA goal run passes its run id here; anyone else leaves it out.
working_dirYesWhere its runs work
instructionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / autonomy / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / schedule / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "active_hours": {
      -        "description": "Only run inside this local-time window, e.g. \"08:00-20:00\"",
      -        "pattern": "^\\d{2}:\\d{2}-\\d{2}:\\d{2}$",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "interval",
      -        "type": "string"
      -      },
      -      "minutes": {
      -        "description": "Run every N minutes (at least 5)",
      -        "minimum": 5,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "minutes"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "expr": {
      -        "description": "5-field cron, local time",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "cron",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "expr"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "active_hours": {
      +        "description": "Only run inside this local-time window, e.g. \"08:00-20:00\"",
      +        "pattern": "^\\d{2}:\\d{2}-\\d{2}:\\d{2}$",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "interval",
      +        "type": "string"
      +      },
      +      "minutes": {
      +        "description": "Run every N minutes (at least 5)",
      +        "maximum": 9007199254740991,
      +        "minimum": 5,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "minutes"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "expr": {
      +        "description": "5-field cron, local time",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "cron",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "expr"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / tool_map / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / watches / additionalProperties / additionalProperties
      Removed value: -false
    • addedInput schema / properties / watches / additionalProperties / properties / every_minutes / maximum
      Added value: +9007199254740991
    • removedInput schema / properties / watches / additionalProperties / properties / finally / additionalProperties
      Removed value: -false
    • addedInput schema / properties / watches / additionalProperties / properties / finally / properties / input / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / watches / additionalProperties / properties / input / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / watches / additionalProperties / properties / status / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "default": {
      -        "additionalProperties": false,
      -        "description": "When no rule matches",
      -        "properties": {
      -          "run": {
      -            "type": "boolean"
      -          },
      -          "status": {
      -            "maxLength": 40,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "tone": {
      -            "enum": [
      -              "ok",
      -              "attention",
      -              "problem"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "status"
      -        ],
      -        "type": "object"
      -      },
      -      "rules": {
      -        "description": "The first rule matching any line wins",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "match": {
      -              "description": "A regular expression tested against each line",
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "run": {
      -              "description": "true: the lines also start a run",
      -              "type": "boolean"
      -            },
      -            "status": {
      -              "description": "The status text this rule sets (never taken from the output)",
      -              "maxLength": 40,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "tone": {
      -              "enum": [
      -                "ok",
      -                "attention",
      -                "problem"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "match",
      -            "status"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 10,
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "default": {
      +        "description": "When no rule matches",
      +        "properties": {
      +          "run": {
      +            "type": "boolean"
      +          },
      +          "status": {
      +            "maxLength": 40,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "tone": {
      +            "enum": [
      +              "ok",
      +              "attention",
      +              "problem"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      "rules": {
      +        "description": "The first rule matching any line wins",
      +        "items": {
      +          "properties": {
      +            "match": {
      +              "description": "A regular expression tested against each line",
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "run": {
      +              "description": "true: the lines also start a run",
      +              "type": "boolean"
      +            },
      +            "status": {
      +              "description": "The status text this rule sets (never taken from the output)",
      +              "maxLength": 40,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "tone": {
      +              "enum": [
      +                "ok",
      +                "attention",
      +                "problem"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "match",
      +            "status"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 10,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / watches / additionalProperties / properties / steps / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / watches / additionalProperties / properties / steps / items / properties / input / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / watches / additionalProperties / properties / steps / items / properties / pick / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "regex": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "regex"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "json": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "json"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "regex": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "regex"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "json": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "json"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / watches / additionalProperties / properties / steps / items / properties / pick / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / watches / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden, and it does disclose the most consequential trait: this is a write operation off-limits to agents. It says nothing about side effects though, such as whether creating a goal with a schedule or watches immediately starts background runs, which is the main risk with an 11-parameter creation tool.

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 with zero waste, and the identity of the tool comes first with the caller restriction immediately after. Nothing could be removed without losing 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?

For an 11-parameter tool with nested watch, step and schedule objects plus no output schema, the description is thin. The schema is rich enough to carry the parameter detail, but the description never explains what a created goal contains or what the caller receives back, which matters for a creation endpoint.

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 73%, so the inline schema already explains the substantive parameters like watches, schedule and autonomy in depth. The description adds no parameter meaning at all, leaving the schema to do all the work, which lands at the baseline.

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?

"Creates a goal for the human" states a specific verb and resource in one clause, and the second sentence narrows the caller to the quarterdeck-goals plugin. It does not differentiate against siblings such as update_goal or delete_goal, but the create-vs-modify distinction is implicit in the verb.

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?

The definition gives an explicit exclusion: agents and the model must not call this, and it is scoped to one plugin. That is decisive when/when-not guidance, stronger than most tools receive. It stops short of any positive guidance on how a human or plugin should choose this over the sibling goal tools.

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