Skip to main content
Glama

Update a decision

update_decision
Destructive

Edit a recorded decision's wording or move its lifecycle along (PROPOSED → ACCEPTED, or mark SUPERSEDED/DEPRECATED when replaced), with at least one field. Same human-ratification contract as create_decision: lifecycle moves reflect what a human decided. MANAGER+ required.

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": {
      "workspace": "<workspace>",
      "project": "<project>",
      "decisionId": "<decisionId>"
    },
    "name": "update_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoThe decision in one line, as a human would name it
statusNoLifecycle: ACCEPTED is current truth (the default), PROPOSED awaits ratification, SUPERSEDED/DEPRECATED are history an agent must not follow
contextNoWhy the decision exists: the constraint, incident, or product call behind it
projectYesProject slug or id
decisionNoWhat was decided, stated so an agent can act on it without asking again
workspaceYesWorkspace slug or id
decisionIdYesDecision id (uuid): list_decisions returns these

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely new behavioral facts: a MANAGER+ permission gate, the 'at least one field' requirement, and a human-ratification contract meaning lifecycle moves must reflect a human decision. It leaves the destructiveHint unexplained, since nothing here describes deletion or whether a transition can be undone.

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, front-loaded with the action and its modes, followed by the constraint and the permission requirement. No filler and no restatement of the title.

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 7-parameter mutation tool with no output schema, it covers permissions, the partial-update constraint, and the lifecycle contract. Remaining gaps are modest: reversibility of status transitions and confirmation of partial-update behavior for omitted fields.

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 coverage is 100%, so the per-field semantics (including the status enum's meaning) are already documented. The description contributes one real cross-field constraint the schema cannot express ('with at least one field'), which raises it slightly, but otherwise the parameter meaning is fully carried by the schema.

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 ('Edit a recorded decision') plus the two edit modes: wording changes and lifecycle moves with named target states (PROPOSED → ACCEPTED, SUPERSEDED/DEPRECATED). It also names create_decision as the related sibling for the ratification contract, so an agent can separate it from create/read operations.

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 clear context for when to use it: wording edits, ratification moves, and marking a decision replaced. It does not explicitly exclude read-only cases (e.g., 'use read_decision to inspect') and does not say whether an already-ACCEPTED decision can be moved again, so it stops short of full when/when-not guidance.

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