Skip to main content
Glama

create_or_update_decisions

Document project decisions by creating or updating a structured decision log. Capture context, trade-offs, and rationale for architecture choices to maintain a clear project history.

Instructions

Creates or updates the DECISIONS.md file in .project/ directory. Use this when documenting architecture decisions, trade-offs, or rationale. Helps maintain a decision log for the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe decision content to add. Should include the decision, context, trade-offs, and rationale.
decisionTitleNoOptional: Title for the decision entry. If not provided, will extract from content or use a timestamp.
replaceNoIf true, replaces the entire file. If false (default), merges with existing content.
Behavior2/5

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

With no annotations, the description must convey behavioral traits. It states 'creates or updates' but does not disclose potential destructive behavior (e.g., replacing the file) unless reading the replace parameter. No mention of side effects, auth requirements, or impact on existing content.

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?

Two clear sentences that are front-loaded and easy to parse. No wasted words, though could be slightly more concise.

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 the tool has 3 well-described parameters and no output schema, the description adequately explains purpose but lacks details on file format, creation behavior for missing files, and differentiation from similar siblings. It is minimally complete.

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?

The input schema has 100% coverage with detailed descriptions for all parameters. The tool description adds no additional meaning beyond what the schema provides, so baseline 3 is appropriate.

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 clearly states the tool creates or updates a DECISIONS.md file in .project/ directory for documenting architecture decisions, trade-offs, or rationale. It is specific about the verb and resource, but does not explicitly differentiate from sibling 'add_decision'.

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?

The description gives a clear use case ('when documenting architecture decisions...') but does not mention when to use alternatives like 'add_decision' or when not to use this tool. Provides context but no exclusions.

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