Skip to main content
Glama

Log a decision

log_decision

Record a decision with the reasoning, the alternatives considered and who decided, so agents can find it again with recall. Shared with the workspace by default. To change a decision, record the new one with replaces set to the old entry's id: the old one is kept as superseded.

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": {
      "decision": "<decision>"
    },
    "name": "log_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
sharedNotrue: the whole workspace and its agents see it. false: only you and your agents.
sourceNoWhere it comes from: a link, a meeting, a request id and who answered it.
projectNoA label to group entries, e.g. a project or customer name.
decisionYesWhat was decided, in a sentence or two.
replacesNoThe id of a decision this one supersedes.
rationaleNoWhy.
decided_atNoWhen it was decided. Default: now.
decided_byNoWho decided: email addresses or names of people (see the people tool). Default: you.
valid_untilNoWhen it stops being true: a date (YYYY-MM-DD, valid through that day) or a date and time.
alternativesNoAlternatives considered.

Output Schema

NameRequiredDescriptionDefault
entryYes
entries_leftYes
shared_refusedYes
shared_entries_leftYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnly=false, idempotent=false, destructive=false. The description adds substantive context: entries are shared with the workspace by default (a visibility consequence annotations don't convey), and edits are non-destructive because the old entry is retained as superseded. It does not mention size limits or duplicate handling, but the core lifecycle is disclosed.

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?

Three short sentences, each doing distinct work: what is recorded, the default visibility, and the update pattern. The most decision-critical fact, the default sharing scope, appears early and nothing is repeated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 10 parameters, an output schema, and annotations covering safety, the description only needs to supply the non-schema facts: default sharing, supersede semantics, and the link to recall. All three are present, so an agent can call this correctly without further context.

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?

Schema coverage is 100%, so the schema already documents every parameter including defaults. The description still adds meaning beyond it by explaining the replaces parameter as the mechanism for a supersede workflow, which the schema's one-line 'id of a decision this one supersedes' does not frame as an edit path.

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 decision') and enumerates the content it captures (reasoning, alternatives, who decided). It also names the sibling used for retrieving it ('recall'), so an agent can place it against that tool without opening a schema.

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 explicit guidance for the edit case: to change a decision, record a new one with replaces set to the old id, rather than mutating in place. It also implies the write/read split with recall. It does not address when to prefer remember or ask_person, so it stops short of full routing 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