Skip to main content
Glama

Set goal

set_goal
Idempotent

Create or update a goal. Pass id to update, omit it to create.

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
idNogoal id (omit to create)
brainNoBrain (the agent's "separate brain" for a task area) — slug or id. Omit for uncategorized.
titleNoGoal title (required on create)
statusNoactive | achieved | paused | dropped
priorityNo1..5 (1 = highest)
parent_idNoParent goal id, for a mission → objective hierarchy
descriptionNodescription
target_dateNoYYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, idempotent, non-destructive mutation, so the safety profile is covered. The description adds the create-vs-update branching behavior, but says nothing about update semantics (whether omitted fields are preserved or cleared) or any permission or rate-limit considerations.

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 sentences with no filler, and the create/update distinction is front-loaded so the agent learns the branching rule immediately.

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 eight-parameter mutation tool with no output schema, the description covers the mode switch but leaves gaps: what an update does to fields not supplied, whether a newly created goal inherits defaults, and what the call returns. Annotations offset some of this, but the definition is only minimally 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 every one of the eight parameters is already documented, including the id note 'omit to create'. The description's only parameter-relevant content duplicates that schema note rather than adding new meaning.

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 states a specific verb pair and resource ('Create or update a goal') and immediately distinguishes its two modes via the id parameter. It does not name any sibling tool, so an agent must infer from other context that goal management is distinct from set_reminder or complete_todo.

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?

'Pass id to update, omit it to create' is an explicit rule, but it governs parameter usage rather than tool selection. There is no guidance on when to use set_goal versus adjacent tools such as set_reminder or complete_todo, nor any stated prerequisites for either mode.

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.

Resources