Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

decision_record

Log architectural decisions with a title and rationale so teams can reference technical choices later. Capture context, constraints, and rejected alternatives.

Instructions

Record an architectural decision with rationale. Use to log important technical choices, design decisions, or policy changes so they can be referenced later.

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": {
      "title": "<title>",
      "rationale": "<rationale>"
    },
    "name": "decision_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags for categorization (e.g., ["architecture", "database"])
titleYesDecision title (e.g., "Use PostgreSQL instead of MongoDB")
statusNoDecision status (default: active)
projectNoProject slug to scope the decision to
rationaleYesWhy this decision was made. Include context, constraints, and reasoning.
alternativesNoAlternatives that were considered and why they were rejected

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It says the decision can be 'referenced later,' which hints at persistence, but it does not say that this is a write/create operation, that recorded decisions are likely immutable, whether the call is idempotent, or whether permissions are required. For a mutation tool with zero annotation coverage, that is a substantial gap.

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?

The description consists of two short sentences, with purpose front-loaded and no filler. The example list ('technical choices, design decisions, or policy changes') is slightly redundant, but it is mildly informative rather than wasteful.

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?

There is no output schema to describe and no annotations to supplement, and the parameters are fully documented, so the main remaining gap is lifecycle context. The description does not say that decisions are immutable or that superseding a decision requires decision_supersede. That omission makes the definition merely adequate for a six-parameter write tool.

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%: all six properties carry descriptions covering the expected content, the enum for status, and the length limits. The description adds nothing beyond the schema. A baseline 3 is appropriate because the schema does the work.

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: 'Record an architectural decision with rationale.' That is clear at first read. However, it does not mention any sibling tool such as decision_list or decision_supersede, so the agent cannot tell from the description alone how this tool differs from those.

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?

'Use to log important technical choices, design decisions, or policy changes' gives a stated trigger for using the tool and names the kinds of content it handles. The description gives no exclusions and does not say that a decision, once recorded, is changed through decision_supersede instead of through a second call to this tool. That leaves a significant workflow gap.

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