Skip to main content
Glama

set_goal

DestructiveIdempotent

Create or update a goal. Create: title (+description, brain_id, agent_id, priority 1-5, target_date, parent_id). Update: pass goal_id + fields (status: active|achieved|paused|dropped). Returns { goal_id }.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoTitle of the goal
statusNoNew status
goal_idNoID of the goal
user_idNoID of the user
agent_idNoID of the agent
brain_idNoID of the brain
priorityNoPriority
parent_idNoID of the parent
descriptionNoDescription of the goal
target_dateNoTarget date of the goal (ISO date)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / brain_id / description
      Added value: +"ID of the brain"
    • addedInput schema / properties / description / description
      Added value: +"Description of the goal"
    • addedInput schema / properties / goal_id / description
      Added value: +"ID of the goal"
    • addedInput schema / properties / parent_id / description
      Added value: +"ID of the parent"
    • addedInput schema / properties / priority / description
      Added value: +"Priority"
    • addedInput schema / properties / status / description
      Added value: +"New status"
    • addedInput schema / properties / target_date / description
      Added value: +"Target date of the goal (ISO date)"
    • addedInput schema / properties / title / description
      Added value: +"Title of the goal"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description adds real context: the return payload is { goal_id }, the status transition set is active|achieved|paused|dropped, and priority is bounded 1-5. It does not explain that setting status to 'dropped' is effectively a soft delete or whether updates are reversible, which is the notable gap given destructiveHint=true.

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?

Front-loaded with the core action, then two labelled clauses and a return value — no filler. The pseudo-grammar shorthand ('title (+description, ...)') is efficient but slightly telegraphic compared to plain prose.

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 10-parameter tool with all-optional fields and no output schema, the description supplies the missing requiredness model (create needs title; update needs goal_id) and the return shape. It leaves open what user_id/agent_id/brain_id selection semantics are and whether a create without any of them is valid.

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 coverage is 100% but the per-property descriptions are thin ('Priority', 'New status'), and the schema marks zero required parameters. The description compensates by grouping which fields belong to create vs update and by supplying the priority range and status enum values that the schema omits.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific verbs (create/update) and resource (goal), and splits the two modes explicitly so an agent can tell which path it is on. The 'Create:' and 'Update:' clauses make the scope unambiguous without opening the schema.

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?

Clear conditional guidance: creating needs a title, updating needs goal_id plus fields. It does not name an alternative sibling or state when not to use this tool (e.g., deleting vs dropping via status), so it stops short of full when/when-not coverage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.