Skip to main content
Glama

Set goal

set_goal
Idempotent

Create a goal, or update one if goalId is provided. Goals sit above todos — link a todo's goalId to show it advances a goal.

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": "set_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
goalIdNo
statusNo
agentIdNo
brainIdNo
parentIdNo
priorityNo
targetDateNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety and repeatability profile needs no prose. The description usefully discloses the create-vs-update duality, but is silent on partial-update semantics — with nine optional fields it is unclear whether supplying goalId plus title overwrites unspecified fields or leaves them intact.

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?

Two tight sentences with the primary behavior front-loaded and zero filler. The second sentence is slightly off-axis — it describes how a todo references a goal rather than what this call does — but it still earns its place by explaining goalId's cross-tool meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with nine undocumented parameters, no output schema and only one required field, the description leaves too much unstated: partial-update behavior, the meaning of status/priority/parentId, and what is returned. It is adequate for picking the tool but thin for invoking it correctly.

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 nine parameters, so the description carries the full explanatory burden, yet it only clarifies goalId. Status, priority, targetDate, parentId, agentId, brainId and description get no explanation of format, allowed range, or effect anywhere.

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?

States a specific verb plus resource ('Create a goal') and immediately adds the upsert condition ('or update one if goalId is provided'), so the agent knows this is a single create-or-update entry point. It does not name siblings such as goal_seek or create_todo, so differentiation is left implicit.

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?

The description gives a clear conditional rule (omit goalId to create, supply it to update), which is genuine when-to-use guidance for the two modes. It offers no guidance on when to use this versus goal_seek or the todo tools, and no prerequisites or exclusions.

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