Skip to main content
Glama

Set goal

set_goal

Create or update a goal. Provide id to update, else insert.

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

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 establish that this is a non-read-only, non-destructive, non-idempotent mutation, so the baseline bar is lower. The description adds the important upsert semantic (id present = update) that annotations do not convey, but it omits what happens to unmentioned fields on update, required-for-insert fields, and whether anything is validated.

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 short sentences, front-loaded, with zero filler. If anything it is too terse for a 9-parameter tool, but no sentence is wasted.

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 9-parameter upsert with no output schema and no schema descriptions, the definition is thin: it clarifies the id branch but leaves field semantics, required-ness, and side effects to inference. Adequate to start a call, not adequate to call it correctly with confidence.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 9 parameters with 0% description coverage, so the description must carry the load, and it only explains `id` (its role as the update/insert switch). The other eight parameters (title, status, priority, parent_id, target_date, agent_id, brain_id, description) are self-describing names but receive no semantics at all — a real gap given the low coverage.

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 and resource ('Create or update a goal') and makes the upsert duality explicit. It does not differentiate from any sibling tool, but the purpose itself is unambiguous.

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?

It gives a concrete decision rule for the create-vs-update branch ('Provide `id` to update, else insert'), which is genuinely useful. It says nothing about when to prefer this over other tools or about prerequisites, and the 0-required-parameter upsert is left without guidance on which fields are needed for a meaningful insert.

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