Skip to main content
Glama

add_decision

Capture architecture decisions by adding structured ADRs to DECISIONS.md with title, context, decision, and consequences sections.

Instructions

Adds a single architecture decision record (ADR) to DECISIONS.md. Creates a structured entry with title, context, decision, and consequences sections.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesTitle of the decision (e.g., "Use PostgreSQL for primary database").
contextNoThe context and problem statement that led to this decision.
decisionYesThe decision that was made.
consequencesNoThe positive and negative consequences of the decision.
statusNoStatus of the decision. Default: "accepted".accepted
tagsNoTags for categorization (e.g., ["database", "infrastructure"]).
Behavior3/5

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

No annotations provided, so the description must disclose behaviors. It states the tool writes to a file and creates structured sections, but does not mention whether it appends or overwrites, error conditions, or if it modifies existing entries. Gaps remain for a write operation.

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 sentences with no wasted words. The first sentence front-loads the action and target, the second adds detail on structure. Ideal conciseness.

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?

Given 6 parameters, no output schema, and no annotations, the description covers purpose and structure but lacks usage guidelines, behavioral transparency, and parameter cooperation details. It is minimally adequate but could provide more context for effective use.

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 baseline is 3. The description adds context by grouping params into sections (title, context, decision, consequences) but does not elaborate on individual parameter semantics beyond the existing schema descriptions.

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 states a specific verb ('Adds') and resource ('architecture decision record to DECISIONS.md'), clearly distinguishing it from sibling tools like 'get_decision' (read) and 'create_or_update_decisions' (update/upsert).

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 like 'create_or_update_decisions' or 'list_decisions'. The context implicitly suggests it's for adding new records, but no when-not-to-use or prerequisites are provided.

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/pouyanafisi/project-mcp'

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