Skip to main content
Glama

Set goal

set_goal
Idempotent

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 }. Gated by agent_tool_permissions when agent_id is passed.

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
titleNo
statusNo
goal_idNo
agent_idNo
brain_idNo
priorityNo
parent_idNo
descriptionNo
target_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, so the safety profile is covered. The description adds two pieces of real value beyond that: the { goal_id } return shape and the fact that the call is gated by agent_tool_permissions when agent_id is passed. It still does not say what happens on partial updates or whether omitted fields are preserved or cleared.

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?

Dense, front-loaded and free of filler; each clause assigns parameters to a mode or discloses a return value. The parenthetical field list is slightly compressed, but nothing is redundant.

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 9-parameter, schema-0%-coverage mutation tool with no output schema, this covers the essentials: mode split, enum values, priority range, return value, and permission gating. The remaining gap is update semantics -- whether unlisted fields are cleared and what parent_id implies structurally.

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 0%, so the description must carry the parameter burden. It does well on the high-value items -- the status enum values (active|achieved|paused|dropped), the priority 1-5 range, and the create-vs-update split -- but brain_id, agent_id, parent_id, target_date and description are named without any meaning attached.

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 opens with a specific verb and resource, "Create or update a goal," and immediately splits the two modes so an agent can tell which operation it is invoking. It does not name a sibling for comparison, but its create/update framing is unambiguous on its own.

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 an explicit routing rule between the two behaviors: create with title plus optional fields, update by passing goal_id. That is genuine when-to-use guidance for the modes. It lacks any exclusion or pointer to an alternative tool, so it stops short of a 5.

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