Skip to main content
Glama

Save decision

save_decision

Records a decision for a claimed goal so it survives context compression, and lets you reword or remove it later by ID.

Instructions

Record a choice made for a claimed Goal along the way, such as 'old models get thinking on/off only', so it survives context compression; get_status shows it with its ID (c1, c2...). With id: reword it, or remove it with an empty text. Not for lasting project rules (save_standing_instruction) or project-wide background (update_context).

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": {
      "text": "<text>"
    },
    "name": "save_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA decision's ID, such as 'c2', to change it; leave out to add one.
goalNoThe claimed Goal's ID, such as 'ship-oauth-login'. Needed only when this Session holds several Goals.
textYesThe decision, in one line; with id, empty removes it.
projectNoAnother project's plan to use instead of this one's: its name or ID on the dashboard, or its folder's full path. Changes there are marked as made from this project. Leave out for this project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Without annotations, the description carries the full behavioral burden. It discloses persistence across context compression, the ID format returned by get_status (c1, c2...), and that passing an id rewrites or removes. It does not cover failure modes such as an unknown id, so it falls short of full transparency.

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?

Front-loads the core action and keeps to a few dense sentences, but packs the add, edit, delete, and exclusion rules into semicolon clauses. It is efficient overall, with mild compression in the get_status parenthetical.

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 four-parameter mutation tool with no annotations or output schema, it covers creation, editing, deletion, goal scoping, and cross-project targeting. The only gap is behavior when an id is invalid or a goal cannot be resolved.

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 100%, so the baseline is 3. The description reinforces that id rewording or empty-text removal deletes an entry and gives ID examples, but adds little beyond the schema, which already explains goal scoping and the cross-project parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: record a choice made for a claimed Goal, and distinguishes the add, reword, and remove modes. It also distinguishes itself from save_standing_instruction and update_context by naming those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Says when to use (a choice made along the way that must survive context compression) and when not to (lasting project rules, project-wide background), naming the alternatives. The condition for supplying an id is explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.