Skip to main content
Glama

Add Goal

add_goal

Append a Goal with tasks and an outcome to the roadmap, optionally claiming it to start work now. Refuses duplicate titles unless allowed, and can record finished or recurring goals.

Instructions

Add a Goal to the end of the Roadmap, with an optional Task list and Outcome; with claim: true, also claim it to start work. A title another Goal already has is refused unless allow_duplicate is set. To record work already finished, set done on the Goal and on every Task. Plan each Goal with an Outcome (one sentence on what done looks like) and Tasks that each have a short title, the files they touch, a one-line summary and an estimate. Tell the Developer the plan in a few plain lines first. With claim: true the answer is the brief status of the claimed Goal; otherwise only the new Goal's ID, title, step count and estimate.

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": {
      "title": "<title>"
    },
    "name": "add_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA short ID for the Goal's refs, such as 'web-ui': lowercase letters, digits and dashes. Made from the title when left out.
doneNoRecord a Goal that is already finished. Every Task must then have done: true.
claimNoClaim the new Goal straight away, to start working on it. Not with project: a Goal on another project's plan can't be claimed from here.
tasksNo
titleYesA few words naming the Goal, such as 'Ship OAuth login'.
repeatNoMake it come back: 1d, 1w, 2w, 1mo or a weekday (monday). A goal like it is added by itself when due, once the last one is finished or dropped.
bundlesNoFor a release goal: the finished goals it bundles, by ID, instead of all the unreleased ones.
outcomeNoWhat done looks like, in one sentence, such as 'Users can sign in with Google and stay signed in for 30 days'.
projectNoAnother project's plan to use instead of this one's: its name or ID on the dashboard, or its folder's full path. Changes there are marked as made from this project. Leave out for this project.
releaseNoMake it a release goal: it bundles the finished goals no earlier release took, and the reply gives the facts to write the changelog entry and version bump from.
estimateNoHow long the whole Goal should take, such as '6h', when its Tasks are not estimated one by one yet. Without it, the Goal's estimate is the sum of its Tasks'.
waits_onNoGoals it waits on: IDs here, or <project>/<goal-id>.
allow_duplicateNoAdd the Goal even though another Goal has the same title.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changedv1.4.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / allow_duplicate
      Added value: +{
      +  "description": "Add the Goal even though another Goal has the same title.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / bundles
      Added value: +{
      +  "description": "For a release goal: the finished goals it bundles, by ID, instead of all the unreleased ones.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / claim
      Added value: +{
      +  "description": "Claim the new Goal straight away, to start working on it. Not with project: a Goal on another project's plan can't be claimed from here.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / done
      Added value: +{
      +  "description": "Record a Goal that is already finished. Every Task must then have done: true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / estimate
      Added value: +{
      +  "description": "How long the whole Goal should take, such as '6h', when its Tasks are not estimated one by one yet. Without it, the Goal's estimate is the sum of its Tasks'.",
      +  "type": "string"
      +}
    • addedInput schema / properties / id
      Added value: +{
      +  "description": "A short ID for the Goal's refs, such as 'web-ui': lowercase letters, digits and dashes. Made from the title when left out.",
      +  "type": "string"
      +}
    • addedInput schema / properties / outcome
      Added value: +{
      +  "description": "What done looks like, in one sentence, such as 'Users can sign in with Google and stay signed in for 30 days'.",
      +  "type": "string"
      +}
    • addedInput schema / properties / project
      Added value: +{
      +  "description": "Another project's plan to use instead of this one's: its name or ID on the dashboard, or its folder's full path. Changes there are marked as made from this project. Leave out for this project.",
      +  "type": "string"
      +}
    • addedInput schema / properties / release
      Added value: +{
      +  "description": "Make it a release goal: it bundles the finished goals no earlier release took, and the reply gives the facts to write the changelog entry and version bump from.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / repeat
      Added value: +{
      +  "description": "Make it come back: 1d, 1w, 2w, 1mo or a weekday (monday). A goal like it is added by itself when due, once the last one is finished or dropped.",
      +  "type": "string"
      +}
    • addedInput schema / properties / tasks / items / properties / done
      Added value: +{
      +  "description": "Add the Task already done, for work finished before it was recorded.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / tasks / items / properties / estimate
      Added value: +{
      +  "description": "How long it should take, such as '45m', '2h' or '1h 30m'. Give one for every Task you plan; the dashboard's schedule is built from them.",
      +  "type": "string"
      +}
    • changedInput schema / properties / title / description
      Previous value: -"The outcome, such as 'Ship OAuth login'."New value: +"A few words naming the Goal, such as 'Ship OAuth login'."
    • addedInput schema / properties / waits_on
      Added value: +{
      +  "description": "Goals it waits on: IDs here, or <project>/<goal-id>.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. First observedv0.2.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description still discloses that duplicate titles are refused unless allow_duplicate is set, that claim: true claims the Goal, that done requires every Task to be done, and that the return shape differs based on claim. It stops short of stating permission, auth, or reversibility behavior.

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?

It front-loads the core action, then adds usage and return-behavior details in a structured way. The planning instructions are useful, though a few process sentences could be trimmed without losing essential guidance.

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 13-parameter mutation tool with no annotations and no output schema, it covers creation scope, duplicate handling, done semantics, claim side effects, and the conditional response shape. Remaining parameter details are well covered by the schema, so the definition is complete enough for correct invocation.

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 descriptions already cover 92% of parameters. The description adds meaningful semantics for claim, done, allow_duplicate, outcome, and task planning beyond the schema, while appropriately leaving parameters like project, repeat, release, bundles, and waits_on to their schema descriptions.

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 opening sentence names the specific action (add), resource (Goal), destination (end of Roadmap), and key options (Task list, Outcome, claim). It does not explicitly route to sibling creation tools such as add_hotfix or add_small_fix, so sibling differentiation is only implicit.

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 gives concrete when-to-use guidance: set done for finished work, plan with an Outcome and Tasks, use claim: true to start work, and use allow_duplicate when a duplicate title is intended. It does not compare itself with alternatives such as claim_goal or add_tasks, so those choices remain inferred.

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