Skip to main content
Glama
decisionnode

decisionnode/DecisionNode

Official

add_decision

Record coding standards, architectural decisions, and technical choices during development conversations. Captures rationale and constraints to build searchable project knowledge bases.

Instructions

Call this IMMEDIATELY when user says phrases like: "Let's use...", "From now on...", "Always do...", "Never do...", "I prefer...", "The standard is...", "We should always...", or confirms ANY technical approach. Also call when: (1) A design pattern is established, (2) An architectural choice is made, (3) Coding standards are discussed, (4) UI/UX conventions are agreed, (5) Technology stack decisions happen. Capture decisions DURING the conversation, not after. Focus on WHY, not just WHAT.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYesCategory: UI, Backend, API, Architecture, Database, Security, Testing, DevOps, Styling, Performance
decisionYesClear statement of what was decided (be specific and actionable)
rationaleYesWhy this decision was made - this is crucial for future context
constraintsYesSpecific rules or requirements to follow
globalNoSet to true to create a global decision that applies across ALL projects (e.g., "always use TypeScript strict mode", "never commit .env files")
forceNoSet to true to skip conflict detection and add the decision even if similar ones exist. Use after reviewing the conflicts returned by a previous add_decision call.
projectYesThe workspace folder name
Behavior3/5

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

No annotations provided, so description carries full burden. It mentions persistence ('future context') and implies conflict detection exists (via the 'force' parameter reference to conflicts), but fails to explain the conflict resolution flow, idempotency, or what the tool returns when conflicts are detected. Adequate but incomplete 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with bold front-loading ('Call this IMMEDIATELY'), followed by trigger phrases, numbered scenarios, and timing guidance. Every sentence serves a distinct purpose (triggers, scenarios, timing, content). Slightly verbose but no waste given the complexity of the triggering conditions.

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

Completeness4/5

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

Given the 7-parameter schema with 100% coverage and no output schema, the description provides strong contextual completeness for when/why to invoke. Minor gap: could briefly acknowledge the conflict detection behavior implied by the 'force' parameter, though this is partially covered in the schema itself.

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?

While schema coverage is 100%, the description adds semantic value by mapping usage concepts to parameters: 'Focus on WHY' guides the rationale parameter, 'Clear statement' guides the decision parameter, and the trigger scenarios guide the scope parameter. This helps the agent understand not just what parameters exist, but how to populate them based on conversation context.

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 explicitly states the tool captures/creates decisions when users express preferences or make technical choices, using specific trigger phrases ('Let's use...', 'Always do...'). It clearly distinguishes this creation tool from siblings (get_decision, list_decisions, search_decisions) which are retrieval operations.

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

Usage Guidelines5/5

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

Excellent explicit guidance: lists specific trigger phrases, enumerates five concrete scenarios (design patterns, architectural choices, coding standards, UI/UX conventions, technology stack), specifies timing ('DURING the conversation, not after'), and content focus ('Focus on WHY, not just WHAT').

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/decisionnode/DecisionNode'

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