Skip to main content
Glama

Set goal

set_goal
Idempotent

Create a goal, or update one by passing 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
titleNo
statusNo
goal_idNo
agent_idNo
brain_idNo
priorityNo1 (highest) – 5 (lowest).
parent_idNo
descriptionNo
target_dateNoISO date, e.g. 2026-09-01.

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 safety and repeat-call behavior are covered by structured data. The description adds the upsert-style behavior (same tool creates or updates based on goal_id), which is genuine value beyond annotations, but says nothing about whether an update is a partial patch or a full replace, nor about permissions or failure behavior.

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?

A single well-formed sentence with no filler, and the create/update split is front-loaded. It is not padded, though given nine undocumented parameters it errs toward under-specification rather than true conciseness.

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 9-parameter mutation tool with no output schema and zero required parameters, the description is far too thin — an agent cannot tell what a minimal valid create looks like, what fields an update touches, or what happens to unspecified fields. Annotations cover the safety profile, but the operational contract remains unstated.

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 22% across 9 parameters, so the description must compensate and does not — it explains only goal_id's role. Nothing is said about brain_id, agent_id, parent_id, title, status transitions, or whether a create call with zero required fields is even valid, leaving most parameters semantically opaque.

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 a goal') and explicitly names the two operating modes, distinguishing create from update by the presence of goal_id. Sibling differentiation is absent, but the siblings listed are largely unrelated domain-setters, so the tool's identity is still clear.

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 clause 'or update one by passing goal_id' implicitly tells the agent which mode applies, which is real guidance for mode selection. However, there is no guidance on prerequisites, when this tool is preferable to other goal-management operations, or whether create requires certain fields — leaving the agent to infer the rest.

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