Skip to main content
Glama

Set goal

set_goal
Idempotent

Create or update a goal (the "why" above todos). Omit goal_id to create; pass it to update. Link todos to a goal via create_todo/update_todo's goal.

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_idNoUpdate this goal (omit to create).
agent_idNo
priorityNo1 (low) .. 5 (high), default 3.
parent_idNoParent goal (hierarchy).
category_idNo
descriptionNo
target_dateNoISO date.
category_slugNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds the dual-mode create/update behavior that is not expressed in annotations. It does not say whether an update is partial or a full replacement, nor what permissions are needed, which are the main remaining behavioral gaps.

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 compact sentences, with the create-vs-update rule front-loaded ahead of the secondary linking hint. No filler or restatement of the title.

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 a 10-parameter tool with 40% schema coverage and no output schema, the description leaves several parameters (status values, category_id vs category_slug, parent_id hierarchy) unexplained in both schema and prose. The linking hint helps orientation but does not close the parameter gaps.

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 only 40%, so the description must compensate, but it only restates goal_id (already documented in the schema) and says nothing about title, status, agent_id, description, target_date, or the confusing category_id vs category_slug pair. The only extra meaning added is the todo-linking convention.

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 and resource ('Create or update a goal') and adds a conceptual anchor ('the "why" above todos') so the agent knows this is an objective, not a task. It does not distinguish itself from similarly named siblings such as set_participant_goal or update_participant_goal, which keeps it out of 5 territory.

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?

Gives an explicit mode-selection rule: 'Omit goal_id to create; pass it to update.' It also routes the agent to the correct companion tools for the related job ('Link todos to a goal via create_todo/update_todo's goal'). No exclusions against other goal-related siblings are stated.

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