Skip to main content
Glama

record_decision

Persist Architecture Decision Records (ADRs) to document technical choices, track lifecycle status, and link decisions to code entities for better project governance.

Instructions

Persist an Architecture Decision Record (ADR) to the code graph. Supports supersession, lifecycle status, and immediate entity links.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspace_idYesWorkspace to store the decision in
slugYesShort identifier, e.g. "adr-007" — must be unique per workspace
titleYesOne-line decision title
statusNoDecision lifecycle statusproposed
contextYesBackground: why this decision was needed
decisionYesThe actual decision that was made
consequencesYesTrade-offs, implications, follow-on work
decided_atNoISO-8601 datetime when decision was finalized
superseded_by_idNoID of an OLDER decision that this new one supersedes. The older decision will be marked "superseded".
linksNoEntities this decision directly affects — can be added later with link_decision
Behavior2/5

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

With no annotations, the description carries full burden. It mentions 'Persist' (implies write/mutation) and 'Supports supersession' (implies updates to older records), but lacks critical behavioral details: whether this creates or updates records, authentication/permission requirements, rate limits, error handling, or what happens on success/failure. The description is insufficient for a mutation tool with 10 parameters.

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 concise sentences with zero waste. The first sentence states the core purpose, and the second lists key features—each word earns its place. It's front-loaded with the main action and efficiently structured.

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

Completeness2/5

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

For a complex mutation tool with 10 parameters, no annotations, and no output schema, the description is incomplete. It lacks behavioral transparency (e.g., side effects, permissions), usage guidelines, and output expectations. While the schema covers parameters well, the description doesn't compensate for missing context about how the tool behaves or what it returns.

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 schema fully documents all 10 parameters. The description adds minimal value beyond the schema—it mentions 'supersession' (hinting at 'superseded_by_id'), 'lifecycle status' (hinting at 'status'), and 'immediate entity links' (hinting at 'links'), but doesn't provide additional syntax, format, or usage context. Baseline 3 is appropriate given the comprehensive 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?

The description clearly states the verb ('Persist') and resource ('Architecture Decision Record to the code graph') with specific capabilities ('Supports supersession, lifecycle status, and immediate entity links'). It distinguishes from siblings like 'get_decisions_for' (read) and 'link_decision' (add links later) by emphasizing creation/persistence with advanced features.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives. It mentions 'can be added later with link_decision' for links, but doesn't clarify when to use 'record_decision' versus 'create_architecture' or 'record_contract' for different artifact types, or prerequisites like needing a workspace.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rdanieli/tentra-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server