Skip to main content
Glama
aiterm-mcp
by kitepon

agent_goal

Read, create, edit, pause, resume, or clear the CLI's real goal for an exact session and launch, using trusted host provenance and preserving turn state.

Instructions

Read or manage the CLI's real goal for an exact session/launch. clear removes the goal without stopping its turn; resume requires a paused goal. Editing objective resets native usage accounting. User mutations require trusted host provenance. No goal store or worker is created.

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": {
      "session_id": "<session_id>",
      "launch_id": "<launch_id>",
      "action": "<action>"
    },
    "name": "agent_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
launch_idYes
objectiveNo
session_idYes
token_budgetNo
expected_thread_idNo

Output Schema

NameRequiredDescriptionDefault
goalNo
reasonYes
schemaYes
bindingYes
harnessYes
outcomeYes
mutationYes
readbackYes
launch_idYes
session_idYes
observed_atYes
availabilityYes
capabilitiesYes
native_historyNo
field_capabilitiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.70.127
    • changedOutput schema / properties / harness / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "claude-code",
      -      "claude-machine",
      -      "codex-cli",
      -      "grok-cli",
      -      "cursor-cli",
      -      "antigravity-cli"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "claude-code",
      +      "claude-machine",
      +      "codex-cli",
      +      "codex-machine",
      +      "grok-cli",
      +      "grok-machine",
      +      "cursor-cli",
      +      "cursor-machine",
      +      "antigravity-cli",
      +      "antigravity-machine"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changedv0.70.91
    • changedOutput schema / properties / harness / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "claude-code",
      -      "codex-cli",
      -      "grok-cli",
      -      "cursor-cli",
      -      "antigravity-cli"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "claude-code",
      +      "claude-machine",
      +      "codex-cli",
      +      "grok-cli",
      +      "cursor-cli",
      +      "antigravity-cli"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed1 schema field changedv0.70.39
    • changedOutput schema / properties / goal / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "createdAt": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "objective": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "active",
      -              "paused",
      -              "blocked",
      -              "usageLimited",
      -              "budgetLimited",
      -              "complete"
      -            ],
      -            "type": "string"
      -          },
      -          "threadId": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "timeUsedSeconds": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "tokenBudget": {
      -            "anyOf": [
      -              {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "tokensUsed": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "updatedAt": {
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "threadId",
      -          "objective",
      -          "status",
      -          "tokenBudget",
      -          "tokensUsed",
      -          "timeUsedSeconds",
      -          "createdAt",
      -          "updatedAt"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "oneOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "kind": {
      -                "const": "codex-cli",
      -                "type": "string"
      -              },
      -              "native": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "createdAt": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "objective": {
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "status": {
      -                    "enum": [
      -                      "active",
      -                      "paused",
      -                      "blocked",
      -                      "usageLimited",
      -                      "budgetLimited",
      -                      "complete"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "threadId": {
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "timeUsedSeconds": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "tokenBudget": {
      -                    "anyOf": [
      -                      {
      -                        "exclusiveMinimum": 0,
      -                        "maximum": 9007199254740991,
      -                        "type": "integer"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "tokensUsed": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "updatedAt": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "threadId",
      -                  "objective",
      -                  "status",
      -                  "tokenBudget",
      -                  "tokensUsed",
      -                  "timeUsedSeconds",
      -                  "createdAt",
      -                  "updatedAt"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "kind",
      -              "native"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "kind": {
      -                "const": "claude-code",
      -                "type": "string"
      -              },
      -              "native": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "condition": {
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "durationMs": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "iterations": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "met": {
      -                    "const": false,
      -                    "type": "boolean"
      -                  },
      -                  "reason": {
      -                    "type": "string"
      -                  },
      -                  "sentinel": {
      -                    "type": "boolean"
      -                  },
      -                  "tokens": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "type": {
      -                    "const": "goal_status",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "type",
      -                  "condition",
      -                  "met"
      -                ],
      -                "type": "object"
      -              },
      -              "phase": {
      -                "const": "active",
      -                "type": "string"
      -              },
      -              "reported_turns": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "kind",
      -              "phase",
      -              "native"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "current_status": {
      -                "oneOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "elapsed_display": {
      -                        "maxLength": 64,
      -                        "pattern": "^(?:\\d+s|\\d+m[0-5]\\ds|\\d+h[0-5]\\dm)$",
      -                        "type": "string"
      -                      },
      -                      "phase": {
      -                        "enum": [
      -                          "Idle",
      -                          "Planning",
      -                          "Executing"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "source": {
      -                        "const": "/goal status",
      -                        "type": "string"
      -                      },
      -                      "status": {
      -                        "enum": [
      -                          "Active",
      -                          "UserPaused"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "tokens_used": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": -9007199254740991,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "source",
      -                      "status",
      -                      "phase",
      -                      "tokens_used",
      -                      "elapsed_display"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "budget_display": {
      -                        "maxLength": 128,
      -                        "minLength": 1,
      -                        "type": "string"
      -                      },
      -                      "elapsed_display": {
      -                        "maxLength": 64,
      -                        "pattern": "^(?:\\d+s|\\d+m[0-5]\\ds|\\d+h[0-5]\\dm)$",
      -                        "type": "string"
      -                      },
      -                      "phase": {
      -                        "type": "null"
      -                      },
      -                      "phase_display": {
      -                        "anyOf": [
      -                          {
      -                            "maxLength": 64,
      -                            "minLength": 1,
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "source": {
      -                        "const": "goal detail",
      -                        "type": "string"
      -                      },
      -                      "status": {
      -                        "enum": [
      -                          "Active",
      -                          "Paused"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "status_display": {
      -                        "maxLength": 128,
      -                        "minLength": 1,
      -                        "type": "string"
      -                      },
      -                      "tokens_used": {
      -                        "type": "null"
      -                      }
      -                    },
      -                    "required": [
      -                      "source",
      -                      "status",
      -                      "phase",
      -                      "tokens_used",
      -                      "status_display",
      -                      "phase_display",
      -                      "budget_display",
      -                      "elapsed_display"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "kind": {
      -                "const": "grok-cli",
      -                "type": "string"
      -              },
      -              "native": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "classifier_runs_attempted": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "classifier_stall_count": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "consecutive_not_achieved": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "created_at": {
      -                    "format": "date-time",
      -                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                    "type": "string"
      -                  },
      -                  "current_subagent_id": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "current_subagent_role": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "elapsed_ms": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "evaluator_blocked_streak": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "goal_id": {
      -                    "format": "uuid",
      -                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                    "type": "string"
      -                  },
      -                  "history": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "detail": {
      -                          "type": "string"
      -                        },
      -                        "event": {
      -                          "type": "string"
      -                        },
      -                        "timestamp": {
      -                          "format": "date-time",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "timestamp",
      -                        "event"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "last_session_tokens_seen": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "last_strategist_fired_at": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "objective": {
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "parent_tokens_spent": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "phase": {
      -                    "enum": [
      -                      "Idle",
      -                      "Planning",
      -                      "Executing"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "rounds_since_verify": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "status": {
      -                    "enum": [
      -                      "active",
      -                      "user_paused"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "strategist_cap_bonus": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "token_baseline": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "token_budget": {
      -                    "exclusiveMinimum": 0,
      -                    "maximum": 9007199254740991,
      -                    "type": "integer"
      -                  },
      -                  "tokens_used_high_water": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "total_verify_rounds": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "total_worker_rounds": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "verifier_id": {
      -                    "minLength": 1,
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "goal_id",
      -                  "objective",
      -                  "status",
      -                  "phase",
      -                  "token_budget",
      -                  "elapsed_ms",
      -                  "created_at",
      -                  "current_subagent_id",
      -                  "current_subagent_role",
      -                  "total_worker_rounds",
      -                  "total_verify_rounds",
      -                  "token_baseline",
      -                  "tokens_used_high_water",
      -                  "parent_tokens_spent",
      -                  "last_session_tokens_seen",
      -                  "history",
      -                  "evaluator_blocked_streak",
      -                  "verifier_id",
      -                  "classifier_runs_attempted",
      -                  "rounds_since_verify",
      -                  "classifier_stall_count",
      -                  "consecutive_not_achieved",
      -                  "last_strategist_fired_at",
      -                  "strategist_cap_bonus"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "kind",
      -              "native",
      -              "current_status"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      }
      -    ]
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "createdAt": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "objective": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "active",
      +              "paused",
      +              "blocked",
      +              "usageLimited",
      +              "budgetLimited",
      +              "complete"
      +            ],
      +            "type": "string"
      +          },
      +          "threadId": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "timeUsedSeconds": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "tokenBudget": {
      +            "anyOf": [
      +              {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "tokensUsed": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "updatedAt": {
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "threadId",
      +          "objective",
      +          "status",
      +          "tokenBudget",
      +          "tokensUsed",
      +          "timeUsedSeconds",
      +          "createdAt",
      +          "updatedAt"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "oneOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "kind": {
      +                "const": "codex-cli",
      +                "type": "string"
      +              },
      +              "native": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "createdAt": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "objective": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "status": {
      +                    "enum": [
      +                      "active",
      +                      "paused",
      +                      "blocked",
      +                      "usageLimited",
      +                      "budgetLimited",
      +                      "complete"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "threadId": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "timeUsedSeconds": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "tokenBudget": {
      +                    "anyOf": [
      +                      {
      +                        "exclusiveMinimum": 0,
      +                        "maximum": 9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "tokensUsed": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "updatedAt": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "threadId",
      +                  "objective",
      +                  "status",
      +                  "tokenBudget",
      +                  "tokensUsed",
      +                  "timeUsedSeconds",
      +                  "createdAt",
      +                  "updatedAt"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "native"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "kind": {
      +                "const": "claude-code",
      +                "type": "string"
      +              },
      +              "native": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "condition": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "durationMs": {
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "iterations": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "met": {
      +                    "const": false,
      +                    "type": "boolean"
      +                  },
      +                  "reason": {
      +                    "type": "string"
      +                  },
      +                  "sentinel": {
      +                    "type": "boolean"
      +                  },
      +                  "tokens": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "type": {
      +                    "const": "goal_status",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "condition",
      +                  "met"
      +                ],
      +                "type": "object"
      +              },
      +              "phase": {
      +                "const": "active",
      +                "type": "string"
      +              },
      +              "reported_turns": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "phase",
      +              "native"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "current_status": {
      +                "oneOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "elapsed_display": {
      +                        "maxLength": 64,
      +                        "pattern": "^(?:\\d+s|\\d+m[0-5]\\ds|\\d+h[0-5]\\dm)$",
      +                        "type": "string"
      +                      },
      +                      "phase": {
      +                        "enum": [
      +                          "Idle",
      +                          "Planning",
      +                          "Executing"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "source": {
      +                        "const": "/goal status",
      +                        "type": "string"
      +                      },
      +                      "status": {
      +                        "enum": [
      +                          "Active",
      +                          "UserPaused"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "tokens_used": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": -9007199254740991,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "source",
      +                      "status",
      +                      "phase",
      +                      "tokens_used",
      +                      "elapsed_display"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "budget_display": {
      +                        "maxLength": 128,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "elapsed_display": {
      +                        "maxLength": 64,
      +                        "pattern": "^(?:\\d+s|\\d+m[0-5]\\ds|\\d+h[0-5]\\dm)$",
      +                        "type": "string"
      +                      },
      +                      "phase": {
      +                        "type": "null"
      +                      },
      +                      "phase_display": {
      +                        "anyOf": [
      +                          {
      +                            "maxLength": 64,
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "source": {
      +                        "const": "goal detail",
      +                        "type": "string"
      +                      },
      +                      "status": {
      +                        "enum": [
      +                          "Active",
      +                          "Paused"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "status_display": {
      +                        "maxLength": 128,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "tokens_used": {
      +                        "type": "null"
      +                      }
      +                    },
      +                    "required": [
      +                      "source",
      +                      "status",
      +                      "phase",
      +                      "tokens_used",
      +                      "status_display",
      +                      "phase_display",
      +                      "budget_display",
      +                      "elapsed_display"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "kind": {
      +                "const": "grok-cli",
      +                "type": "string"
      +              },
      +              "native": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "classifier_runs_attempted": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "classifier_stall_count": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "consecutive_not_achieved": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "created_at": {
      +                    "format": "date-time",
      +                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                    "type": "string"
      +                  },
      +                  "current_subagent_id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "current_subagent_role": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "elapsed_ms": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "evaluator_blocked_streak": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "goal_id": {
      +                    "format": "uuid",
      +                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +                    "type": "string"
      +                  },
      +                  "history": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "detail": {
      +                          "type": "string"
      +                        },
      +                        "event": {
      +                          "type": "string"
      +                        },
      +                        "timestamp": {
      +                          "format": "date-time",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "timestamp",
      +                        "event"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "last_session_tokens_seen": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "last_strategist_fired_at": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "objective": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "parent_tokens_spent": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "phase": {
      +                    "enum": [
      +                      "Idle",
      +                      "Planning",
      +                      "Executing"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "rounds_since_verify": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "status": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "strategist_cap_bonus": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "token_baseline": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "token_budget": {
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 9007199254740991,
      +                    "type": "integer"
      +                  },
      +                  "tokens_used_high_water": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "total_verify_rounds": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "total_worker_rounds": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "verifier_id": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "goal_id",
      +                  "objective",
      +                  "status",
      +                  "phase",
      +                  "token_budget",
      +                  "elapsed_ms",
      +                  "created_at",
      +                  "current_subagent_id",
      +                  "current_subagent_role",
      +                  "total_worker_rounds",
      +                  "total_verify_rounds",
      +                  "token_baseline",
      +                  "tokens_used_high_water",
      +                  "parent_tokens_spent",
      +                  "last_session_tokens_seen",
      +                  "history",
      +                  "evaluator_blocked_streak",
      +                  "verifier_id",
      +                  "classifier_runs_attempted",
      +                  "rounds_since_verify",
      +                  "classifier_stall_count",
      +                  "consecutive_not_achieved",
      +                  "last_strategist_fired_at",
      +                  "strategist_cap_bonus"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "native"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      }
      +    ]
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed1 schema field changedv0.62.2
    • changedOutput schema / properties / harness / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "claude-code",
      -      "codex-cli",
      -      "grok-cli",
      -      "cursor-cli"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "claude-code",
      +      "codex-cli",
      +      "grok-cli",
      +      "cursor-cli",
      +      "antigravity-cli"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. Addedv0.61.24

TDQS

A3.6/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 mostly meets it: it discloses that clear does not stop the running turn, that resume has a state prerequisite, that editing the objective resets native usage accounting, and that user-initiated mutations require trusted host provenance. It also negates side effects ("No goal store or worker is created"). Minor gaps remain around what create does to an existing goal and whether state survives across launches.

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?

The description is a single dense paragraph with no filler sentences, and the core purpose is front-loaded in the first clause. It is slightly telegraphic — several distinct rules are semicolon-chained, which makes them harder to scan — but nothing is wasted.

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?

The tool is moderately complex (six parameters, six actions, mutation and read paths), and an output schema exists so return values need no explanation. The description covers action semantics and side effects but leaves half the parameters and the ID-format expectations undocumented, which is a meaningful gap for a tool whose scope is defined by "exact session/launch."

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters, so the description must compensate and only partially does. It adds meaning for objective (editing resets usage accounting) and implicitly for action via the clear/resume sentences, but session_id, launch_id, token_budget, and expected_thread_id receive no explanation at all, and the exact-match format expected for session/launch IDs is left entirely to the schema patterns.

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 clause states a specific verb pair plus resource and scope: "Read or manage the CLI's real goal for an exact session/launch," and the action enum in the description's per-action notes (clear, resume) confirms the read/write duality. It is clear what the tool operates on, but it never distinguishes itself from siblings such as agent_launch or agent_stop, so an agent must infer the boundary rather than being told.

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?

Usage conditions are stated per action: clear is for removing a goal without ending a turn, and resume is conditioned on the goal being paused. That is real when-to-use guidance plus a prerequisite, though there are no explicit "use X instead" pointers to sibling tools and no statement of when this tool should not be used.

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